wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

DBMS Quiz

Total questions: 50

Worksheet time: 38mins

Name
Class
Date
1.

DBMS stands for:

a)

Database Managing Software

b)

Database Management System

c)

Data Managing Structure

d)

Data Base Manipulation System

2.

Which of the following is NOT a DBMS example?

a)

MySQL

b)

Oracle

c)

MS SQL Server

d)

HTML

3.

In traditional file processing systems, data redundancy means:

a)

Same data stored multiple times

b)

No duplicate data

c)

Only unique values stored

d)

Data always compressed

4.

Which is NOT an advantage of DBMS?

a)

Data security

b)

Data redundancy

c)

Backup and recovery

d)

Multiple user access

5.

Which of the following is NOT an application of DBMS?

a)

Payroll system

b)

E-commerce websites

c)

Social media

d)

Word processors

6.

Which advantage of DBMS ensures transactions are executed fully or not at all?

a)

Atomicity

b)

Consistency

c)

Redundancy

d)

Integrity

7.

Which DBMS advantage avoids data duplication?

a)

Data security

b)

Data isolation

c)

Reduce redundancy

d)

Backup and recovery

8.

Which application of DBMS is related to Netflix?

a)

Banking

b)

Online television streaming

c)

Payroll

d)

Hospital management

9.

Restricting unauthorized access to data is an example of:

a)

Atomicity

b)

Security

c)

Recovery

d)

Data isolation

10.

Which feature of DBMS allows more than one user to access data simultaneously?

a)

Multi-user support

b)

Integrity constraints

c)

Atomicity

d)

Schema

11.

Which abstraction level shows how data is physically stored?

a)

Logical level

b)

View level

c)

Physical level

d)

Conceptual level

12.

Logical level describes:

a)

How data is stored physically

b)

What data is stored and relationships

c)

User-specific views

d)

Data compression

13.

External level is also called:

a)

Physical level

b)

View level

c)

Conceptual level

d)

Schema level

14.

Ability to change physical schema without affecting logical schema is:

a)

Logical data independence

b)

Physical data independence

c)

Data abstraction

d)

Data isolation

15.

Adding a new attribute without changing application programs is:

a)

Physical independence

b)

Logical independence

c)

Data redundancy

d)

Data inconsistency

16.

Naive users:

a)

Write SQL queries directly

b)

Use ready-made applications

c)

Design databases

d)

Maintain security

17.

DBA is responsible for all EXCEPT:

a)

Schema definition

b)

Performance monitoring

c)

Playing games

d)

Backup and recovery

18.

Which user type uses SQL tools directly?

a)

Naive user

b)

Sophisticated user

c)

Application programmer

d)

End user

19.

Granting authorization for data access is done by:

a)

Application programmer

b)

DBA

c)

End user

d)

Query processor

20.

Assisting application programmers is a role of:

a)

Sophisticated user

b)

DBA

c)

Data dictionary

d)

Buffer manager

21.

Which is NOT a mapping cardinality?

a)

One-to-One

b)

One-to-Many

c)

Many-to-Many

d)

One-to-None

22.

A weak entity is identified by:

a)

Its own primary key

b)

A foreign key and partial key

c)

Only a foreign key

d)

Composite attribute

23.

Primary key:

a)

Allows NULL values

b)

Uniquely identifies a record

c)

Can have duplicates

d)

Is optional in a table

24.

NOT NULL constraint ensures:

a)

No duplicate values

b)

No null values

c)

Always indexed

d)

Always a key

25.

Foreign key maintains:

a)

Redundancy

b)

Referential integrity

c)

Data compression

d)

Physical independence

26.

Network model organizes data as:

a)

Tables

b)

Nodes and edges

c)

Objects

d)

Hierarchies

27.

Object-oriented model organizes data as:

a)

Graph nodes

b)

Tables

c)

Objects with attributes and methods

d)

Keys and constraints

28.

Relational model stores data in:

a)

Graphs

b)

Tables

c)

Trees

d)

Blocks

29.

Which model uses pointers for relationships?

a)

Network model

b)

Object-oriented model

c)

Relational model

d)

Physical model

30.

ER diagrams mainly show:

a)

Physical storage

b)

Entities and relationships

c)

SQL syntax

d)

File paths

31.

SQL command to create a table:

a)

INSERT

b)

CREATE

c)

UPDATE

d)

SELECT

32.

To find average age:

a)

SUM()

b)

AVG()

c)

COUNT()

d)

MAX()

33.

Retrieve students with branchcode 5:

a)

SELECT * FROM T1 WHERE branchcode=5;

b)

SELECT branchcode=5 FROM T1;

c)

SELECT T1.branchcode=5;

d)

DISPLAY branchcode=5;

34.

Change student age to 20 where rollno=1:

a)

UPDATE T1 SET age=20 WHERE rollno=1;

b)

MODIFY T1 age=20 rollno=1;

c)

CHANGE age=20 FROM T1;

d)

ALTER T1 age=20;

35.

Delete students of age 18:

a)

REMOVE FROM T1 WHERE age=18;

b)

DELETE * FROM T1 WHERE age=18;

c)

DELETE FROM T1 WHERE age=18;

d)

DROP FROM T1 WHERE age=18;

36.

Add a new branch:

a)

INSERT INTO T2 VALUES (...);

b)

ADD INTO T2 VALUES (...);

c)

CREATE INTO T2 VALUES (...);

d)

UPDATE T2 VALUES (...);

37.

Retrieve branch info in descending order:

a)

SELECT * FROM T2 ORDER BY branchname DESC;

b)

SELECT DESC branchname FROM T2;

c)

SELECT branchname DOWN FROM T2;

d)

ORDER branchname FROM T2;

38.

GRANT command is used to:

a)

Withdraw privileges

b)

Give access rights

c)

Delete a table

d)

Create a table

39.

REVOKE command is used to:

a)

Give privileges

b)

Withdraw privileges

c)

Commit changes

d)

Rollback changes

40.

COMMIT command:

a)

Saves changes permanently

b)

Undoes changes

c)

Gives access

d)

Deletes rows

41.

COUNT() function returns:

a)

Sum of values

b)

Average value

c)

Number of rows

d)

Minimum value

42.

SUM() function is used to:

a)

Count rows

b)

Calculate total

c)

Find maximum

d)

Average values

43.

MAX() returns:

a)

Highest value

b)

Lowest value

c)

Sum of values

d)

Count of values

44.

MIN() returns:

a)

Highest value

b)

Lowest value

c)

Sum of values

d)

Count of values

45.

AVG() returns:

a)

Count of rows

b)

Average value

c)

Minimum value

d)

Maximum value

46.

Schema is:

a)

A snapshot of database

b)

Overall design of database

c)

A row in database

d)

A column in database

47.

Instance is:

a)

Permanent structure of database

b)

Collection of data at a specific time

c)

A SQL query

d)

A storage device

48.

DDL statements are:

a)

Auto-committed

b)

Rollback-able

c)

Temporary

d)

Not stored

49.

DML statements are:

a)

Auto-committed

b)

Rollback-able

c)

Only read data

d)

Only delete data

50.

The data dictionary stores:

a)

User data

b)

Metadata

c)

Indexes only

d)

Queries only