0% found this document useful (1 vote)
158 views4 pages

DB Prelimexam

This document appears to be a practice exam for a fundamentals of database course. It contains multiple choice questions, identification questions where the student must label statements, true/false questions, and application problems involving conceptual data modeling. The multiple choice and true/false questions cover basic database concepts like entities, attributes, relationships, keys, and integrity constraints. The application problems ask students to identify entities, attributes, and relationships from sample data and draw entity relationship and integrity engineering diagrams to model the data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (1 vote)
158 views4 pages

DB Prelimexam

This document appears to be a practice exam for a fundamentals of database course. It contains multiple choice questions, identification questions where the student must label statements, true/false questions, and application problems involving conceptual data modeling. The multiple choice and true/false questions cover basic database concepts like entities, attributes, relationships, keys, and integrity constraints. The application problems ask students to identify entities, attributes, and relationships from sample data and draw entity relationship and integrity engineering diagrams to model the data.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

“Keep moving forward – Walt Disney”

23 copies ACTS COMPUTER COLLEGE


Score:
Infanta, Quezon

Prelim Examination
Second Semester 2019

Name: ______________________________ Date: _____________________


Subject: Fundamentals of Database Course/Section: ____________

NOTE: NOT following DIRECTIONS means WRONG.

I. MULTIPLE CHOICE
DIRECTION: Circle the letter that corresponds to the best answer.
1. The logical representation of an organization’s
data is called
a. Database model 6. It represents a specific instance of something you
b. Relationship system design want to track
c. Entity relationship model a. attribute
d. Database entity diagram b. entity
2. Customers, cars, and parts are example of c. property
a. entities d. foreign key
b. attributes 7. One‐to‐many relationships are also referred to as
c. constraints ______________________________________
d. relationships a. cardinality
3. If a transaction finishes successfully, the results of b. entity relationships
the transaction are written to the database and the c. parent‐child relationships
end result is that the database attains a new d. abstract relations
consistent state. This is known as _____________ 8. In general, it is represented by table fields
transaction a. attribute
a. commit b. entity
b. program c. property
c. rollback d. foreign key
d. normalization 9. Diamond is the symbol we use to denote
4. A ________________ is an organized collection of ______________
data, typically stored in electronic format, which a. entity
allows you to input data, organize the data and b. property
retrieve the data quickly. c. attribute
a. database d. relationship
b. procedural programming 10. It is also possible for a foreign key constraint to
c. object-oriented programming reference columns in the same table; this is known
d. hard drives as __________________
5. It is a field with no value a. relationship
a. empty b. referencing
b. null c. self - representation
c. full d. self - referencing
d. zero

II. IDENTIFICATION
DIRECTION: Identify the following statement/s. Write your answer on the space provided before the number.
________________ 1. Only one table is involved in this relationship, and this relationship exists between two fields in
the one table.
________________ 2. This guarantees that each record is unique and that all the fields that form the primary key have
non‐null values
________________ 3. It is a formally structured set of information that pertains to a particular subject or purpose, stored
by a computer program.
________________ 4. In this type of database, each parent can have multiple children, but each child can have only one
parent.
________________ 5. It is a constraint enforced by the relational data model which states that if a foreign key is not
null, it must match an existing primary key somewhere within the database.

2ndSem~cristy_2019 “Learning something new is always difficult at the start” Page 1


“Keep moving forward – Walt Disney”
III. TRUE OR FALSE
DIRECTION: Read each statement below carefully. Place a T on the line before the number if you think a statement
it TRUE. Place an F on the line before the number if you think the statement is FALSE.
______1. In an IE diagram, the infinity symbol represents the “many” side of a relationship.
______2. Relationships connect attributes together
______3. A simple database with one table is similar to a spreadsheet that contains rows and columns.
______4. Entities are represented by rectangles
______5. Parent‐child relationships is not applicable in hierarchical databases
______6. A unique constraint allows the database administrator to specifically identify which column should not
contain duplicate values.
______7. A key is a set of one or more fields in a table that you can use to find a specific record
______8. Primary key must be unique
______9. Foreign key is also known as the parent key
______10. Weak entity exists without reference to any other entity
IV. APPLICATION
DIRECTIONS: Do what is asked.
PROBLEM 1: Harris’s Pet Store has requested you to design a database to store information on sales on animals and
merchandises. The sales form is shown in Figure C1 below. Answer questions 1 and 2.
SALES
Sales No: Date:
Customer ID: Employee ID:
Name: Name:
Address:

City, State, PostCode:

Animal Sale
ID NAME CATEGORY BREED DoB GENDER REGISTRATION COLOR LISTPRICE SALEPRICE

Animal SubTotal:
Merchandise Sale
ITEM DESCRIPTION CATEGORY LISTPRICE SALE PRICE QUANTITY TOTAL ITEM SALE
SOLD PRICE

Merchandise Total:
Sub Total:
Tax
Total:
1. Identify all entities and attributes for each entity from the Sales Form in figure above. Provide your answer in the
following format. (10 points)
ENTITY ATTRIBUTE

2ndSem~cristy_2019 “Learning something new is always difficult at the start” Page 2


“Keep moving forward – Walt Disney”

2. Using your answers in Question 1 above, draw a complete conceptual Entity Relationship Diagram and Integrity
Engineering Diagram to model the data in the Sales Form. Multiplicities and primary keys must be shown on your
model. (15 points)

PROBLEM 2: You are required to create a conceptual data model of the data requirements for a company that specializes
in IT training. The Company has 30 instructors and can handle up to 100 trainees per training session. The Company offers
five advanced technology courses, each of which is taught by a teaching team of two or more instructors. Each instructor
is assigned to a maximum of two teaching teams or may be assigned to do research. Each trainee undertakes one advanced
technology course per training session.
a. Identify the main entity types for the company.
b. Identify the main relationship types and specify the multiplicity for each relationship. State any assumptions you
make about the data.
c. Using your answers for (a) and (b), draw a single ER diagram as well as the IE diagram to represent the data
requirements for the company. Show multiplicity and primary keys in your diagram.

2ndSem~cristy_2019 “Learning something new is always difficult at the start” Page 3


“Keep moving forward – Walt Disney”
KEY TO CORRECTION
I. MULTIPLE CHOICE
1. A
2. A
3. A
4. A
5. B
6. C
7. A
8. D
9. D
10. B
II. IDENTIFICATION
1. Unary or One by degree
2. Entity integrity
3. Database
4. Hierarchical
5. Referential integrity

III. TRUE OR FALSE


1. T
2. F
3. T
4. T
5. F
6. T
7. T
8. T
9. F
10. F
IV. APPLICATION

2ndSem~cristy_2019 “Learning something new is always difficult at the start” Page 4

You might also like