You are on page 1of 5

Assessment Criteria – Introduction to Database Design and Development:

Individual Assignment

Weightage : 80% (100 marks)


Citation Format : APA
Submission Deadline : Session 12 (FT) / Session 7 (PT)

ASSESSMENT SUMMARY

CASE STUDY:

Question 1 (30 Marks)


Consider the following set of requirements for a UNIVERSITY database that is used to keep
track of student’s transcripts.

The university keeps track of each student’s name, student number, Social Security number,
current address and phone number, permanent address and phone number, birth date, sex,
class (freshman, sophomore, ..., graduate), major department, minor department (if any), and
degree program (B.A., B.S., ..., Ph.D.). Some user applications need to refer to the city, state,
and ZIP Code of the student's permanent address and to the students the last name. Both
Social Security number and student number have unique values for each student.

Each department is described by a name, department code, office number, office phone
number, and college. Both name and code have unique values for each department.

Each course has a course name, description, course number, number of semester hours,
level, and offering department. The value of the course number is unique for each course.

Each section has an instructor, semester, year, course, and section number. The section
number distinguishes sections of the same course that are taught during the same
semester/year; its values are 1, 2, 3, ..., up to the number of sections taught during each
semester.

A grade report has a student, section, letter grade, and numeric grade (0, 1, 2, 3, or 4).

Create an ER Diagram, listing all cardinality constraints and assumptions.

Page 1 of 3
Question 2 (35 Marks)

Apply the normalization rules to the following Form, which show the data to be recorded in a
database. All intermediate steps (UNF, INF, 2NF, and 3NF) should be shown in detail. State
any assumptions that you make.

Please complete the following FOUR (4) parts:


i) Based on Figure 2, write down the unnormalized form. (5 marks)

ii) Identify the repeating group of attributes and transform part (i) into tables that are in
1st Normal form. (Explain the rationale for your decision). (10 marks)

iii) Identify any partial dependencies in part (ii) and transform into tables that are in 2nd
Normal Form. (Explain the rationale for your decision). (10 marks)

iv) Identify any transitive dependencies in part (iii) and transform into tables that are in
3rd Normal Form. (Explain the rationale for your decision). (10 marks)

Page 2 of 3
Question 3 (35 Marks)

The physical database can be created using DDL (Data Definition Language) and manipulated
using DML (Data Manipulation Language), which enable users to access or manipulate data
as organized by the appropriate model.

i) Using the CREATE TABLE in any dialect of SQL, show the corresponding SQL
tables. Indicate the primary key, foreign keys, column names, constraints etc.

ii) Insert (at least) 10 sample rows for each identified table.

Student must test their database using at least the following:


- Restriction and Projection
- Aliases
- NULL value handling
- Concatenation
- Comparison Operator
- Logical Operator
- Sorting
- Function ()Group function & Single Row Function
- Joins
- Subqueries

---End of Assessment---

Page 3 of 3
Total Marks
Introduction to Databse Design and Development
Marks awarded
0‐10 11‐20 21‐30
ERD drawn partially correct with ERD drawn correctly with cardinalities Included legend. Correctly identified
cardinalities and appropriate and appropriate relationships between entities. Resolved Many‐Many
relationships between entities.Correctly entities.Included legend. Correctly relationship (s) into associative
Question 1 identified entities. Not resolved identified entities. Not resolved entity(ies). ERD drawn correctly with
30
Create an ER Diagram Many‐Many relationship (s) into Many‐Many relationship (s) into cardinalities and appropriate
associative entity(ies). Not included associative entity(ies). relationships between entities.
legend. Assumptions stated for the given
scenario while drawing ERD.

0‐5 6‐15 16‐25


UNF form shown correctly. UNF form shown correctly. Identified UNF form shown correctly. Identified
the repeating group of attributes and the repeating group of attributes and
transform UNF into tables that are in transform UNF into tables that are in
1st Normal form. Identified any partial 1st Normal form. Identified any partial
Question 2 ‐Part A dependencies in 1NF and transform into dependencies in 1NF and transform into 25
Normalization tables that are in 2NF. tables that are in 2NF. Identify any
transitive dependencies in part 2NF and
transform into tables that are in 3NF.

Explain the rationale for 0‐2 3‐6 6‐10


No, little or to some extent explanation Average explanation of Normal forms Detail explanation of all Normal forms
your decision. 10

0‐2 3‐4 5‐6


Using the CREATE TABLE in any dialect Using the CREATE TABLE in any dialect Using the CREATE TABLE in any dialect
of SQL, show the corresponding SQL of SQL, show the few corresponding of SQL, show all the correct
Question 3 ‐Part B Create tables. without primary key, foreign SQL tables. with primary key, foreign corresponding SQL tables. Indicate the
6
table keys and contraints. keys and contraints. primary key, foreign keys, column
names, constraints etc. Screen capture
of the table shown.
0‐1 2‐ 3 4‐5
Insert (at least) 10 sample Inserted only few rows of the table Inserted 10 sample rows for each Inserted 10 sample rows for each tables
rows for each identified tables with screen capture of select statement 5
to show all data
table.

0‐8 9‐17 18‐24


SQL Script and Screen capture of the SQL Script and Screen capture of the SQL Script and Screen capture of the
testing of the following only shown: testing of the following only shown: testing of the following only shown:
Restriction and Projection, Aliases, Restriction and Projection, Aliases, Restriction and Projection, Aliases,
Comparison Operator , Logical Operator Comparison Operator , Logical Comparison Operator , Logical
Testing the database Operator, NULL value handling, Operator, NULL value handling, 24
Concatenation, Sorting, Function Concatenation, Sorting, Function
()Group function & Single Row ()Group function & Single Row
Function Function, Joins and Subqueries

Formative comments on
100
submission

WEIGHTAGE 80%

You might also like