100% found this document useful (1 vote)
1K views11 pages

Test Ict450

Test Material
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
1K views11 pages

Test Ict450

Test Material
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 11

UNIVERSITI TEKNOLOGI MARA

TEST 1

COURSE : DATABASE DESIGN AND DEVELOPMENT


COURSE CODE : ICT450

DATE : 23 NOVEMBER 2023

TIME : 1 HOUR AND 30 MINUTES

STUDENT NAME : …………………………………………………….........................

UiTM ID NO. : ……………......................... GROUP: ...…………………….

LECTURER : ………………………………………………………………………

INSTRUCTIONS TO CANDIDATES

1. This question paper consists of TWO (2) parts, Part A and Part B.
2. Answer ALL questions in English.

3. STRICTLY NO DISCUSSION WITH YOUR FRIENDS.

4. MARKS WILL BE DEDUCTED if cheating is detected in your answer file.

Part Full Marks Your Marks


A 35
B 15

Total Marks 50

DO NOT TURN THIS PAGE UNTIL YOU ARE TOLD TO DO SO


This question paper consists of 10 printed pages
PART A

MULTIPLE CHOICE QUESTIONS

1. What is the definition for a database?


a. Collection of organized data that allows access, retrieval of that data.
b. Collection of organized data that allows access, retrieval, and use of data.
c. Collection of organized data that allows retrieval, and use of that data.
d. Collection of organized data that allows data entry and store into a repository.

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

3. Below are the characteristics of a relational table EXCEPT:


a. A table is perceived as a two-dimensional structure composed of rows and columns.
b. Each table column represents an attribute.
c. All values in a column may have different data format.
d. Each table row(tuple) represents a single entity occurrence within the entity set.

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

5. Which of the following is NOT advantages of DBMS?


a. Increased data consistency
b. Increased data isolation
c. Improved data security
d. Reduced data redundancy

6. Total sum of salary can be considered as ___________.


a. Multi-valued attributes
b. Composite Attributes
c. Derived Attributes
d. Key attributes

2
7. Choose the symbol used to represent relationship in Chen Notation.
a. Oval
b. Square
c. Diamond
d. Rectangle

8. Select the CORRECT relationship based on the following statement:

“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

9. Based on Figure 1, which one is a Primary Key?

Figure 1

a. firstName
b. StudentID
c. lastName
d. courseId

10. The entity integrity rule requires that ____.


a. all primary key entries are unique
b. a part of the key may be null
c. foreign key values do not reference primary key values
d. duplicate object values are allowed

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

15. Based on Figure 2, ICNumber is considered as _____________ .

Figure 2

a. Primary Key
b. Secondary Key
c. Superkey
d. Foreign Key

4
OBJECTIVE ANSWER SECTION

1. =A= =B= =C= =D= 11. = A = =B= =C= =D=


2. =A= =B= =C= =D= 12. = A = =B= =C= =D=
3. =A= =B= =C= =D= 13. = A = =B= =C= =D=
4. =A= =B= =C= =D= 14. = A = =B= =C= =D=
5. =A= =B= =C= =D= 15. = A = =B= =C= =D=
6. =A= =B= =C= =D=

7. =A= =B= =C= =D=

8. =A= =B= =C= =D=

9. =A= =B= =C= =D=

10. = A = =B= =C= =D=

5
TRUE / FALSE QUESTIONS

16. StudentPhoneNumber and CourseName are examples of attribute. (TRUE / FALSE)

17. Written documentation is one of the sources of Business Rules. (TRUE / FALSE)

18. Using spreadsheet software to manage data of employee is an example of File-Based


System. (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)

22. Entity Integrity can hold null values. (TRUE / FALSE)

23. Each table column represents an Attribute. (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

TRUE/FALSE ANSWER SECTION

16 =T= =F= 26 =T= =F=


17 =T= =F= 27 =T= =F=
18 =T= =F= 28 =T= =F=
19 =T= =F= 29 =T= =F=
20 =T= =F= 30 =T= =F=
21 =T= =F=
22 =T= =F=
23 =T= =F=
24 =T= =F=
25 =T= =F=

7
FILL IN THE BLANKS QUESTIONS

31. In Relational Model, tuple represents ____________________ in a table.

32. The ANSI/SPARC architecture defines ____________________ levels of data abstraction.

33. ______________________ is the information about data.

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 project is included in every instance of supervision and an instance of supervision


must discuss a project.

• A lecturer manages one or many exhibitions and an exhibition is managed by one or


more lecturers. Each exhibition’s management information must include the role that
the lecturer(s) took to manage an exhibition.

• 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

You might also like