05 - Assignment Module DDD
05 - Assignment Module DDD
CL/HNDCOM/80/45
2017-11-24 2018-01-30
Assessment type Duration/Length of Weighting of Assessment
Reports 5000 Words Assessment Type 100%
One Month
Learner declaration
I certify that the work submitted for this assignment is my own and research sources are fully
acknowledged.
Marks Awarded
First assessor
IV marks
Agreed grade
FEEDBACK FORM
INTERNATIONAL COLLEGE OF BUSINESS & TECHNOLOGY
1|Page
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Module/Title: Database Design and Development /Design a Database Management System for a
Library
Student:
Assessor: Upeka Wijesinghe
Assignment:
Marks Awarded:
<Assessment Type>
2|Page
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
The Institute of PG Technology has the biggest library in New Plymouth. Currently it has
about 200 members. Currently all the functions of the library are done manually. They have
plan to expand the library by adding new sections so now management has planned to
automate the library management system, in order to provide its members better services to
reduce the work load of the staff.
Assume that you are the database engineer of Creative Vision information technology (IT)
services, company providing IT solutions worldwide. Now they are developing automated
library system for a PG Technology. As a data base engineer your responsibility is to design
and implement a robust Database System for above mentioned library.
Library has different units such as computing, management, English etc. There are number of
books under different categories. There are number of book copies for one book (book title).
Any person who joins PG Technology can become a member buy paying member fee.
After doing the fact finding part development team has identified that below mentioned
information’s to be stored in the system.
Author’s information such as author id, first name last name, contact information, and
publishers information Pub id, Name, Street, City. Unit is identified by unit id, unit
description is stored in the system. Category id and name, Book title should contains Call
number, Title, Price, and Availability (y or n) as its attributes. Member should have Member
id, Name, City, Member type, Member date (date of membership), Expiry date. Member can
borrow book copy issue date and return date should be mentioned for specific member.
Member can reserve book title request date and ref number is mentioned for that member.
Book copy contains access id and edition
Students can add any functionality which will enhance the system and make the proposed
solution more comprehensive.
Use Harvard referencing to properly acknowledge all the external sources you use.
Tasks:
Design the database with the constraint that the available technology is relational.
1. Explain what is data model, Critically compare different data models and explain why
older data models are being replaced by new data models.(LO1) (10 Marks)
3|Page
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
. (LO1) (5 Marks)
3. Analyze and briefly explain the different approaches to database design. (LO1) (5
Marks)
4. Draw an entity relationship diagram for given scenario with proper standards. Identify
important keys and represent different types of attributes and relationships. (LO2) (10
Marks)
5. Draw Relational Schemas. Effectively map conceptual data models with relational
database schema according to the mapping algorithm. All the steps should be clearly
mentioned. (LO2) (10 Marks)
7. Write 10 sql queries for given requirements using SELECT Statements.( LO3) (5 Marks)
8. Generate the suitable management reports for database by using graphical format. (LO3)
(5 Marks)
9. Explain the purpose and benefits of having queries in the database for a company decision
making process with the examples .(LO3) (10 Marks)
10. Provide the Test plan, test strategy and proper test cases and provide all the test
documents. (LO4) (10 Marks)
11. Create the user manual for the database. (LO4) (5 Marks)
12. Explain how verification and validation has addressed in your data base and the access
rights to various types of users. (LO4) (5 Marks)
4|Page
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Assessment Criteria
5|Page
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
manual
(Logical flow of contents in the
document, descriptive user
manual.)
TASK 2 5
TASK 3 5
TASK 4 10
TASK 5 10
TASK 6 10
TASK 7 5
TASK 8 5
TASK 9 10
TASK 10 10
TASK 11 5
TASK 12 5
TASK 13 10
Total Marks 100
6|Page
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
7|Page
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Marking Scheme
Marks
Criteria
Out of 10
Fail
Not explained the data model. Not compared enough data
models .Not given proper reasons for the replacement. 0-4
Pass
Explained the data model. Compared minimum 3 data models. Not
4-6
provided enough/Proper reasons to replace the older data models
Good
Explained the data model. Compared minimum 5 data models. 6-7
Provided proper reasons to replace the older data models
Excellent
Well explained about the data model. Critically compared different
7-10
5 data models. Well explained why the older data models are being
replaced by new data models
8|Page
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Marks
Criteria
Out of 5
Fail
Provided a poor explanation. Not provided the enough examples 0-1
Pass
Provided a brief explanation of different database technologies 1-3
Excellent Design
Critically explained the benefits and limitations of different
database technologies with proper examples 4-5
9|Page
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Marks
Criteria
Out of 5
Fail
Not analyse properly the different approaches. Not explain the
0-1
different approaches
Pass
Analysed the different approaches. Not provided the proper
1-3
explanation.
Average / Good
Analysed the different approaches using enough features. Provided
3-4
the proper explanation with examples
Excellent Design
Well Analyzed and briefly explained the different approaches to 4-5
database design with proper examples and figures also.
Marks
Criteria
Out of 10
Fail
Poor logical database design.
Include incorrect Entities
Include incorrect Attributes and Relationships 0-4
Not used proper /standard symbols
Pass
Develop a logical database design.
Entity Relationship Diagram
4-6
Identification of correct Entities
Identification of correct Attributes and Relationships
10 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Excellent Design
Highly detailed diagram
Backed by relevant assumptions
ERD with cardinality and attributes with proper
standard symbols
Proper theories and techniques need to apply in
7-10
ERD
Use Chen & Martin notations for ERD
Marks
Criteria
Out of 10
Fail
In correct Relational Schema
Not identified the correct Entities Attributes and 0-4
Relationships
Pass
Relational Schema
Identification of correct Entities 4-6
Identification of correct Attributes and Relationships
Average Design/Good
Excellent Design
Relational Schema with proper standard symbols
11 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Criteria Marks
Out of 10
Excellent 7-10
Appropriate use of more sophisticated database features (e.g.
use of stored procedures / functions / triggers to implement
business rules)
Database design being proposed to facilitate requirements
Provided the relevant assumptions
Good 6-7
Make a good attempt to follow the Relational Database
Model including proper database objects
Provide More accurate database design
Pass 4-6
Provide a Basic Database Design with minor mistakes
including enough database objects (simple design)
Fail 0-4
Provide a poor Database Design with mistakes
Not work with enough database objects
12 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Criteria Marks
Out of 5
Excellent 4-5
Produce the Professional standard
Management Reports with
Quarries which assist managers in
making decision and
using MS SQL Report builder tool with
screen shots
Good 3-4
High standard of Management Reports
with
Quarries with screen shots
Pass 1-3
Acceptable standard of Management
Reports with Queries
Fail 0-1
Not provide Management Reports with
proper criteria.
Not provide enough reports
Criteria Marks
Out of 10
Excellent 7-10
Detailed Explanation of having queries in Database
Well-structured proper queries to facilitate the requirements
Provided the relevant Examples
Good 6-7
Well explained the purpose and benefits,
Provided the examples
0-4
Fail
13 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Criteria Marks
Out of 10
Excellent 7-10
Detailed Test Plan
Provided the Test Strategy and Proper test cases
Provided all the test documents with proper test
data
Good 6-7
Provided Correct Test Plan and Test Cases
with enough test data
Fail 0-4
Not provide the proper test documents , Not
provide enough test data
Criteria Marks
Out of 5
Excellent 4-5
Good 3-4
14 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Pass 1-3
Criteria Marks
Out of 5
Excellent 4-5
Provided and well explained the applied
verification and validation process with the relevant
examples ,
Criteria Marks
Out of 10
Excellent 7-10
Professional standard of documentation
with screen shots & good explanation
15 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Good 6-7
Submission Guidelines
Submission format Report
Paper Size: A4
Words: 3000 words
Printing Margins: LHS; RHS: 1 Inch
Binding Margin: ½ Inch
Header and Footer: 1 Inch
Basic Font Size: 12
Line Spacing: 1.5
Font Style: Times New Roman
Referencing should be done strictly using Harvard system
16 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Contents
Data Models.........................................................................................................................19
What is a data model?......................................................................................................19
Types of data models...........................................................................................................19
Relational model..............................................................................................................19
Hierarchical model...........................................................................................................19
Network model.................................................................................................................20
Object oriented database model.......................................................................................20
Object relational model....................................................................................................20
Entity Relationship model................................................................................................20
Task 02.....................................................................................................................................21
What is a database and Database Management Systems (DBMS)?....................................21
Benefits of My SQL.........................................................................................................21
Limitations of My SQL....................................................................................................21
Benefits of Microsoft SQL server....................................................................................21
Limitations of Microsoft SQL..........................................................................................21
Task 03.....................................................................................................................................22
Centralized design................................................................................................................22
Decentralized design............................................................................................................22
Task 04.....................................................................................................................................23
Entities..................................................................................................................................23
Attributes..............................................................................................................................24
Relationships........................................................................................................................24
Primary keys.........................................................................................................................24
Task 05.....................................................................................................................................25
TASK 06..................................................................................................................................27
Task 08.....................................................................................................................................32
Task 09.....................................................................................................................................36
Task 13.....................................................................................................................................37
..................................................................................................................................................37
Conclusion................................................................................................................................38
17 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
References................................................................................................................................39
Figure 1 - ER diagram..............................................................................................................24
Figure 2....................................................................................................................................28
Figure 3....................................................................................................................................29
Figure 4....................................................................................................................................29
Figure 5....................................................................................................................................30
Figure 6....................................................................................................................................30
Figure 7....................................................................................................................................31
Figure 8....................................................................................................................................32
Figure 9....................................................................................................................................33
Figure 10..................................................................................................................................33
Figure 11..................................................................................................................................34
Figure 12..................................................................................................................................34
Figure 13..................................................................................................................................35
Figure 14..................................................................................................................................35
Figure 15..................................................................................................................................36
Figure 16..................................................................................................................................38
18 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Task 01
Data Models
A data model is an abstract model that documents in order to achieve correct data
And which data used to develop application asper, specifically how data are stored
And process. Data model is the logical structure of database. Its describes the
Design of database to reflect entities, attributes, relationship among data,
Constrains etc.
Data models formally define data elements and relationships among data elements for a
domain of interest. Data model explicitly determines the meaning of data, which in this case
is known as structured data. Typical applications of data models include database models,
design of information systems, and enabling exchange of data. Usually data models are
specified in a data modeling language. A data model can be sometimes referred to as a data
structure, especially in the context of programming languages.
Relational model
The most common model, the relational model sorts’ data into tables, also known as
relations, each of which consists of columns and rows. Each column lists an attribute of the
entity in question, such as price, zip code, or birth date. Together, the attributes in a relation
are called a domain. A particular attribute or combination of attributes is chosen as a primary
key that can be referred to in other tables, when it’s called a foreign key. Each row, also
called a tuple, includes data about a specific instance of the entity in question, such as a
particular employee. The model also accounts for the types of relationships between those
tables, including one-to-one, one-to-many, and many-to-many relationships.
Hierarchical model
The hierarchical model organizes data into a tree-like structure, where each record has a
single parent or root. Sibling records are sorted in a particular order. That order is used as the
physical order for storing the database. This model is good for describing many real-world
relationships.
19 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Network model
The network model builds on the hierarchical model by allowing many-to-many relationships
between linked records, implying multiple parent records. Based on mathematical set theory,
the model is constructed with sets of related records. Each set consists of one owner or parent
record and one or more member or child records. A record can be a member or child in
multiple sets, allowing this model to convey complex relationships.
This model defines a database as a collection of objects, or reusable software elements, with
associated features and methods. There are several kinds of object-oriented databases:
A multimedia database incorporates media, such as images, that could not be stored in a
relational database.
A hypertext database allows any object to link to any other object. It’s useful for organizing
lots of disparate data, but it’s not ideal for numerical analysis.
The object-oriented database model is the best known post-relational database model, since it
incorporates tables, but isn’t limited to tables. Such models are also known as hybrid database
models.
This hybrid database model combines the simplicity of the relational model with some of the
advanced functionality of the object-oriented database model. In essence, it allows designers
to incorporate objects into the familiar table structure.
This model captures the relationships between real-world entities much like the network
model, but it isn’t as directly tied to the physical structure of the database. Instead, it’s often
used for designing a database conceptually.
Here, the people, places, and things about which data points are stored are referred to as
entities, each of which has certain attributes that together make up their domain. The
cardinality, or relationships between entities, are mapped as well.
20 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Task 02
Benefits of My SQL
High performance.
The flexibility of open source.
Reduced total cost of ownership.
Limitations of My SQL
My SQL does not support a very larger database size very efficiently.
Transactions are not handled very efficiently.
Price – For small businesses, the price of MS SQL Server is too high because
It made to support millions of records across an enterprise.
Hardware – Newer releases of the application require more advanced
Technologies to support the resources needed by the database which also
Requires. NET framework to be also installed into the machine.
21 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Task 03
There are two approaches for developing any database, the top – down method and
The bottom – up method. While these approaches appear radically different, they
Share the common goal of uniting a system by describing all of the interaction
Between the processes.
Bottom Up Approach - This approach builds relations on the basis of the relationships
existing among individual attributes. This is not so commonly used as collecting a large
number of attributes initially can be a very complex task. This approach is also known as
Design by Synthesis.
Top Down Approach - This approach is known as Design by Analysis as it begins with
certain relations and then after some analysis, various rules and methods are applied until all
the desirable properties are met.
Centralized design
Database Management System supports different types of database system for data
organization. Distributed and Centralized database approaches are the systems which are use
for data organization. Decentralization and Parallel are other approach for data organization.
Decentralized design
22 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Task 04
Figure 1 - ER diagram
Entities
Publisher
Author
Book
Book copy
Unit
Categories
Member
23 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Member Borrow
Member Reserve
Attributes
Publisher – name, publisher ID, city, street
Author – First name, last name, author ID, phone no.
Book – book title, book price, book ID.
Book copy – access ID.
Unit – Unit description, unit ID.
Categories – Category name, category ID.
Member – Name, member ID, member type, expiry date, address.
Member Borrow – book title, ref. no, request date, issued date, return date.
Relationships
Author and Publisher – One to One
Categories and Book – Many to One
Member and Book – One to Many
Book and Book Copy – Many to Many
Member And Member Borrow – Many to Many
Unit and Categories – Many to Many
Primary keys
Publisher – Publisher ID
Author – Author ID
Book – Book ID
Unit – Unit ID
Categories – Category ID
Member – Member ID
24 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Task 05
25 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Category
Category ID name
Category
Category ID name
26 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
TASK 06
Figure 2
27 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Figure 3
Figure 4
28 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Figure 5
29 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Figure 6
Figure 7
30 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Figure 8
31 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Task 08
Member
Figure 9
Access ID
Figure 10
32 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Publisher
Figure 11
Units
Figure 12
33 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Category
Figure 13
Author
Figure 14
34 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Title
Figure 15
35 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Task 09
36 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Task 13
Figure 16
37 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
Conclusion
For this Assignment, I have gathered information from Internet and Books. In addition, I
convert all that information into my words to put in this. I mentioned the References and
picture figures for the requirements what I gathered. I have put my full effort to finish this
assignment, and it was a good experience to me. I am very Thankful to ICBT College and My
lecture Mrs. Upeka for giving me a good knowledge.
38 | P a g e
Mohammed Faizer Abdul Azeez
CL/HNDCOM/80/45
References
Salesforce.com, available at :
https://www.salesforce.com/form/sem/sales_customer_data.jsp?
nc=70130000000NDsr&d=7010M000002MHWX&DCMP=KNC-Bing&s_kwcid=AL!4604!
10!11622332237!25487398330&ef_id=WkO1bQAAAGNW9R-l:20180130115626:s
Accessed date [2017 – 12 -22]
39 | P a g e