• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 3 out of 30 pages
Exam (elaborations)

DM 2 – Database Design and Development 2

Document preview thumbnail
Preview 3 out of 30 pages

DM 2 – Database Design and Development 2

Content preview

1. Which of the following is not a characteristic of NoSQL databases?

A. Schema-less design

B. Horizontal scalability

C. Strong consistency

D. Non-relational data model

Answer: C

Rationale: NoSQL databases are often designed for horizontal scalability and

flexibility with a schema-less structure. They may favor eventual consistency over

strict consistency.




2. In the context of entity-relationship (ER) modeling, an entity is represented by:

A. A rectangle.

B. An oval.

C. A diamond.

D. A hexagon.

Answer: A

,Rationale: In ER modeling, entities are represented by rectangles, which symbolize

the objects or things in the real world that are of interest to the database.




3. The many-to-one relationship in a database means:

A. Many records in one table can correspond to one record in another table.

B. One record in a table corresponds to many records in another table.

C. A record in one table corresponds to a unique record in another table.

D. One record in a table corresponds to no records in another table.

Answer: A

Rationale: A many-to-one relationship means that many records in one table can

correspond to a single record in another table.




4. Which of the following is an example of a composite key?

A. A single column that uniquely identifies a record.

B. A combination of two or more columns that uniquely identify a record.

C. A key that contains duplicate values.

D. A key that relates to another table.

Answer: B

, Rationale: A composite key is made up of two or more columns in a table that

together uniquely identify a record.




5. In a many-to-many relationship, which of the following is typically required?

A. A composite primary key.

B. A foreign key.

C. A junction table.

D. A view.

Answer: C

Rationale: In many-to-many relationships, a junction table (also called an

associative table) is needed to handle the relationship between the two entities by

storing foreign keys from both entities.




6. The secondary key in a database is:

A. A key that is used to uniquely identify a record.

B. A key used for faster searches but does not have to be unique.

C. A key that references a primary key in another table.

D. A key that enforces referential integrity.

Document information

Uploaded on
March 17, 2025
Number of pages
30
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$10.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
douglasmugwe82
5.0
(1)
Sold
2
Followers
0
Items
4215
Last sold
1 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions