wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DBMS Practical Quiz

Total questions: 40

Worksheet time: 40mins

Name
Class
Date
1.

Which of the following is a property of database

a)

Represents some aspect of the real world

b)

Logically related collection of data

c)

Built, and populated with data for a specific purpose

d)

All the above

2.

A database management system (DBMS) is a collection of programs that enables users to

a)

create a database

b)

manipulate a database

c)

both create and manipulate a database

d)

for storing data only

3.

Which one of the following is used to define the structure of the relation, deleting relations and relating schemas?

a)

DML(Data Manipulation Langauge)

b)

DDL(Data Definition Langauge)

c)

Query

d)

Relational Schema

4.

Which one of the following is used to define the structure of the relation, deleting relations and relating schemas?

a)

DML(Data Manipulation Langauge)

b)

DDL(Data Definition Langauge)

c)

Query

d)

Relational Schema

5.

CREATE TABLE employee (name VARCHAR, id INTEGER)

What type of statement is this?

a)

DML

b)

DDL

c)

View

d)

Integrity constraint

6.

The SQL used by front-end application programs to request data from the DBMS is called _______

a)

A. DML

b)

B .DDL

c)

C .VDL

d)

D. SDL

7.

The command used to delete a particular column in a relation is ____________

a)

A.UPDATE TABLE

b)

B.TRUNCATE COLUMN

c)

C.ALTER , DROP

d)

D.DELETE COLUMN

8.

What is the full form of DDL ?

a)

A.Dynamic Data Language

b)

B.Detailed Data Language

c)

C.Data Definition Language

d)

D.Data Derivation Language

9.

In SQL, which command is used to SELECT only one copy of each set of duplicable rows

a)

A. SELECT DISTINCT

b)

B. SELECT UNIQUE

c)

C. SELECT DIFFERENT

d)

D. All of the above

10.

In SQL, which command is used to SELECT only one copy of each set of duplicable rows

a)

A. SELECT DISTINCT

b)

B. SELECT UNIQUE

c)

C. SELECT DIFFERENT

d)

D. All of the above

11.

A database management system (DBMS) is a collection of programs that enables users to

a)

create a database

b)

manipulate a database

c)

both create and manipulate a database

d)

for storing data only

12.

The database definition or descriptive information is also stored by the DBMS in the form of a _______________

a)

Data catalog

b)

excel file

c)

document file

d)

pdf file

13.

The database and DBMS software together is called a ________________

a)

Database system

b)

Data Model

c)

Application Program

d)

System software

14.
A database entity is also known as:
a)
a table
b)
a field
c)
a row
d)
a report
15.
A database entity is also known as:
a)
a table
b)
a field
c)
a row
d)
a report
16.

What does "SQL" stand for?

a)

Structured Question Language

b)

Structured Query Language

c)

Simple Query Language

d)

Simple Question Language

17.

What does "SQL" stand for?

a)

Structured Question Language

b)

Structured Query Language

c)

Simple Query Language

d)

Simple Question Language

18.

How do we select all rows for the "Designer" table?

a)

SELECT * FROM Designer

b)

SELECT [All] FROM Designer

c)

SELECT Designer.*

d)

SELECT FROM Designer

19.

Data redundancy occurs

a)

when the same piece of data exists in multiple places.

b)

when there is mismatch of data.

c)

when there is NULL values.

d)

when there is multiple values for an attribute.

20.

ACID properties means

a)

Atomicity, Consistency, Isolation, and Deletion

b)

Atomicity, Consistency, Identification, and Deletion

c)

Atomicity, Consistency, Isolation, and Durability

d)

Atomicity, Construction, Isolation, and Deletion

21.

In an E-R diagram attributes are represented by

a)

square

b)

ellipse

c)

rectangle

d)

triangle

22.

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

23.

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

24.

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

25.

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

26.

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

27.

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

28.

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

29.

........... in DBMS is the simplest architecture of Database in which the client, server, and Database all reside on the same machine.

a)

1 Tier architecture

b)

2 Tier architecture

c)

3 Tier architecture

d)

n Tier architecture

30.

Which one of these cannot be taken as a primary key?

a)

ID

b)

registration no

c)

Department ID

d)

Street

31.

Which functional dependency types is/are not present in the following dependencies?

Empno -> EName, Salary, Deptno, DName

DeptNo -> DName

EmpNo -> DName

a)

A. Full functional dependency

b)

B. Partial functional dependency

c)

C. Transitive functional dependency

d)

D. Both B and C

32.

Consider a relation R(A,B,C,D,E) with the following functional dependencies:

ABC -> DE and

D -> AB

The number of superkeys of R is:

a)

2

b)

7

c)

10

d)

12

33.

Suppose relation R(A,B,C,D,E) has the following functional dependencies:

A -> B

B -> C

BC -> A

A -> D

E -> A

D -> E

Which of the following is not a key?

a)

a) A

b)

b) E

c)

c) B, C

d)

d) D

34.

A table is in BCNF if it is in 3NF and if every determinant is a ___________ key.

a)

Dependent

b)

Normal

c)

Candidate

d)

Both Normal and Candidate

35.

What is TRUE about 5NF?

a)
  1. A relation is in 5NF if it is in 4NF, does not contain any join dependencies, and has lossless joining.

b)
  1. In order to avoid redundancy, 5NF ensures that the tables are broken up in as many ways as possible.

c)
  1. Project-join normal form (5NF) is sometimes referred to as Project-join NF.

d)
  1. All of the above

36.

........... is the process of minimizing redundancy from a relation or set of relations.

a)

Normalization

b)

Data redundancy

c)

Data consistency

d)

Schema

37.

To preserve the integrity and consistency of data, the database system must ensure

a)

Atomicity

b)

Isolation

c)

Durability

d)

Consistency

e)

All of the above

38.

Logical design of database, is known to be________

a)

Database relation

b)

Database instance

c)

 Database Schema

d)

Database entity

39.

Collections of operations that form a single logical unit of work are called __________

a)

Views

b)

Networks

c)

Units

d)

Transactions

40.

Which of the following is not a property of a transaction?

a)

Atomicity

b)

Simplicity

c)

Isolation

d)

Durability