wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Database management systems

Total questions: 58

Worksheet time: 29mins

Name
Class
Date
1.

The following are the functions of a DBMS except

a)

Creating database

b)

Processing data

c)

Creating and processing forms

d)

Administrating database

2.

The term _____ is used to refer a row

a)

Record

b)

Primary key

c)

Foreign key

d)

Field

3.

Consider attributes ID, CITY and NAME. which one of these can be considered as a primary key?

a)

NAME

b)

ID

c)

CITY

d)

ID, NAME

4.

Which one of the following is NOT an advantage of DBMS

a)

Increased data consistency

b)

Reduced data redundancy

c)

Improved data security

d)

Increase data isolation

5.

Which of the following gives a logical structure of the database graphically?

a)

Entity - relationship diagram

b)

Entity diagram

c)

Database diagram

d)

Architectural representation

6.

If you were collecting and storing information about your music collection, an album would be considered a/an _______

a)

Relation

b)

Instance

c)

Entity

d)

Attribute

7.
A database management system (DBMS) is a:
a)
Software system used to create, maintain, and provide controlled access to a database
b)
Hardware system used to create, maintain, and provide controlled access to a database
c)
Hardware system used to create, maintain, and provide uncontrolled access to a database
d)
Software system used to create, maintain, and provide uncontrolled access to a database
8.
The term attribute refers to a ________ of a table
a)
Record
b)
Foreign key
c)
Primary key
d)
Field
9.

Disadvantages of File systems to store data is:

a)

Data redundancy and inconsistency

b)

Difficulty in accessing data

c)

Data isolation

d)

All of the above

10.

Data Manipulation Language enables users to

a)

Retrieval of information stored in database

b)

Insertion of new information into the database

c)

Deletion of information from the database

d)

All of the above

11.

Which of the following is not an Schema?

a)

Database Schema

b)

Physical Schema

c)

Critical Schema

d)

Logical Schema

12.

Which of the following is Database Language?

a)

Data Definition Language

b)

Data Manipulation Language

c)

Query Language

d)

All of the above

13.

Which of the following is not involved in DBMS?

a)

End Users

b)

Data

c)

Application Request

d)

HTML

14.

DBMS means (a)  

15.

Write your name, class and roll number.

4 lines
16.

Database management system is _________ software

a)

System

b)

Relational

c)

Application

d)

Game

17.

A Database Management System (DBMS) is

a)

Collection of interrelated data

b)

Collection of programs to access data

c)

Collection of data describing one particular enterprise

d)

All of the above

18.

Which of the following is not a level of data abstraction?

a)

Physical Level

b)

Critical Level

c)

Logical Level

d)

View Level

19.

Disadvantages of File systems to store data is:

a)

Data redundancy and inconsistency

b)

Difficulty in accessing data

c)

Data isolation

d)

All of the above

20.

Which of the following is not a Storage Manager Component?

a)

Transaction Manager

b)

Logical Manager

c)

Buffer Manager

d)

File Manager

21.

Data Manipulation Language enables users to

a)

Retrieval of information stored in database

b)

Insertion of new information into the database

c)

Deletion of information from the database

d)

All of the above

22.

Which of the following is a Data Model?

a)

Entity-Relationship model

b)

Relational data model

c)

Object-Based data model

d)

All of the above

23.

The attribute refers to a _____ of a table

a)

Record

b)

Foreign key

c)

Primary key

d)

Field

24.

Consider attributes ID, CITY and NAME. which one of these can be considered as a primary key?

a)

NAME

b)

ID

c)

CITY

d)

ID, NAME

25.

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

a)

ID

b)

registration no

c)

Department ID

d)

Street

26.

This is an example of ________________

a)

Data inconsistency

b)

Data redundancy

c)

Data security

d)

Data consistency

27.

A field of one table which is also a the primary key of another table

a)

Primary Key

b)

Relational database

c)

Data normalisation

d)

Foreign Key

28.

Select the DBMS software

a)
b)
c)
d)
29.

Which of the following query would display all the students whose first name starts with the character ‘A’?

a)

select first_name from students where first_name like ‘A%’;

b)

select first_name from students where first_name like ‘%A’;

c)

select first_name from students where first_name like ‘%A%’;

d)

select first_name from students where first_name like ‘A’;

30.

Which of the following is not true about the ALTER TABLE statement?

a)

It can add a new row.

b)

It can add a new column

c)

It can modify existing columns

d)

It can define a default value for the new column

31.

In the __________ normal form, a composite attribute is converted to individual attributes

a)

First Normal Form

b)

Second Normal Form

c)

Third Normal Form

d)

Fourth Normal Form

32.

Drop table statement

a)

deletes the table structure only

b)

deletes the table structure along with the table data

c)

