wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Information Management Midterm Exam

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

What is the primary purpose of an index in a database?

a)

To increase storage space

b)

To slow down data retrieval

c)

To map data for faster retrieval

d)

To delete data

2.

Which of the following is NOT a type of index?

a)

B-tree index

b)

Hash index

c)

Bitmap index

d)

Array index

3.

In SQL, which statement is used to create an index?

a)

SELECT INDEX

b)

CREATE INDEX

c)

INSERT INDEX

d)

UPDATE INDEX

4.

What happens when a query with a WHERE clause is executed on a table without an index?

a)

The database uses binary search to find matching rows

b)

The database engine scans the entire table row by row

c)

The query is automatically optimized without any index

d)

The database engine ignores the WHERE clause

5.

If you frequently use two columns in the WHERE clause of a query, which type of index would be the most efficient?

a)

Single-column index

b)

Composite index

c)

No index

d)

Full-text index

6.

Which component of an index contains the actual data references?

a)

Search Key

b)

Data Reference

c)

Hash Key

d)

Index Key

7.

How does the buffer manager in DBMS handle data blocks when there is no space left in the buffer?

a)

It immediately crashes

b)

It removes older blocks and writes updated blocks to disk

c)

It ignores new data requests

d)

It duplicates existing data blocks

8.

What is the role of a web crawler in the context of web indexing?

a)

To block all access to websites

b)

To store webpages permanently

c)

To systematically browse and index web pages

d)

To optimize database storage

9.

What is the main trade-off when creating multiple indexes on a table?

a)

Improved performance and reduced maintenance

b)

Faster data retrieval but increased disk space usage and slower modification operations

c)

Slower retrieval times but better data accuracy

d)

Reduced storage but faster index creation

10.

In buffer management, why is it necessary to carefully allocate space for database buffers in main memory?

a)

Because the main memory has unlimited space

b)

To ensure that all data can always be accessed from disk

c)

To minimize the number of transfers between disk storage and main memory

d)

To increase the frequency of disk accesses

11.

What is a relational database?

a)

A system for managing social media posts

b)

A digital spreadsheet for managing calculations

c)

A digital filing cabinet for storing and organizing connected data

d)

A program for sending emails

12.

Which key uniquely identifies each record in a relational database table?

a)

Foreign key

b)

Composite key

c)

Primary key

d)

Alternate key

13.

What ensures that the foreign key value exists in the referenced table's primary key?

a)

Referential integrity

b)

Entity integrity

c)

Redundancy

d)

Normalization

14.

Which process organizes data into a structure that eliminates redundancies in a database?

a)

Denormalization

b)

Normalization

c)

Indexing

d)

Aggregation

15.

In a table with attributes (Employee_ID, Employee_Name, Employee_Department), which attribute is functionally dependent on Employee_ID?

a)

Employee_Department

b)

Employee_Name

c)

Both Employee_Name and Employee_Department

d)

None

16.

Which SQL operation is commonly used to link tables together by their foreign and primary keys?

a)

Union

b)

Join

c)

Select

d)

Aggregate

17.

Which of the following represents a multi-valued dependency?

a)

A student can enroll in multiple courses, and each course can be taught by multiple instructors

b)

A customer places only one order at a time

c)

Each product has a unique SKU number

d)

An employee belongs to a single department

18.

Which normal form deals with removing multi-valued dependencies in a database?

a)

First Normal Form (1NF)

b)

Third Normal Form (3NF)

c)

Fourth Normal Form (4NF)

d)

Boyce-Codd Normal Form (BCNF)

19.

Which property ensures that a decomposition of a schema does not lose any information when joined back together?

a)

Dependency-preservation

b)

Lossless-join

c)

Transitivity

d)

Closure

20.

In Boyce-Codd Normal Form (BCNF), which condition must be met?

a)

Every non-key attribute must depend on the whole primary key

b)

Every determinant must be a candidate key

c)

There must be no transitive dependencies

d)

Each table must have a foreign key

21.

What is a database?

a)

A collection of unrelated data

b)

A collection of organized data that users can access electronically

c)

A single table of records

d)

A programming language

22.

Which of the following is a sublanguage in SQL?

a)

Data Construction Language

b)

Data Definition Language

c)

Data Aggregation Language

d)

Data Query Language

23.

What does SQL stand for?

a)

Simple Query Language

b)

Structured Query Language

c)

Script Query Language

d)

System Query Language

24.

Which SQL statement is used to update existing data in a table?

a)

UPDATE

b)

INSERT

c)

DELETE

d)

CREATE

25.

Which of the following SQL functions is used to retrieve records that match multiple conditions?

a)

SELECT

b)

UPDATE

c)

WHERE AND

d)

INSERT

26.

What is the role of the SELECT statement in SQL?

a)

To delete data from a database

b)

To extract data from a database

c)

To update records in a table

d)

To define a database schema

27.

Which command is used to remove records from a table in SQL?

a)

UPDATE

b)

INSERT

c)

DELETE

d)

SELECT

28.

What is the purpose of the WHERE clause in SQL?

a)

It defines the structure of a table

b)

It specifies the columns to be retrieved

c)

It is used to filter records that meet specific criteria

d)

It updates the data in a table

29.

Which of the following best describes a "projection" operation in SQL?

a)

Retrieving rows from a table based on conditions

b)

Selecting specific columns from a table while ignoring others

c)

Combining data from multiple tables using a common key

d)

Grouping data by one or more columns and applying aggregate functions

30.

Which SQL sequence is used to combine data from multiple tables based on a common column or key?

a)

Select-Project-Join

b)

Group By-Order By

c)

Aggregate-Filter-Join

d)

Union-All