wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

DBMS

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What is the primary purpose of the relational model in databases?

a)

Organize data in tables

b)

Create graphical representations

c)

Perform complex calculations

d)

Manage network connections

2.

What is a database schema?

a)

A visual representation of database tables

b)

A set of rules for database normalization

c)

A collection of database objects, including tables and relationships

d)

A database backup file

3.

In the context of a relational database, what is a key?

a)

A physical lock securing the database server

b)

A unique identifier for a record in a table

c)

A type of encryption algorithm

d)

A graphical representation of data relationships

4.

What does a schema diagram visually represent?

a)

Database operations

b)

Table structures and their relationships

c)

SQL queries

d)

Database security measures

5.

Which of the following is a fundamental relational algebra operation?

a)

Join

b)

Aggregate

c)

Project

d)

Update

6.

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

a)

Combine rows from different tables

b)

Filter rows based on a condition

c)

Add new records to a table

d)

Sort the table in ascending order

7.

Which additional relational algebra operation is used to combine rows from two tables?

a)

Union

b)

Join

c)

Project

d)

Intersect

8.

What is the purpose of the EXTEND operation in extended relational algebra?

a)

Add new attributes to a table

b)

Remove existing attributes from a table

c)

Create a new table

d)

Sort the table in descending order

9.

How are null values represented in a relational database?

a)

As the number 0

b)

As an empty string

c)

As a special marker or indicator

d)

Null values are not allowed in relational databases

10.

What does the term "modification of the database" refer to?

a)

Querying the database

b)

Updating, inserting, or deleting records in the database

c)

Changing the database schema

d)

Creating a backup of the database

11.

In relational databases, what is the purpose of the UPDATE operation?

a)

Add new records to a table

b)

Remove records from a table

c)

Modify existing records in a table

d)

Combine rows from different tables

12.

What is the role of relational query languages in database management?

a)

Define the physical storage structure of the database

b)

Perform mathematical operations on the database

c)

Provide a way to interact with the database using queries

d)

Ensure data consistency in the database

13.

Which of the following is an example of a relational database management system (RDBMS)?

a)

MongoDB

b)

Oracle

c)

Redis

d)

Cassandra

14.

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

a)

Combine rows from different tables

b)

Filter rows based on a condition

c)

Remove unwanted columns from a table

d)

Sort the table in ascending order

15.

In a relational schema, what is a foreign key?

a)

A key that uniquely identifies a record in a table

b)

A key that is used for encryption

c)

A reference to a primary key in another table

d)

A key that allows null values

16.

What is the primary goal of normalization in the context of a relational database?

a)

Maximize data redundancy

b)

Minimize data security

c)

Organize data to reduce data duplication and dependency

d)

Increase query performance

17.

Which relational algebra operation is used to eliminate duplicate rows from a table?

a)

Union

b)

Join

c)

Project

d)

Intersect

18.

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

a)

Combine rows from different tables

b)

Retrieve common rows from two tables

c)

Remove unwanted columns from a table

d)

Sort the table in descending order

19.

How does the JOIN operation in relational algebra work?

a)

Concatenates two tables vertically

b)

Combines rows from two tables based on a common attribute

c)

Creates a new table with only unique values

d)

Removes unwanted columns from a table

20.

What is the significance of primary keys in the relational model?

a)

They uniquely identify a record in a table

b)

They allow null values in a table

c)

They are used for encryption

d)

They define the physical storage structure of the database