wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Database Management System Quiz

Total questions: 52

Worksheet time: 52mins

Name
Class
Date
1.

What does a Database Management System (DBMS) do?

a)

Handles physical storage of data

b)

Manages and organizes data efficiently

c)

Only allows data retrieval

d)

Only handles hardware storage issues

2.

What is an example of a real-time DBMS application?

a)

Searching files in Windows Explorer

b)

A library management system

c)

Storing text files in a folder

d)

Writing code in a text editor

3.

Which is NOT a feature of DBMS?

a)

Data redundancy

b)

Data security

c)

Backup and recovery

d)

Scalability

4.

What does DDL stand for in SQL?

a)

Data Development Language

b)

Data Definition Language

c)

Data Description Language

d)

Data Deployment Language

5.

Which of the following is NOT a DML operation?

a)

INSERT

b)

DELETE

c)

UPDATE

d)

CREATE

6.

What is the purpose of the WHERE clause in SQL?

a)

To modify table structures

b)

To filter rows based on a condition

c)

To group rows

d)

To sort the result set

7.

What type of user interacts with a database indirectly through an application?

a)

Naive User

b)

Database Administrator

c)

Application Developer

d)

System Analyst

8.

Which is an advantage of a DBMS?

a)

Increased data duplication

b)

Difficult access control

c)

Centralized data management

d)

No security mechanisms

9.

What is a view in a database?

a)

A stored procedure

b)

A virtual table

c)

A physical table

d)

A type of index

10.

Which of the following is NOT a type of database user?

a)

End User

b)

Network Administrator

c)

System Analyst

d)

Database Designer

11.

What is a surrogate key in database normalization?

a)

A natural key

b)

A primary key with user-defined values

c)

A generated unique identifier

d)

A secondary key

12.

Which SQL command is used to remove a table?

a)

DELETE TABLE

b)

REMOVE TABLE

c)

DROP TABLE

d)

ERASE TABLE

13.

In which normal form does a relation have no multivalued dependencies?

a)

2NF

b)

BCNF

c)

4NF

d)

5NF

14.

What is the main purpose of using indexing in a database?

a)

To define table structure

b)

To improve query performance

c)

To ensure data integrity

d)

To manage transactions

15.

What does ACID stand for in transactions?

a)

Atomicity, Consistency, Isolation, Durability

b)

Accuracy, Consistency, Integrity, Durability

c)

Atomicity, Clarity, Isolation, Dependency

d)

Accuracy, Clarity, Isolation, Dependency

16.

Which concurrency protocol uses timestamps?

a)

Lock-based protocol

b)

Time-based protocol

c)

Timestamp ordering protocol

d)

Optimistic concurrency protocol

17.

What is the role of a foreign key in a relational database?

a)

Uniquely identifies each row

b)

Links data between tables

c)

Ensures data redundancy

d)

Acts as a surrogate key

18.

Which of the following is NOT an aggregate function in SQL?

a)

COUNT

b)

SUM

c)

AVG

d)

SUBSTR

19.

What is an Entity-Relationship (E-R) model primarily used for?

a)

Defining keys in a table

b)

Designing database structure and relationships

c)

Performing database normalization

d)

Creating SQL queries

20.

Which type of index organizes data in a tree-like structure?

a)

Hash index

b)

B+ Tree index

c)

Sequential index

d)

Clustered index

21.

What does a database schema define?

a)

The software used to manage the database

b)

The way data is structured and organized

c)

The physical storage devices used

d)

The network used for database access

22.

What does a logical schema include?

a)

File storage formats

b)

Tables, columns, data types, and relationships

c)

Indexing and partitions

d)

Hardware specifications

23.

What is the primary purpose of a view schema?

a)

To define physical storage formats

b)

To create user-specific views of data

c)

To manage database indexing

d)

To organize file storage

24.

Which layer of the three-tier schema architecture deals with physical storage?

a)

Internal Schema

b)

Conceptual Schema

c)

External Schema

d)

View Schema

25.

Logical data independence refers to changes in the:

a)

Internal schema affecting external schemas

b)

Conceptual schema not impacting external schemas

c)

External schema affecting the internal schema

d)

Physical schema not affecting the conceptual schema

26.

What is the purpose of the Recovery Manager in DBMS?

a)