works whether or not referential integrity constraints would be violated

d)

is not an SQL statement

33.
What is database?
a)
Collection of organized data that allows access, retrieval of  that data.
b)
Collection of organized data that allows access, retrieval, and use of  that data.
c)
Collection of organized data that allows retrieval, and use of  that data.
34.
Data is
a)
collection of processed items
b)
collection of unprocessed items
35.
Which of the following is NOT example of data?
a)
RM10
b)
The
c)
The boy received RM10
d)
Boy
36.
Why we need database?
a)
To store  a particular picture
b)
To store  a particular text
c)
To store  a particular collection of data.
d)
To store  a particular audio
37.
Which is the example of File Based System?
a)
Using MySQL to find specific data
b)
Using MS Access to control users access
c)
 Using spreadsheet software to manage data of employee
d)
Using OpenOffice.org Base to create new table
38.
Why File Based System become unpopular?
a)
It causes sync with all the data synchronization
b)
It causes data redundancy
39.
Which of the following is NOT Advantages of DBMS
a)
Increased data consistency 
b)
Reduced data redundancy
c)
Improved data security 
d)
Increase data isolation
40.
Which of the following is the disadvantages of DBMS?
a)
Cost of setup of DBMS is relatively cheap
b)
Database systems are complex
c)
 Database will not be corrupted
d)
Database systems are fast to be designed
41.

In order to maintain transactional integrity and database consistency, what technology does a DBMS deploy?

a)

Triggers

b)

Pointers

c)

Locks

d)

Cursors

42.

A lock that allows concurrent transactions to access different rows of the same table is known as a

a)

Database-level lock

b)

Table-level lock

c)

Page-level lock

d)

Row-level lock

43.

A lock that allows concurrent transactions to access different rows of the same table is known as a

a)

Database-level lock

b)

Table-level lock

c)

Page-level lock

d)

Row-level lock

44.

Which of the following are introduced to reduce the overheads caused by the log-based recovery?

a)

Checkpoints

b)

Indices

c)

Deadlocks

d)

Locks

45.

Which of the following protocols ensures conflict serializability and safety from deadlocks?

a)

Two-phase locking protocol

b)

Time-stamp ordering protocol

c)

Graph based protocol

d)

None of the mentioned

46.

Which of the following is the block that is not permitted to be written back to the disk?

a)

Dead code

b)

Read only

c)

Pinned

d)

Zapped

47.

If transaction Ti gets an explicit lock on the file Fc in exclusive mode, then it has an ­­­­­­__________ on all the records belonging to that file.

a)

Explicit lock in exclusive mode

b)

Implicit lock in shared mode

c)

Explicit lock in shared mode

d)

Implicit lock in exclusive mode

48.

All lock information is managed by a __________ which is responsible for assigning and policing the locks used by the transactions.

a)

Scheduler

b)

DBMS

c)

Lock manager

d)

Locking agent

49.

Which of the following is a procedure for acquiring the necessary locks for a transaction where all necessary locks are acquired before any are released?

a)

Record controller

b)

Exclusive lock

c)

Authorization rule

d)

Two phase lock

50.

In ordered indices the file containing the records is sequentially ordered, a ___________ is an index whose search key also defines the sequential order of the file.

a)

Clustered index

b)

Structured index

c)

Unstructured index

d)

Nonclustered index

51.

Indices whose search key specifies an order different from the sequential order of the file are called ___________ indices.

a)

Nonclustered

b)

Secondary

c)

All of the mentioned

d)

None of the mentioned

52.

An ____________ consists of a search-key value and pointers to one or more records with that value as their search-key value.

a)

Index entry

b)

Index hash

c)

Index cluster

d)

Index map

53.

In a _______ clustering index, the index record contains the search-key value and a pointer to the first data record with that search-key value and the rest of the records will be in the sequential pointers.

a)

Dense

b)

Sparse

c)

Straight

d)

Continuous

54.

In a __________ index, an index entry appears for only some of the search-key values.

a)

Dense

b)

Sparse

c)

Straight

d)

Continuous

55.

A search key containing more than one attribute is referred to as a _________ search key.

a)

Simple

b)

Composite

c)

Compound

d)

Secondary

56.

In B+ tree the node which points to another node is called

a)

Leaf node

b)

External node

c)

Final node

d)

Internal node

57.

Insertion of a large number of entries at a time into an index is referred to as __________ of the index.

a)

Loading

b)

Bulk insertion

c)

Bulk loading

d)

Increase insertion

58.

While inserting the record into the index, if the search-key value does not appear in the index.

a)

The system adds a pointer to the new record in the index entry

b)

The system places the record being inserted after the other records with the same search-key values

c)

The system inserts an index entry with the search-key value in the index at the appropriate position

d)

None of the mentioned