Test Ict450
Test Ict450
TEST 1
LECTURER : ………………………………………………………………………
INSTRUCTIONS TO CANDIDATES
1. This question paper consists of TWO (2) parts, Part A and Part B.
2. Answer ALL questions in English.
Total Marks 50
2. A DBMS can support many different types of databases. Databases can be classified by
several factors such as number of users (people accessing the data at one time) and location.
Database that supports data stored at single site is called __________.
a. Single-User Database
b. Centralized Database
c. Enterprise Database
d. Decentralized Database
4. In the ________ data model, the basic logical structure is represented as an upside-down
tree.
a. hierarchical
b. network
c. relational
d. entity relationship
2
7. Choose the symbol used to represent relationship in Chen Notation.
a. Oval
b. Square
c. Diamond
d. Rectangle
“Each student is assigned to an academic advisor. Each academic advisor has multiple
students under their supervision”.
a. 1 : 1 relationship
b. 1 : M relationship
c. M : N relationship
d. 0 : 1 relationship
Figure 1
a. firstName
b. StudentID
c. lastName
d. courseId
3
11. __________________ is NOT a data type in relational database.
a. Long Text
b. Date / Time
c. Menu
d. Number
12. Which data model organized data into tables with rows and columns?
a. Hierarchical Data Model
b. Network Data Model
c. Relational Data Model
d. Object-Oriented Data Model
13. Which data model is based on the concept of objects and classes?
a. Hierarchical Data Model
b. Network Data Model
c. Relational Data Model
d. Object-Oriented Data Model
14. For each attribute of a relation, there is a set of permitted values, called the
________ of that attribute.
a. Relation
b. Domain
c. Set
d. Schema
Figure 2
a. Primary Key
b. Secondary Key
c. Superkey
d. Foreign Key
4
OBJECTIVE ANSWER SECTION
5
TRUE / FALSE QUESTIONS
17. Written documentation is one of the sources of Business Rules. (TRUE / FALSE)
19. A primary key is unique identifier for each record in a table. (TRUE / FALSE)
20. Referential integrity allows a foreign key to not have a matching primary key from its
related table and it can be null. (TRUE / FALSE)
21. Each attribute should has a distinct name in a Relational Database. (TRUE / FALSE)
24. The tuples of the relations can be of any order. (TRUE / FALSE)
25. The relationship that is shown in Figure 3 is appropriate in a database. (TRUE / FALSE)
Figure 3
26. “Each employee can insert their name into several columns which are First Name, Middle
Name and Last Name”. This type of attribute is known as multi-valued attribute.
(TRUE / FALSE)
27. The database designer determines whether an entity is weak based on business rules.
(TRUE / FALSE)
28. A weak entity is independent on a strong entity to ensure its existence. (TRUE / FALSE)
6
29. Based on Figure 4, VendorCode is a FK in table PRODUCT. (TRUE / FALSE)
Figure 4
30. Figure 5 shows the data consists of employees’ details in Ministry of Health Malaysia. The
relationship between Table Employee and Table Division can be classified as many-to many
(M:N) relationship. (TRUE/FALSE)
Figure 5
7
FILL IN THE BLANKS QUESTIONS
34. ______________________ key is a candidate key that was not chosen to be the primary
key.
35. “Each employee can have several skills to be inserted under Emp_Skills column”. This
statement is referring to ____________________ attribute.
8
PART B
Every year, the Faculty of Computer Science and Mathematics from the Frontier Academia
University organizes an innovation competition. Students of the faculty, under the supervision
of their lecturer(s), will participate in this competition to showcase the product that they
produce under each given project. Due to the growing size of the competition, the faculty
decided to set up a database system that keeps track of the competition’s information. The
faculty has approached you to develop such a system and below are the requirements and
business rules that the faculty needs you to follow:
• The database system needs to keep track of the information of the faculty’s students,
and lecturers, project supervision(s), each management of exhibitions, the
competition’s exhibitions, and the projects.
• The students’ information such as their identification, name, and his/her project leader
identification, needs to be recorded by the system.
• The system should also be able to track the lecturer’s information in terms of their
identification, name, and mentor ID.
• Each project provided for the competition needs to be recorded by the system in terms
of its identification and title.
• Information regarding the identification, date and location needs to be recorded by the
system for each exhibition held.
• A student is supervised by one or many lecturers and a lecturer supervises one or more
students. The system should also need to record information regarding each
supervision in terms of its date.
• A lecturer is selected to manage all the projects provided by the competition and a
project is managed by that selected lecturer only.
• One exhibition showcases one or many projects, but a project can only be presented in
one and only one exhibition.
• In this competition, the students will form a group and will select a project leader from
among themselves to lead them. A project leader leads one or more students, and a
student is led by a project leader.
9
• For those lecturers who are new to this competition, they will be assigned with another
lecturer that acts as a mentor. A mentor will be mentoring one or more lecturers, and a
lecturer is mentored by one and only one mentor.
Construct an Entity Relationship Diagram (ERD) in Crows foot notation, complete with all
required entities, attributes, and relationships with their names, and connectivities as well as the
primary and foreign keys that reflect all requirements and business rules in the case study.
(15 marks)
ANSWER:
10
End of question paper
11