Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DBMS

Total questions: 20

Worksheet time: 10mins

Name
Class
Date
1.

What does DBMS stand for?

a)

Database Management System

b)

Data Binary Management System

c)

Dynamic Business Management System

d)

Digital Backup Management System

2.

Which of the following is not a type of DBMS model?

a)

Hierarchical

b)

Relational

c)

Sequential

d)

Object-oriented

3.

What is the primary key in a relational database?

a)

A key that uniquely identifies each record in a table

b)

A key that is used for encryption

c)

A key that is used for indexing purposes

d)

A key that is a combination of other keys

4.

Which of the following is not a valid data type in MySQL?

a)

VARCHAR

b)

BOOLEAN

c)

TINYINT

d)

DECIMAL

5.

What does SQL stand for?

a)

Structured Query Language

b)

Sequential Query Language

c)

Structured Question Language

d)

Systematic Query Language

6.

Which of the following is not a SQL command?

a)

SELECT

b)

INSERT

c)

MOVE

d)

UPDATE

7.

Which normal form ensures that there are no repeating groups of data?

a)

First Normal Form (1NF)

b)

Second Normal Form (2NF)

c)

Third Normal Form (3NF)

d)

Fourth Normal Form (4NF)

8.

In a relational database, what is a foreign key?

a)

A key used for opening encrypted data

b)

A key that uniquely identifies each record in a table

c)

A key that links two tables together

d)

A key that is used for indexing purposes

9.

Which SQL clause is used to filter rows from a result set?

a)

WHERE

b)

SELECT

c)

FROM

d)

GROUP BY

10.

What does ACID stand for in database transactions?

a)

Authorization, Consistency, Integrity, Durability

b)

Aggregation, Consistency, Isolation, Durability

c)

Access, Control, Isolation, Durability

d)

Atomicity, Consistency, Isolation, Durability

11.

Which of the following is an example of a DDL (Data Definition Language) statement?

a)

SELECT

b)

INSERT

c)

CREATE

d)

UPDATE

12.

Which type of join returns all rows when there is a match in one of the tables?

a)

Inner join

b)

Left join

c)

Right join

d)

Full outer join

13.

Which SQL function is used to return the current date and time?

a)

GETDATE( )

b)

NOW( )

c)

CURRENT_TIMESTAMP ( )

d)

SYSDATE( )

14.

What is the purpose of normalization in database design?

a)

To speed up database performance

b)

To eliminate redundancy and dependency

c)

To make databases smaller in size

d)

To encrypt sensitive data

15.

Which of the following is not a property of a relation in the relational model?

a)

Each cell contains exactly one atomic (indivisible) value

b)

Values in a column must be of the same data type

c)

Rows in a table have no defined order

d)

Each row in a table is unique

16.

In which normal form is a relation if it is in Second Normal Form (2NF) and every non-prime attribute is fully functionally dependent on the primary key?

a)

First Normal Form (1NF)

b)

Second Normal Form (2NF)

c)

Third Normal Form (3NF)

d)

Boyce-Codd Normal Form (BCNF

17.

Which SQL command is used to add a new column to an existing table?

a)

ALTER TABLE

b)

UPDATE TABLE

c)

MODIFY TABLE

d)

ADD COLUMN

18.

Which of the following is not a type of SQL constraint?

a)

UNIQUE

b)

DEFAULT

c)

EXCLUSIVE

d)

FOREIGN KEY

19.

In the context of database transactions, what does the term "isolation level" refer to?

a)

The level of security encryption applied to the database

b)

The degree to which transactions are isolated from each other

c)

The level of database indexing applied to improve query performance

d)

The level of redundancy introduced into the database schema

20.

What is the purpose of the DML (Data Manipulation Language) command "MERGE" in SQL?

a)

To combine multiple columns into a single column

b)

To insert new rows into a table

c)

To update existing rows or insert new rows if they do not exist

d)

To delete rows from a table based on specified conditions