To process user queries

b)

To recover the database to a consistent state after a failure

c)

To optimize database queries

d)

To schedule concurrent query execution

27.

Which DBMS component is responsible for enforcing data integrity?

a)

Data Dictionary Manager

b)

Query Optimizer

c)

Integrity Checker

d)

Recovery Manager

28.

What does the term "data independence" in DBMS signify?

a)

Independent access to files without DBMS

b)

Layers of the database not impacting each other

c)

Storage of data independent of user queries

d)

Independent processing of multiple queries

29.

What is an example of a weak entity?

a)

An entity with a primary key

b)

An entity without a key attribute

c)

An entity with composite attributes

d)

An entity with a multi-valued attribute

30.

Which architecture centralizes all database components on a single server?

a)

Client-server architecture

b)

Distributed architecture

c)

Centralized architecture

d)

Peer-to-peer architecture

31.

In the ER model, what symbol represents attributes?

a)

Rectangle

b)

Ellipse

c)

Diamond

d)

Line

32.

What does the diamond symbol in an ER diagram represent?

a)

Entities

b)

Attributes

c)

Relationships

d)

Multi-valued attributes

33.

What does a row in a relational database table represent?

a)

Attribute

b)

Relation

c)

Tuple

d)

Schema

34.

What is the term for a column in a table according to the relational model?

a)

Attribute

b)

Schema

c)

Domain

d)

Tuple

35.

Which term describes the logical structure of a database?

a)

Database instance

b)

Database schema

c)

Relation schema

d)

Relational algebra

36.

What is the purpose of a candidate key?

a)

To act as a foreign key

b)

To uniquely identify a row

c)

To combine multiple relations

d)

To store duplicate rows

37.

Which key is a minimal set of attributes that can uniquely identify a row?

a)

Superkey

b)

Primary key

c)

Foreign key

d)

Candidate key

38.

In relational algebra, what does the projection operation do?

a)

Filters rows based on a condition

b)

Combines two tables

c)

Returns specific columns from a table

d)

Renames attributes

39.

What is the symbol for the selection operation in relational algebra?

a)

π

b)

σ

c)

d)

×

40.

What type of query language is relational algebra classified as?

a)

Declarative

b)

Procedural

c)

Non-procedural

d)

Imperative

41.

What is the purpose of the Cartesian product operation in relational algebra?

a)

Select rows that satisfy a condition

b)

Combine all rows from two relations

c)

Return the difference between two relations

d)

Create a new schema

42.

What is the result of the union operation in relational algebra?

a)

Common rows from two relations

b)

Rows present in one relation but not the other

c)

Rows from both relations, combined

d)

A new schema with renamed attributes

43.

Which operator in relational algebra allows renaming of attributes?

a)

π

b)

σ

c)

ρ

d)

×

44.

What must be true for two relations to perform a union operation?

a)

The relations must have the same attributes.

b)

The relations must have a common primary key.

c)

The relations must be stored in the same schema.

d)

The relations must have no null values.

45.

What is a foreign key used for?

a)

Uniquely identifying rows in a relation

b)

Establishing a relationship between two relations

c)

Filtering rows in a query

d)

Renaming attributes in a relation

46.

What is the result of the set difference operation in relational algebra?

a)

All rows from two relations combined

b)

Rows in the first relation not present in the second

c)

Common rows from two relations

d)

Renamed attributes in the output

47.

What does the domain of an attribute represent?

a)

The set of all possible values for the attribute

b)

The primary key of a relation

c)

The relationship between attributes

d)

The physical location of the attribute

48.

What does the term 'relation instance' refer to?

a)

The schema of a relation

b)

A specific set of rows in a relation

c)

A foreign key in a relation

d)

The attributes of a relation

49.

What is the purpose of the assignment operation in relational algebra?

a)

To rename relations

b)

To store intermediate results in variables

c)

To project specific columns

d)

To join two relations

50.

Which operator is used to find common tuples in two relations?

a)

b)

c)

d)

×

51.

What does the relational model use to represent relationships among values?

a)

Tables and attributes

b)

Rows and columns

c)

Tuples and relations

d)

Domains and schemas

52.

What does the null value in a relational database signify?

a)

A foreign key

b)

A primary key

c)

An unknown or missing value

d)

A duplicated value