Beruflich Dokumente
Kultur Dokumente
Individual Assignment
HND/N/06/10
COMPUTING BATCH 5
Database Design Concepts Statement of originality of the submitted work. I, Rajitha Tennakoon. Student ID no, HND/N/06/10. Module Name :Database Design Concepts.
Individual Assignment
I hereby confirm that the work presented here in this report and all other associated material; is wholly my own work, and I agree to assessment for plagiarism.
Signature:...................................................................................................................... Date:....................................................
Individual Assignment
Acknowledgement.
Since the inception of the information era of mankind, the usage of data storage and manage them has been a sensitive task in order to implement the database methodology with the software development & other ICT Tools, this particular module is about the Concepts of database design which is a major sector in terms of database management system so compiling this module was not that much easy, thus this module has objectives of comprehensive amount of commitment to fulfil in order to accomplish the targets. So I would like to express my first acknowledgement to our DDC lecturer Mrs Chamila Attanayake for her utmost commitment on teaching the core concepts of the module and for the guidance she gave from reviews and practical sessions, and secondly my thank goes to my parents who always encourage me for this educational pathway, finally I would thank my classmates for their help in order to eliminate doubt which I had about certain aspects in the subject & my thanks goes to all the parties that I couldnt mention , who helped me in this process Rajitha Tennakoon
Individual Assignment
Executive summery.
Concepts of the Data Base Design are the elementary requirements of database individual similar to the fundamental essentials of a human. This particular DDC unit apprehends of database management concepts of D.B.M.S in order to provide a elementary understanding about DBM. Data Base Management System is a serious point, due to the importance of the databases implement in various cases. with database environments. The use of databases in many It areas including software development System Designing Systems Analysis etc This module directs the way of create database using Ms Access with Relational D.B.M.S nature. This Ms Access provides fundamentals in contemporary D.B. making; there are models beneath this certain relational Case. Merely with comparing diverse software how they used to different D.B.M.S models have been debated in this job at the Assignment Body. The description of this relational DBMS model has been more critical, than the additional network DBMS model, Object oriented model, dimensional model etc... To get an idea about the Basics of DBMS. Tools which are used in developing these relational databases are also being discussed in the Assignment they are the Normalization methods, ER diagrams & the relational schemas are mentioned in this assignment. The ER diagrams provide a excellent level map for the database Artificer to get a proper road map to apply the relevant techniques in order to manage all the relevant techniques of the Database Creation. Typically the elementary database normalization methods are categorized to three key units; they are 1st normal form, 2nd normal form, 3rd normal form this 1NF, 2NF, 3F is mentioned in the assignment body. After spread over the normalization methods for these discoveries it is being faultlessly charted according to the mapping algorithm at relational schemas which are being justified in the Assignment Body.
Individual Assignment
Basic things about the D.B.M.S is assembled in the 1st phase of the Assignment which deliberate about the prominence about the D.B.M.S finally entire stuffs educated; is applied by the D.B.M.S documentation of the Manu Bank Inc. In there as whole everything is justified with the screen shots of the database. After all with all these things the significance of learning the Database Design Theories is being justified in a progressive way.
Individual Assignment
Contents
Acknowledgement. ........................................................................................................ 3 List of Illustrations & Diagrams. ................................................................................... 8 Figures ........................................................................................................................ 8 Tables. ........................................................................................................................ 9 Forms. ....................................................................................................................... 10 Reports. .................................................................................................................... 10 Introduction. ................................................................. Error! Bookmark not defined. 1.The Database Management System (DBMS). .......... Error! Bookmark not defined. 1.1 Importance of the Database Management Systems.Error! defined. 2.Advantages & the Disadvantages of Having Database approach for the Organization. ................................................................ Error! Bookmark not defined. 2.1 2.2 2.3 Disadvantages of Present system .................. Error! Bookmark not defined. Benefits of having a database Methodology. Error! Bookmark not defined. Drawbacks of having a database methodology.Error! Bookmark not Bookmark not
defined. 3. The New System of the Manu Bank International... Error! Bookmark not defined. 3.1 The Suitability of Selecting the MS Access for the Development of Database to the Manu Bank International. ................................... Error! Bookmark not defined. 3.1.1 Steps how to Develop the Database Using Ms Access .Error! Bookmark not defined. 3.2 The ER Diagram for the System. ...................... Error! Bookmark not defined. 3.2.1 The Relational schema. ................................... Error! Bookmark not defined.
3.2.2 The Relationship between the Branch & the Department.Error! not defined.
3.2.3 Relationship between Training Course & Training Course Attendance. .Error! Bookmark not defined. 3.2.4 Relationship between Employee & the Department.Error! defined. 3.2.5 Relationship between Employee & the Training Course.Error! not defined. 3.2.6 Relationship Between Employee & the Staff Rotation.Error! Bookmark not defined. 3.2.7 Relationship between Employee & the Project team.Error! Bookmark not defined. 3.2.8 Normalization. ................................................. Error! Bookmark not defined. 3.2.9 Quires. ............................................................. Error! Bookmark not defined. 3.2.10 Forms. ............................................................ Error! Bookmark not defined. 3.2.11 Reports. ......................................................................................................... 13 4. Comparison between D.B.M.S software available in the current market. ............... 17 5. The Test Logs. ......................................................................................................... 20 5.1 Tables ................................................................................................................. 20 5.2 Queries. .............................................................................................................. 26 5.3 Forms. ................................................................................................................. 27 5.4 Reports. .............................................................................................................. 27 5.5 User Manual of the Database of Manu Bank Inc. .............................................. 28 1st step....................................................................................................................... 28 Conclusion. ..................................................................................................................... i T.M.Rajitha.J.B. Tennakoon HND/N/06/10 HND in Computing Page 7 Bookmark Bookmark not
Individual Assignment
Individual Assignment
Individual Assignment
Figure 20 Windows Screen .......................................................................................... 28 Figure 21 Access Window. .......................................................................................... 28 Figure 22 Opening Table ............................................................................................. 29 Figure 23 PK Error....................................................................................................... 30 Figure 24 Data Type Error ........................................................................................... 30 Figure 25 Opening Queries .......................................................................................... 30 Figure 26 Opening Form .............................................................................................. 31 Figure 27 Navigation Buttons ...................................................................................... 31 Figure 28 Exit Button................................................................................................... 31 Figure 29 Save Record Button. .................................................................................... 32 Figure 30 Opening Report ........................................................................................... 32
Individual Assignment
Table 1 Database behavior at commercial & Non Commercial Environments ....Error! Bookmark not defined. Table 2 The Suitability of MS Access. ........................ Error! Bookmark not defined. Table 3 The Branch table ............................................. Error! Bookmark not defined. Table 4 The department Table ..................................... Error! Bookmark not defined. Table 5 The Employee Table ....................................... Error! Bookmark not defined. Table 6 The Project team Table ................................... Error! Bookmark not defined. Table 7 Staff Rotation table ......................................... Error! Bookmark not defined. Table 8 Training Course Attendance Table ................. Error! Bookmark not defined. Table 9 Training Course Table .................................... Error! Bookmark not defined. Table 10 Employee table Has PK of department TableError! defined. Table 11 Project Team Has the Employee Table's PK Error! Bookmark not defined. Table 12 Branch & Department Joining Table ............ Error! Bookmark not defined. Table 13 Employee & Training Course Joining Table Error! Bookmark not defined. Table 14 Database Diagram ......................................... Error! Bookmark not defined. Table 15 DBMS Comparison....................................................................................... 19 Table 16 The Employee Table Test Logs .................................................................... 20 Table 17 Branch Table Test Logs ................................................................................ 21 Table 18 Department Table ......................................................................................... 21 Table 19 Training Course ............................................................................................ 22 Table 20 Training Course Attendance ......................................................................... 23 Table 21 The Staff Rotation ......................................................................................... 24 Table 22 Project Team ................................................................................................. 24 Table 23 Employee Training Course ........................................................................... 25 Table 24 Branch Department ....................................................................................... 25 Table 25 Queries test logs ............................................................................................ 26 Table 26 Test logs of Forms ........................................................................................ 27 Table 27 Test logs of Reports. ..................................................................................... 27 Bookmark not
Individual Assignment
Bookmark
not
Form 2 Employee Details at a Branch ......................... Error! Bookmark not defined. Form 3 Employees Details According to Experience. . Error! Bookmark not defined. Form 4 Rotating Employees of IT Department. .......... Error! Bookmark not defined. Form 5 Employees Work at Kalkatta Branch. ............................................................ 11
Reports. Report 1 Courses Containing Participants More than 150.......................................... 13 Report 2 - Departments & the Addresses of The Departments ................................. 13 Report 3 Employee Details at a Branch ...................................................................... 14 Report 4 Employees Details According to Experience............................................... 14 Report 5 Employees Work at Kalkatta Branch ........................................................... 15 Report 6 Rotating Employees of IT Department ........................................................ 15 Report 7 The Branch of Employees Participated to Training Course ........................ 16 Report 8 The Feed Back for certain Course................................................................ 16
Individual Assignment
Individual Assignment
Individual Assignment
Individual Assignment
Individual Assignment
Individual Assignment
Individual Assignment
Database Design Concepts D.B.M.S Criterion Usage Microsoft Access D.B.M.S for software Ideologically Large Office Versant
used A D.B.M.S which is scale available for smaller & other enterprise environments
Comparatively for
Small Originations.
Organizations.
Model
Object D.B.M.S.
relational model is a combination of the relational with oriented models). the model object database
Knowledge
Basic
Skills
of Higher
knowledge A
Comprehensive
DBMS is Needed
on object oriented Amount about the DBMS is required. DBMS is required DB Admins , D.B. Assistants with, D.B etc.... Programmers.
User
People with
Access DB Skills
Support
A reasonable level
is worthy backing is backing delivered by provided. the Oracle Corp. & with development
provided.
Components etc... price Typically low price costly due to the Commercial DBMS Scope of the D.B.M.S software. Commercial &
Popularity
Popular among every Highly used ultra Generally person T.M.Rajitha.J.B. Tennakoon HND/N/06/10 large enterprise with all the
popular
Database Design Concepts Level environments. Collaboration with the other D.B.M.S models Supports SQL , VB
Hardware Requirements.
Normal PC is Enough.
Needs
additional &
Performance
Usual performance is Super performance performance delivered with the is delivered. practise of software on the
varies bought
Use friendliness
Best user-friendliness Best user responsive Much innovative & It combined for anybody. for DB design. differs on the Types
Individual Assignment
5.1 Tables The Employee Table Test Case Name Primary Keys & Other Integrity Constrains. Sample Inputs PK 10101,1020,1030 FK 110,111,112 Output The input accepted Comment is Ok
NULL
The Correct OK Primary Key Contain Null Value I S Given Proper Error Message Is Given OK The input accepted is Ok
Xxx, kkk, uybjbn Other Table Fields of Correct -1047 - yen man -BSC -3 -88216246 -yen@manu.yom -110
Wrong The input is not OK Abc hdfbhj accepted dfuhfud sf 49894 u74b hebf sdubs@jdfnj kkk
Table 2 The Employee Table Test Logs
Database Design Concepts Branch Table Test Case Name Sample Inputs Primary Keys & 1,2,3 Other Integrity Constrains. NULL Output The input accepted
Individual Assignment
Comment is Ok
The Correct OK Primary Key Contain Null Value I S Given Proper Error Message Is Given OK The input accepted is Ok
N, B , C Other Table Fields of Correct -7 kaulalampur -Urban -#12,7th floor, Twin towers, kaulalampur, Malaysia Wrong "x" "dgggr" "ghtghn" "#ghgffgf"
Department Table. Test Case Name Sample Inputs Primary Keys & 101,102,103 Other Integrity Constrains. NULL Output The input accepted Comment is Ok
The Correct OK Primary Key Contain Null Value I S Given Proper Error Message Is Given OK The input accepted is Ok
Individual Assignment
Training Course Test Case Name Sample Inputs Primary Keys & 21,22,23 Other Integrity Constrains. NULL Output The input accepted Comment is Ok
The Correct OK Primary Key Contain Null Value I S Given Proper Error Message Is Given OK The input accepted is Ok
N, B , C Other Table Fields of Correct -24 -Lease & Mangement -Executive level in Banking -Manu Tower,Colombo 7,Sri Lanka. -2012-04-07 -Ms.liso alto Wrong Fgfg fgfyt jg ha. j gj
Database Design Concepts Training Course Attendance. Test Case Name Sample Inputs Primary Keys & 21,22,23 Other Integrity Constrains. NULL Output The input accepted
Individual Assignment
Comment is Ok
The Correct OK Primary Key Contain Null Value I S Given Proper Error Message Is Given OK The input accepted is Ok
N, B , C Other Table Fields of Correct -23 -8hrs -Excellent -100 Wrong Fgfg fgfyt jg ha.
The Staff Rotation Test Case Name Sample Inputs Primary Keys & 1010,1020,1030 Other Integrity Constrains. NULL Output The input accepted Comment is Ok
The Correct OK Primary Key Contain Null Value I S Given Proper Error Message Is Given OK The input accepted is Ok
Project Team.
Test Case Name Sample Inputs Primary Keys & PK 203,204,205 Other Integrity FK 1010,1020 Constrains. NULL
Comment is Ok
The Correct OK Primary Key Contain Null Value I S Given Proper Error Message Is Given OK The input accepted is Ok
N, B , C Other Table Fields of Correct -203 -30 -1012 -Massive -International Bankers Wrong Fgfg fgfyt jg ha. ghjg
Database Design Concepts Employee Training Course Test Case Name Sample Inputs Primary Keys & EMP-1010,1020 Other Integrity TRC-21,22,23 Constrains. NULL Output The input accepted
Individual Assignment
Comment is Ok
The Correct OK Primary Key Contain Null Value I S Given Proper Error Message Is Given OK The input accepted is Ok
Branch Department. Test Case Name Sample Inputs Primary Keys & BR-1,10,16 Other Integrity DEP-102,113,101 Constrains. NULL Output The input accepted Comment is Ok
The Correct OK Primary Key Contain Null Value I S Given Proper Error Message Is Given OK The input accepted is Ok
Database Design Concepts 5.2 Queries. Test Type Navigation Buttons Sample Inputs Next Previous Output OK OK
Individual Assignment
Comment Ok OK
Last Record 1st Record Out of Scope Data Input Correct Inputs Wrong Inputs Validations Messages
Table 11 Queries test logs
OK OK
OK OK
The input is not OK accepted Correct Inputs & Proper Messages OK Wrong inputs Have Been Given Proper Messages OK were Given
Database Design Concepts 5.3 Forms. Test Type Navigation Buttons Sample Inputs Next Previous Last Record 1st Record Out of Scope Data Input Correct Inputs Wrong Inputs Other Buttons
Table 12 Test logs of Forms
Individual Assignment
Output OK OK OK OK
Comment Ok OK OK OK
Exits
5.4 Reports.
Output OK OK
Comment Ok OK
OK OK
OK OK
Database Design Concepts 5.5 User Manual of the Database of Manu Bank Inc.
Individual Assignment
Database Design Concepts Then to Access the Tables Go to Table Pane Open.
Individual Assignment
Edit or Add Data on the Table. After Opening table. To Add. Select the Row & Column Click on the Field then Enter Valid Data.
To Edit. Select the Row & Column Click on the Field then Replace Data by putting valid data
If Unable to Ensure the Constrains & the Validation rules following Type of Messages Will occur. T.M.Rajitha.J.B. Tennakoon HND/N/06/10 HND in Computing Page 31
Individual Assignment
Figure 4 PK Error
To Access Queries Go to Query Pane Right Click on the Query you Want Open.
Individual Assignment
Select the Row & Column Click on the Field then Enter Valid Data.
To Edit. Select the Row & Column Click on the Field then Replace Data by putting valid data
To Access the Forms. Go to Forms Pane Right Click on the Form you Want Open
Individual Assignment
To Access the reports. Go to Reports Pane Open Right Click on the Report you Want
Individual Assignment
Conclusion.
This conclusion illustrates in this particular assignment about discussing the importance of the database design concepts (DDC). The status of the database design concepts is a sole object in terms of about the significance to be a respectable IT professional. Prominence of database design concepts not depends only for the database experts, its also vital to all the other IT people as well as the database People. This specific position is being argued in the task by making a relational model database expending Ms Access. I talk over significance of the D.B.M.S by justifying & associating the numerous databases backgrounds, particularly the object relational, relational & object rented databases. This mission is having the elementary relational database development tools such as ER diagrams, Relational schemas with mapping algorithm. For the relational schemas the mapping algorithm is used. Which defends the practice of normalization methods (1 NF, 2 NF, 3 NF) that incorporated the primary key, foreign key concepts. The DB formation which apprehensions on table making, query making, form making & report making defends the fundamentals of database management. Beyond referenced all the evidences demonstrate the stuffs what I did all alongside the project.
Individual Assignment
According the assignment I have made this is the opportunity to criticise the things I have done throughout the whole assignment & to confess the Errors which could be identified throughout the Assignment. In terms of considering the `1st phase of the assignment I feel that the issues raised & Discussing about the Database are much slighter & with including more details to it I could have done or reasonable cases to it. By demonstrating more details on the Database models & the environments would have been broader to select the DBMS Package In the second there are more products than the MS Access which are More reliable than it & I feel that my justifications of it is much more slight lower than Ive expected to do At the ER diagram phase I have come up with a basic design which could have been more advanced with more entities At the next case I have come up with the Normalization Constrains which are much more often better in terms adding more facts to it n & the justification phase. & also the importance of the DBMS is being justified rather in a more manner I have tried to minimize The Drawbacks of the Database via the Queries ;& there I have been implementing was quite simple; thus I would have been more perfect in terms move the selecting more than the Employee entity. These I cloud see the queries as more Employee centralized Case. The forms are also based on the Quires and I think that forms should have been more expanded so it could reach more in to the Area of the Database updating. The User manual is simple yet I feel that I could have done more to expand the Span of the User manual.
Individual Assignment
References.
Long,L.&Long,N.2005.,Computers: Information Technology in perspective ,New Jersey, USA: Twelfth edition, Pearson Education Inc,
analysis
&
design,USA:2006custom
edition,
Wikimedia Foundation, Inc.,2011, Comparison of relational database management systems[Online],( last modified on 17 July 2011)Available at http://en.wikipedia.org/wiki/Comparison_of_relational_database_management_sy stems (Accessed on 10/01/2012)
Wikimedia Foundation, Inc.,2011,Database [Online],( last modified on 16 July 2011)Available athttp://en.wikipedia.org/wiki/Database (Accessed on 14/01/2012)
QuinStreet Inc.,2011,Database [Online],( last modified on 2 February 2011)Available at http://www.webopedia.com/TERM/D/database.html (Accessed on 16/01/2012)
QuinStreet Inc.,2011, database management system [Online],( last modified on 3 march 2010)Available at http://www.webopedia.com/TERM/D/database_management_system_DBMS.htm l(Accessed on 26/01/2012)
Database Design Concepts New York Times company.,2011,Normalization [online], (published on 20/10/2010)Available at
Individual Assignment
Wikimedia foundation .Inc., 2011, Relational database [Online] Available at http://en.wikipedia.org/wiki/Relational_database [Accessed on 30/01/2012]
Wikimedia foundation .Inc., 2011, Database model [Online] Available at http://en.wikipedia.org/wiki/Database_model [Accessed on 30/01/2012]
Individual Assignment
Gantt Chart.