0% found this document useful (0 votes)
19 views5 pages

Database De-01

This document outlines the final examination for the Database course at the University of Economics and Law for the academic year 2023-2024. It includes multiple choice questions and open-ended questions related to database concepts, requirements for a social platform database, and normalization of a lease table. The exam is designed to assess students' understanding of database architecture, functional requirements, and the ability to propose and evaluate database solutions.

Uploaded by

hihubebe
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
0% found this document useful (0 votes)
19 views5 pages

Database De-01

This document outlines the final examination for the Database course at the University of Economics and Law for the academic year 2023-2024. It includes multiple choice questions and open-ended questions related to database concepts, requirements for a social platform database, and normalization of a lease table. The exam is designed to assess students' understanding of database architecture, functional requirements, and the ability to propose and evaluate database solutions.

Uploaded by

hihubebe
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/ 5

UNIVERSITY OF ECONOMICS AND LAW FINAL EXAMINATION

FACULTY OF INFORMATION SYSTEMS 2st SEMESTER


CODE 739 ACADEMIC YEAR 2023 - 2024
SUBJECT: DATABASE
Duration: 60 minutes
(Not allowed to use reference materials)

Student’s full name: Student’s code:


Signature of Proctor 1 Signature of Proctor 2

Mark Signature of Examiner 1 Re-mark Signature of Examiner 2

ANSWER SHEET

A B C D A B C D
1 ⚪⚪⚪⚪ 11 ⚪⚪⚪⚪
2 ⚪⚪⚪⚪ 12 ⚪⚪⚪⚪
3 ⚪⚪⚪⚪ 13 ⚪⚪⚪⚪
4 ⚪⚪⚪⚪ 14 ⚪⚪⚪⚪
5 ⚪⚪⚪⚪ 15 ⚪⚪⚪⚪
6 ⚪⚪⚪⚪ 16 ⚪⚪⚪⚪
7 ⚪⚪⚪⚪ 17 ⚪⚪⚪⚪
8 ⚪⚪⚪⚪ 18 ⚪⚪⚪⚪
9 ⚪⚪⚪⚪ 19 ⚪⚪⚪⚪
10 ⚪⚪⚪⚪ 20 ⚪⚪⚪⚪
PART I. MULTIPLE CHOICE QUESTIONS (4.0 marks)
Question 1: Which of the following is NOT included in the conceptual level?
A. all entities, attributes, and relationships C. record descriptions for storage (with stored
B. the constraints on the data sizes for data items)
D. semantic information about the data
Question 2: Which of the following is the advantage of database approach:
A. improved data integrity C. complexity
B. organizational conflict D. cost of conversion
Question 3: To perform tasks like creating the structure of the relations, deleting relation, which of the
following SQL is used:
1
A. Data control language C. Data manipulation language
B. Data definition language D. Data processing language
Question 4: Rows of a relation are called?
A. Entity C. Cardinality
B. Degree D. Tuple
Question 5: Which of the following columns is(are) are required in a table?
A. A foreign key C. A primary key
B. An alternate key D. A surrogate key
Question 6: Which is AS syntax used for?
A. Join C. Projection
B. Subset D. Rename
Question 7: Which type of data can be stored in the database?
A. Image oriented data C. Data in the form of audio or video
B. Text, files containing data D. All of the above
Question 8: A functional dependency is a relationship between or among:
A. Tables C. Attributes
B. Relations D. Rows
Question 9: Why the following query is executed with error?
SELECT Dept_Description, Dept_ID, AVG (Wage)
FROM Lecturer
GROUP BY Dept_Description
A. Dept_ID should not be used in group by B. Where clause is not used
clause C. Group by clause is not valid in this query
D. AVG(Wage) should not be selected
Question 10: For designing a normal RDBMS which of the following normal form is considered
adequate?
A. 2NF C. 5NF
B. 4NF D. 3NF
Question 11: The term attribute refers to a ___________ of a table.
A. Column C. Tuple
B. Record D. Key
Question 12: For each attribute of a relation, there is a set of permitted values, called the ________ of that
attribute.
A. Relation C. Domain
B. Set D. Schema
Question 13: Partial specialization rule specifies that:
A. an entity instance of the supertype is allowed not to belong to any subtype
B. each entity instance of the supertype must be a member of some subtype in the relationship
C. if an entity instance (of the supertype) is a member of one subtype, it cannot simultaneously be a
member of two (or more) subtypes
D. an entity instance can simultaneously be a member of two (or more) subtypes
Question 14 : An attribute of the supertype that determines the target subtype(s) is called the:
A. determinant C. subtype discriminator
B. subtype decision D. disjoint indicator
Question 15: In SQL, what is the purpose of the “HAVING” clause?
A. Filters results of aggregate functions applied B. Filters records based on a condition
to groups C. Specifies a condition for sorting the result set
D. Joins two or more tables
Question 16: In the context of databases, what is denormalization?
A. The process of organizing data to minimize B. The process of introducing redundancy to
redundancy improve query performance
2
C. The process of converting complex data types into simpler ones
D. The process of encrypting sensitive data
Question 17: Which of the following is an entity that exists dependently of other entity types?
A. Codependent C. Weak
B. Strong D. Variant
Question 18: Shipping_Mode and Unit_Cost are called:

