wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Database Management Midterm Exam Part 1

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What does data integrity primarily refer to?

a)

Completeness, accuracy, and reliability

b)

Speed, efficiency, and scalability

c)

Accessibility, flexibility, and security

2.

In data modeling, what does the Entity-Relationship Model (ERM) focus on?

a)

Describing real-world entities and relationships between them

b)

Optimizing database performance and storage

c)

Implementing complex algorithms for data analysis

3.

What is the purpose of a primary key constraint in a database?

a)

To establish links between tables

b)

To ensure each record is uniquely identified

c)

To prevent null values in key attributes

4.

Which constraint ensures that if a foreign key exists in one table, the corresponding primary key exists in another table?

a)

Referential Integrity Constraint

b)

Entity Integrity Constraint

c)

Foreign Key Constraint

5.

What does an Entity-Relationship Diagram (ERD) primarily depict?

a)

The physical layout of database tables

b)

The logical structure of data and relationships between entities

c)

The flow of data within a system

6.

What do the components of an ER Diagram include?

a)

Entities, attributes, and relationships

b)

Tables, rows, and columns

c)

Functions, procedures, and triggers

7.

In a One-to-Many relationship, what is the cardinality?

a)

One entity can be related to only one instance of another entity

b)

One entity can be related to multiple instances of another entity

c)

Multiple instances of one entity can be related to multiple instances of another entity

8.

What ensures that each row in a table is uniquely identified and that no key attributes are null?

a)

Foreign Key Constraint

b)

Entity Integrity Constraint

c)

Primary Key Constraint

9.

What is the role of data constraints in a database?

a)

Ensuring data security

b)

Enhancing data visualization

c)

Ensuring data accuracy, consistency, and reliability

10.

Which constraint uniquely identifies each record in a table?

a)

Referential Integrity Constraint

b)

Foreign Key Constraint

c)

Primary Key Constraint

11.

What does an Entity-Relationship Diagram (ERD) primarily depict?

a)

The logical structure of data and relationships between entities

b)

The physical implementation of database tables

c)

The flow of control within a system

12.

What is the cardinality in a Many-to-Many relationship?

a)

One entity can be related to only one instance of another entity

b)

One entity can be related to multiple instances of another entity

c)

Multiple instances of one entity can be related to multiple instances of another entity

13.

What is the purpose of a foreign key constraint in a database?

a)

To ensure each record is uniquely identified

b)

To establish links between tables by referencing the primary key of another table

c)

To prevent null values in key attributes

14.

In a One-to-One relationship, how are entities related?

a)

One entity can be related to only one instance of another entity, and vice versa

b)

One entity can be related to multiple instances of another entity

c)

Multiple instances of one entity can be related to multiple instances of another entity

15.

Which component of an ER Diagram describes the characteristics or properties of an entity?

a)

Entities

b)

Attributes

c)

Relationships