Вы находитесь на странице: 1из 14

Test: Database Foundations Midterm Exam

Answer the question(s) on this page, and click Next to go to the next test page. Click Summary to see which
questions you need to answer before submitting the test. Click Finish Test if you are ready to submit your test.

Section 1
(Answer all questions in this section)

1. In a network database model the data is organized into a tree-like structure and to
retrieve data the whole tree needs to be traversed starting from the root node. Mark for Review
(1) Points

True
False

2. In the relational database model, each table name must be unique. The column names
in the table must be unique too. You can have two different tables that have column Mark for Review
names that are similar. (1) Points

True
False

3. The advantages of object-oriented data model are:


Mark for Review
(1) Points

Reduced Maintenance
Real-World Modeling
Both
None

4. Each database has one unique control file, although it may maintain identical copies of
it. Mark for Review
(1) Points

True
False

5. The Oracle Database stores data logically in tablespaces, and physically in datafiles
associated with the corresponding tablespace. Mark for Review
(1) Points

True
False
Page 1 of 10 Next Summary Finish Test

Test: Database Foundations Midterm Exam

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 1
(Answer all questions in this section)

6. A database instance is a set of memory structures that manage database files.


Mark for Review
(1) Points

True (*)
False

Correct

7. A DBMS comprises of the following elements:


(Choose 3) Mark for Review
(1) Points

(Choose all correct answers)

Kernel code (*)


Repository of metadata (*)
Query language (*)
Client

Correct

8. What is the difference between "information" and "data"?


Mark for Review
(1) Points

Data is held and understood only by users.


Information and data have no differences - they are two words for the same
thing.
Data turns into useful information. It is stored in a database and accessed by
systems and users. (*)
Information is held and understood only by users.

Correct
9. By defining primary and foreign keys, you can ensure that the integrity of the data in a
table is maintained. Mark for Review
(1) Points

True (*)
False

Incorrect. Refer to Section 1 Lesson 4.

10. Data Integrity ensures the duplication of information.


Mark for Review
(1) Points

True
False (*)

Correct

Previous Page 2 of 10 Next Summary

Test: Database Foundations Midterm Exam

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 1
(Answer all questions in this section)

11. Once you have learned how to write programs and build systems, you no longer need
any input or involvement from any users as you are perfectly capable of delivering the Mark for Review
systems that businesses need and want. (1) Points

True. Users never know what they want anyway, so building systems is best left
to the professionals.
True. Users delay the delivery of a system by changing their minds and adding
new requirements.
True. The only requirement for creating a perfect system is a perfect
programmer.
False. Business requirements can and will change. For instance new legal
requirements may arise. (*)

Correct

12. Business rules help you understand the standardization procedure an organization
follows when handling huge data. Mark for Review
(1) Points
True (*)
False

Correct

13. It is important to identify and document business rules when designing a database.
Mark for Review
(1) Points

True (*)
False

Correct

Section 2
(Answer all questions in this section)

14. Unique Identifier has a NULL value for each instance of the entity for the lifetime of
the instance. True or False Mark for Review
(1) Points

True
False (*)

Correct

15. Primary Key can contain null values.


Mark for Review
(1) Points

True
False (*)

Correct

Previous Page 3 of 10 Next Summary

Test: Database Foundations Midterm Exam

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.
Section 2
(Answer all questions in this section)

16. A/an _________ is a piece of information that in some way describes an entity. It is a
property of the entity and it quantifies, qualifies, classifies, or specifies the entity. Mark for Review
(1) Points

ERD
Process
Table
Attribute (*)

Correct

17. In a physical data model, a relationship is represented as a combination of: (Choose


Two) Mark for Review
(1) Points

(Choose all correct answers)

Foreign Key (*)


Check Constraint or Unique Key
Primary Key or Unique Key (*)
Column

Correct

18. An entity may have which of the following?


Mark for Review
(1) Points

Experiences
Instances (*)
Tables
None of the above

Correct

19. Entity names are always plural.


Mark for Review
(1) Points

True
False (*)
Correct

20. A conceptual data model is converted using a Relational Data Base Management
System to which model? Mark for Review
(1) Points

Internal data model


An entity-relation data model
External data model
Logical data model (*)

Incorrect. Refer to Section 2 Lesson 3.

Previous Page 4 of 10 Next Summary

Test: Database Foundations Midterm Exam

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 2
(Answer all questions in this section)

21. Data models are drawn to show users the actual Data that their new system will
contain; only Data listed on the Diagram can be entered into the Database. True or Mark for Review
False? (1) Points

True (*)
False

Correct

22. A foreign key is a column or combination of columns in one table that uniquely
identifies a row of another table. Mark for Review
(1) Points

True (*)
False

Correct
23. A foreign key cannot refer to a primary key in the same table. True or False?
Mark for Review
(1) Points

True
False (*)

Correct

24. Identify all of the incorrect statements that complete this sentence: A primary key
is...(Choose three) Mark for Review
(1) Points

(Choose all correct answers)

One or more columns in a table that uniquely identifies each row in that table.
Only one column that must be null. (*)
A single column that uniquely identifies each column in a table. (*)
A set of columns in one table that uniquely identifies each row in another table.
(*)

Incorrect. Refer to Section 2 Lesson 2.

25. In the relational model, data is organized in two-dimensional tables called


___________. Mark for Review
(1) Points

Row
Tuples
Relations (*)
Field

Correct

Previous Page 5 of 10 Next Summary

Test: Database Foundations Midterm Exam

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 2
(Answer all questions in this section)
26. Flat file databases avoids data duplication. True or False?
Mark for Review
(1) Points

True
False (*)

Correct

27. Which of the following statements is true?


Mark for Review
(1) Points

(Choose all correct answers)

Flat file database systems pay more attention to retrieving data and making it
accessible to the user, whereas relational databases spend more energy updating
indexes and data pointers.
Relational database systems are the main thrust behind SQL since it provides the
language elements needed to tie together the information in the database.
Relational systems pay more attention to retrieving data and making it accessible
to the user.
Both B and C (*)

Correct

Section 3
(Answer all questions in this section)

28. You can only create relationships to a Supertype, not to a Subtype. True or False?
Mark for Review
(1) Points

True
False (*)

Correct

29. Entity names are always singular. True or False?


Mark for Review
(1) Points

True (*)
False

Correct
30. Which of the following is true about subtypes?
Mark for Review
(1) Points

One instance of a supertype may belong to two subtypes.


Subtypes must be mutually exclusive. (*)
Subtypes should not be exhaustive.
Subtypes must not be mutually exclusive.

Correct

Previous Page 6 of 10 Next Summary

Test: Database Foundations Midterm Exam

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 3
(Answer all questions in this section)

31. Modeling historical data can produce a unique identifier that always excludes dates.
True or False? Mark for Review
(1) Points

True
False (*)

Correct

32. Which of the following would be a logical constraint when modeling time for a City
entity? Mark for Review
(1) Points

People are born in the city and people die in the city.
If you are doing a system for any French City, you would need security clearance.
Cites may change their names and/or country association if the borders of a
country change. (*)
Daily traffic patterns must be monitored to determine how many law enforcement
officers are needed.

Correct
33. Relationship Names are optional. True or False?
Mark for Review
(1) Points

True
False (*)

Incorrect. Refer to Section 3 Lesson 6.

34. One Relationship can be mandatory in one direction and optional in the other
direction. True or False? Mark for Review
(1) Points

True (*)
False

Correct

35. In a business that sells pet food, choose the best relationship name between FOOD
TYPE and ANIMAL (e.g. dog, horse, or cat). (Choose Two) Mark for Review
(1) Points

(Choose all correct answers)

Each FOOD TYPE may be made from one or more ANIMALs.


Each ANIMAL must be the seller of one or more FOOD TYPES.
Each FOOD TYPE may be given to one or more ANIMALs. (*)
Each FOOD TYPE must be suitable for one or more ANIMALs. (*)

Correct

Previous Page 7 of 10 Next Summary

Test: Database Foundations Midterm Exam

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 3
(Answer all questions in this section)

36. Transferable relationships can only be mandatory, not optional. True or False?
Mark for Review
(1) Points
True
False (*)

Correct

37. The candidate UID that is chosen to identify an entity is called the Primary UID; other
candidate UIDs are called Secondary UIDs. Mark for Review
(1) Points

No, it is not possible to have more than one UID for an Entity.
No, after UIDs are first sorted, the first one is called the Primary UID, the second
is the Secondary UID, etc.
No, each Entity can only have one UID, the secondary one.
Yes, this is the way UID's are named. (*)

Correct

38. People are not born with "numbers", but a lot of systems assign student numbers,
Mark for Review
customer IDs, etc. ᅠA shoe has a color, a size, a style, but may not have a descriptive
"number". So, to be able to uniquely and efficiently identify one instance of the entity (1) Points
SHOE, a/an ______________ UID can be created.

Unrealistic
Artificial (*)
Identification
Structured

Correct

39. All the Attributes in a system are just written on the ERD, and they all go in the Top
Left Hand Corner of the paper. True or False? Mark for Review
(1) Points

True
False (*)

Correct

40. Attributes that can be divided into smaller subparts are called________________.
Mark for Review
(1) Points

Mandatory Attribute
Single Attribute
Composite Attribute (*)
Volatile Attribute

Incorrect. Refer to Section 3 Lesson 4.

Previous Page 8 of 10 Next Summary

Test: Database Foundations Midterm Exam

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 3
(Answer all questions in this section)

41. The Physical Model is derived from the Conceptual Model. True or False?
Mark for Review
(1) Points

True (*)
False

Correct

42. Physical Model shows all table structures. True or False.


Mark for Review
(1) Points

True (*)
False

Correct

43. When you resolve a M:M, you simply re-draw the relationships between the two
original entities; no new entities are created. True or False? Mark for Review
(1) Points

True
False (*)

Correct
44. Primary UIDs are:
Mark for Review
(1) Points

Something that each Entity should have, but is not mandatory (*)
Always comprised of numbers
Useful as an alternative means of identifying instances of an entity, independent
of their datatype
Mandatory in data modeling

Correct

45. A particular problem may be solved using either a Recursive Relationship or a


Hierarchical Relationship, though not at the same time. True or False? Mark for Review
(1) Points

True (*)
False

Correct

Previous Page 9 of 10 Next Summary

Test: Database Foundations Midterm Exam

Review your answers, feedback, and question scores below. An asterisk (*) indicates a correct answer.

Section 3
(Answer all questions in this section)

46. A new system would have a mixture of both Procedural and Structural Business Rules
as part of the documentation of that new system. True or False? Mark for Review
(1) Points

True (*)
False

Correct

47. Why is it important to identify and document structural rules?


Mark for Review
(1) Points
Ensures we know what data to store and how that data works together. (*)
Ensures nothing. There are no benefits to be gained from documenting your
Structural Business Rules. We need to concentrate on the Procedural Business
Rules only.
Ensures we know what processes are in place and how to program them.
All of the Above.

Correct

48. A business rule such as "We only ship goods after customers have completely paid any
outstanding balances on their account" is best enforced by: Mark for Review
(1) Points

Making the payment attribute null.


We need to trust our customers, and we know they will pay some day.
Hiring a programmer to create additional programming code to verify no goods
are shipped until the account has been settled in full. (*)
Making the payment attribute optional.

Correct

49. No commercial database systems in the world will accept tables that are not on 3rd
Normal Form. True or False? Mark for Review
(1) Points

True
False (*)

Correct

50. According to 3rd Normal Form, an attribute must be dependent on its entity’s entire
unique identifier. True or False. Mark for Review
(1) Points

True
False (*)

Incorrect. Refer to Section 3 Lesson 9.

Previous Page 10 of 10 Summary

Вам также может понравиться