A. Relationship attributes C. Weak entities


B. Associative entities D. The third entity
Question 19: In the following diagram, which is true?

A. It depicts a ternary relationship. C. BOM_STRUCTURE represents a row.


B. Item represents a column. D. It depicts a many-to-many relationship.
Question 20: Which of the following is a group of one or more attributes that uniquely identifies a row?
A. Determinant C. Tuple
B. Key D. Relation
PART II. ANSWER THE QUESTIONS (6.0 marks)
Question 21 (3.0 marks): A university want to build a social platform, which can create virtual meeting
places for its members such as: students, faculty, staff, and others associated with different departments.
Now, we will develop a database of this. The following description will state specific requirements, but
other requirements may be implied or possibly should be implemented in the design:
a. A virtual school may maintain several social media sites (e.g., for sports clubs, academics, local food
and beverage outlets, or a specific student organization). Each site has attributes of Site Identifier, Site
Name, Site Purpose, and Site Creation Date.
b. Any member may become a participant in any public site. Members need to register with the social
media sites to participate in any site. Each member is assigned by a MemberID, and his or her Status
(e.g., student, faculty, staff, or possibly several such values). If a member is a faculty or staff, he or
she also has the experience, but only faculty has degree. Other attributes such as Name, Instagram ID,
Facebook Page link, and SMS Contact Number.
c. An account is created each time a member registers to use a particular site. An account is described by
an Account ID, User Name, Password, Date Created, Date Terminated, and TotalDay the member
used that account (which is counted up to now if the account is not terminated)
d. A site is managed by an account, which is the administrator
e. Using an account, a member creates a posting, or message, for others to read. A posting has a Posting
Date/Time and Content.
f. A member is permitted to have multiple accounts, each of which is for only one site. A member, over
time, may create multiple postings from an account.
3
g. From their accounts, members might respond to postings with an additional posting, which then may
have other response postings, and so forth.
h. We also want to track not only postings but also when members from their accounts read a posting.
This requirement is needed to produce site usage reports concerning the date and the time the posting
is read and by whom.
i. Any student from one of their accounts may give a complaint about any posting. Each complaint has a
Complaint ID, Date/Time the complaint is posted, the Content of the complaint, and a Resolution
Date.
Draw a ER (EER) model for this situation using the notations you have been told to use in the
course.
Question 22 (3.0 marks): Students can lease university flats and some of the details of leases held by
students for places in university flats are shown in figure below. Note that a place number (placeNo)
uniquely identifies each single room in all flats and is used when leasing a room to a student

And the functional dependencies as follow:


leaseNo -> bannerID, placeNo, startDate, finishDate
bannerID -> fName, lName
placeNo -> flatNo, flatAddress
flatNo -> flatAdress
a. Identify the primary key (0.5 marks)
b. Which form of normalization is the table? (0.5 marks)
c. Perform a normalization of table above into a set of third normal form relations. (2.0 marks)

THE END

Course learning outcomes Content


Understand functional requirements, determine concepts,
Q 1,2,3,4
architecture, and components of database models.
Understand the importance of businesses needing to turn database
Q 5,6,7
building solutions into a competitive advantage.
Analyze the current state of the business to propose appropriate
Q 8,9
database building solutions
Be able to propose solutions to build databases to improve business
Q 11,12,13, 14
efficiency
Be able to evaluate, compare and select different database models Q 10, 15,16,17
Presents the steps to build a database to serve an information
Q 18,19
system
Operate databases for business activities and decision support Q 20
Build a database for an organization/operation in practice Q 21,22

Ho Chi Minh City, 24th May, 2024


Signature of Department Chair Signature of Instructor

4
Full name____________________________ Full name_____________________________

You might also like