• 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 8

Document preview thumbnail
Preview 3 out of 30 pages

DM 2 – Database Design and Development 8

Content preview

1. Which of the following is a logical model in database design?

A. Relational model

B. Physical model

C. Columnar model

D. File system model

Answer: A

Rationale: The relational model is a logical model in database design, where data is

stored in tables and manipulated using SQL.




2. A stored procedure in SQL is:

A. A precompiled set of SQL statements that can be executed.

B. A temporary table used to store query results.

C. A method for normalizing data.

D. A database function that returns a value.

Answer: A

,Rationale: A stored procedure is a precompiled set of SQL statements that can be

executed repeatedly, which helps with code reuse and performance optimization.




3. Which of the following is a constraint in a database?

A. Primary key

B. Data type

C. Foreign key

D. All of the above

Answer: D

Rationale: Primary keys, foreign keys, and data types are all types of constraints

that enforce data integrity rules within a database.




4. What is the purpose of a transaction in a database system?

A. To ensure the database is backed up.

B. To maintain the integrity of a series of operations.

C. To create a new database table.

D. To optimize data storage.

Answer: B

, Rationale: A transaction ensures that a series of database operations are executed

as a single unit. It follows the ACID properties (Atomicity, Consistency, Isolation,

Durability) to maintain database integrity.




5. 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.




6. 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.

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