You are on page 1of 6

Câu 3

An entity may have which of the following?


Experiences

Instances (*)

Tables

None of the above

Câu 10

In which of the following is a single-entity instance of one type related to many entity instances of
another type?
A. One-to-One Relationship

B. One-to-Many Relationship

C. Many-to-Many Relationship

D. Composite Relationship
Answer: Option B

An attribute that names or identifies entity instances is a(n):

A. entity.

B. attribute.

C. identifier.

D. relationship.

Answer: Option C

8. Which of the following entities most likely contains invalid attributes?

Entity: Home. Attributes: Number of Bedrooms, Owner, Address, Date Built

Entity: Pet. Attributes: Name, Birthdate, Owner

Entity: Car. Attributes: Owner Occupation, Owner Salary, Speed

Entity: Mother. Attributes: Name, Birthdate, Occupation, Salary


Entities of a given type are grouped into a(n):

A. database.

B. entity class.

C. attribute.

D. ERD.

Answer: Option B

In a 1:N relationship, the foreign key is placed in:

A. either table without specifying parent and child tables.

B. the parent table.

C. the child table.

D. either the parent table or the child table.

Answer: Option C

Entities can be associated with one another in which of the following?

A. Entities

B. Attributes

C. Identifiers

D. Relationships

Answer: Option D

If a relationship has a cascade updates constraint, then if ________ in the parent


table is changed, then the same change will automatically be made to any
corresponding foreign key value.

A. the primary key

B. any alternate key

C. a surrogate key


D. a foreign key

Answer: Option A

In a 1:N relationship, the foreign key is placed in:

A. either table without specifying parent and child tables.

B. the parent table.

C. the child table.

D. either the parent table or the child table.

Answer: Option C

The command to eliminate a table from a database is:

A. DROP TABLE CUSTOMER;

B. DELETE TABLE CUSTOMER;

C. REMOVE TABLE CUSTOMER;

D. UPDATE TABLE CUSTOMER;

Answer: Option A

SQL query and modification commands make up a(n) ________ .

A. DDL

B. DML

C. HTML

D. XML

Answer: Option B

The identifier of an entity will become the ________ of the new table.

A. foreign key
B. main attribute

C. primary key

D. identity key

Answer: Option C
Section 1
1. What is the purpose of a Unique Identifier? Mark for Review
(1) Points
To uniquely determine a table and columns within that table.
To identify a specific row within a table, using one or more columns and/or foreign keys.
Create an entity that is unlike any other entity aside from itself.
To identify one unique instance of an entity, by using one or more attributes and/or relationships. (*)
 
2. Some of the following could be attributes of an ENTITY called PERSON. Select the incorrect attributes
for PERSON. (Choose Two) Mark for Review
(1) Points
(Choose all correct answers)
Age
Freddy Wilson (*)
Name
Priya Hansenna (*)
 
3. Which of the following statements about attributes are true? (Choose Two) Mark for Review
(1) Points
(Choose all correct answers)
They describe, qualify, quantify, classify, or specify an entity. (*)
They are often adjectives.
They have a data type such as a number or character string. (*)
They must be single valued unless they belong to more than one entity.
 
4. Unique Identifiers.... Mark for Review
(1) Points
distinguish one entity from another
distinguish one instance of an entity from all other instances of that entity (*)
distinguish all entities in a database
distinguishes nothing
 
5. In the following statements, find two examples of ENTITY: Instance. (Choose Two) Mark for Review
(1) Points
(Choose all correct answers)
DAIRY PRODUCT: cow (*)
VEGETABLE: grows
BOOK: Biography of Mahatma Gandhi (*)
TRAIN: runs
 
6. An entity may have which of the following? Mark for Review
(1) Points
experiences
instances (*)
tables
none of the above
 
7. Entities are usually verbs. True or False? Mark for Review
(1) Points
True
False (*)
 
8. 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 (*)
 
9. All of the following would be instances of the entity PERSON except which? Mark for Review
(1) Points
David Jones
Male (*)
Angelina Rosalie
Grace Abinajam
 
10. Which of the following entities most likely contains invalid attributes? Mark for Review
(1) Points
Entity: Home. Attributes: Number of Bedrooms, Owner, Address, Date Built
Entity: Pet. Attributes: Name, Birthdate, Owner
Entity: Car. Attributes: Owner Occupation, Owner Salary, Speed (*)
Entity: Mother. Attributes: Name, Birthdate, Occupation, Salary
 
11. In a physical data model, an attribute is represented as a/an Mark for Review
(1) Points
Column (*)
Row
Instance
Foreign Key
 
12. The word "Volatile" means.... Mark for Review
(1) Points
Changing constantly; unstable (*)
Static; unlikely to change
Large quantity
Limited quantity

You might also like