NIT5130: Database Analysis and Design: Assignment Report
NIT5130: Database Analysis and Design: Assignment Report
Assignment Report
1|P a g e
IO Student Registration And Job Management
TABLE OF CONTENTS
Database Modelling................................................................................................................................................ 3
Entity Relationship Diagram (ERD) ............................................................................................................................3
Business Rules ...........................................................................................................................................................4
Mapped Relations .....................................................................................................................................................4
DATA DICTIONARY .....................................................................................................................................................6
Database Design and Associated Tasks ................................................................................................................ 10
Design ......................................................................................................................................................................10
System capabilities .............................................................................................................................................. 11
Student Registration Form ......................................................................................................................................11
Job Listing and Assignment .....................................................................................................................................15
Member Details Modification .................................................................................................................................18
Report – Student Address Details ...........................................................................................................................23
Dietary Requirements .............................................................................................................................................24
Associated Materials ........................................................................................................................................... 25
References ........................................................................................................................................................... 31
Appendix A .......................................................................................................................................................... 32
Declaration Form .....................................................................................................................................................32
Students’ Declaration ..............................................................................................................................................32
2|P a g e
IO Student Registration And Job Management
DATABASE MODELLING
This task involved creating an ERD from the description specified in the assignment. To achieve this task
we had to create several entities that were directly required. Some other entities had to be created that
would help relate the direct entities. After careful consideration of each task to be achieved, the following
ERD was generated. The relation between any two given entities has been labelled with the connectors.
The connectors depict how each entity or relation is in relation to other entities or relations. The primary
keys have been underlined and are the first attribute in each section and references have been denoted
as italics.
From the ERD, we can see how all the important are correlated. The relation between each entity is
defined on the connector. It specifies how each entity is in relation with the connected entity. The
connectors also suggested a “ONE TO MANY”,”ONE TO ONE”, and “MANY TO ONE” relations.
In the following section we have defined the business rules that will help you translate the ER Diagram
into business rules.
3|P a g e
IO Student Registration And Job Management
BUSINESS RULES
MAPPED RELATIONS
4|P a g e
IO Student Registration And Job Management
o None of the non-key attributes should be dependent on any other non-key attributes, i.e. any
attribute should be identified uniquely only through the primary key of the table
o No repeating attributes
o No multi-value attributes
All the relations specified above satisfy these conditions and hence are all in 3NF
5|P a g e
IO Student Registration And Job Management
DATA DICTIONARY
Now we arrive to probably the most important part of this report. The data dictionary here enlists all the
attributes that are used in our database. The four key columns that are specified here are used to
elaborate on each and every attribute.
Note – The datatype here are not specific to any particular database but are generic terms for better
readability.
6|P a g e
IO Student Registration And Job Management
7|P a g e
IO Student Registration And Job Management
8|P a g e
IO Student Registration And Job Management
9|P a g e
IO Student Registration And Job Management
DESIGN
Based on the Data Dictionary in the previous section, the following helped create the corresponding
database in phpMyAdmin. Here’s presenting a screen capture of the database created in phpMyAdmin
Each table listed here contains the description that is mentioned in the data dictionary.
10 | P a g e
IO Student Registration And Job Management
SYSTEM CAPABILITIES
The following section shows the various capabilities of the system. We have designed very basic forms
which depict the functionalities of the system. The idea is inspired from a US Navy design principle KISS –
“Keep it simple, stupid” which suggests that maximum things should be done without complicating the
design more than it is required.
There is a lot of data to be entered and the structure maintained in the database for these entries is
complex. However, we have tried to design the form to be as simple as possible so that the user
experiencing these can enter all the data in a single flow without having to navigate through different
forms and pages.
This is the screenshot of the registration form created wherein we take the information required for
student and his dietary requirements. This data is stored across multiple tables which is then used for
various purposes.
11 | P a g e
IO Student Registration And Job Management
12 | P a g e
IO Student Registration And Job Management
13 | P a g e
IO Student Registration And Job Management
This is the success message you will get when you successfully enter all details
14 | P a g e
IO Student Registration And Job Management
The next task was to provide the director with a listing of jobs and the capability to modify and update
the information. We came up with the following solution
Here is a screenshot of what you can see on the job listing page. It is a simple dropdown wherein the
director can choose the job for which assignment needs to be done
This is a listing of the jobs that would be populated from the database.
15 | P a g e
IO Student Registration And Job Management
Once the selection is done for a particular job, the next list box would fetch all the students (members)
who would’ve opted Yes for the volunteering position. This list control is extremely easy to use. The
director can assign multiple volunteers to a job and the corresponding information would be updated in
the database
16 | P a g e
IO Student Registration And Job Management
The director can now select multiple volunteers from this list and Assign to the job that is selected. Once
can see the selections made through a blue highlight
17 | P a g e
IO Student Registration And Job Management
There might be a requirement to update member details. The following form helps achieve that. The only
thing to be known for this is the student number which can be considered like a student ID that is unique
to each student
18 | P a g e
IO Student Registration And Job Management
Once that value is entered, the system shall fetch the corresponding details from the database and would
populate controls on the form in an editable control. This enables the director to make necessary changes
19 | P a g e
IO Student Registration And Job Management
The director can now update the necessary details. Let us assume we want to update the pincode from
5885 to 5886 and change the volunteering from No to Yes. Then the form appears as below
Once the update is done, the following success message is displayed. The form can be used again to
update details. Corresponding details would be updated in the database as well.
20 | P a g e
IO Student Registration And Job Management
Now if you see the available job list. You shall see the person above added as we changed the Volunteering
from “No” to “Yes”
21 | P a g e
IO Student Registration And Job Management
22 | P a g e
IO Student Registration And Job Management
Another task was to display student address details. This is a simple listing of GivenName and FamilyName
and addresses which is a combination of various data fields which were entered during the registration
process in the format HouseNumber,StreetName,City,State,Pincode
23 | P a g e
IO Student Registration And Job Management
DIETARY REQUIREMENTS
The last but very important requirement is the listing of students’ dietary requirements. This is a list of
GivenName and FamilyName alongwith the description of the corresponding dietary requirement. This
information was entered during the registration itself. The report displays the values along with a legend
of all nutrition categories which help the director or any other user of this information decide and use the
information on an as needed basis
24 | P a g e
IO Student Registration And Job Management
ASSOCIATED MATERIALS
25 | P a g e
IO Student Registration And Job Management
Facility Table
26 | P a g e
IO Student Registration And Job Management
Faculty Table
27 | P a g e
IO Student Registration And Job Management
Job Table
Nutrition Table
28 | P a g e
IO Student Registration And Job Management
School Table
29 | P a g e
IO Student Registration And Job Management
User/Student Table
30 | P a g e
IO Student Registration And Job Management
REFERENCES
LucidChart – To create database designs
31 | P a g e
IO Student Registration And Job Management
APPENDIX A
DECLARATION FORM
Subject Name:
Subject Code:
Campus:
Lecturer:
Student Id ______________ Name _________________________________
Student Id ______________ Name__________________________________
Student Id ______________ Name__________________________________
Student Id ______________ Name _________________________________
STUDENTS’ DECLARATION
I hereby certify that I am an author of the submitted work bearing my name and student
identification number.
Signature ___________________ Date __________
Signature ___________________ Date __________
Signature ___________________ Date __________
Signature ___________________ Date __________
32 | P a g e