wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Activity 1 - Database Management System

Total questions: 15

Worksheet time: 11mins

Name
Class
Date
1.

What is rows of a relation known as?


a)

Degree

b)

Entity

c)

Tuple

d)

None

2.

What is the name of the query that is placed within a WHERE or HAVING clause of another query?

a)
Subquery
b)
Join Query
c)
Aggregate Query
d)
Filter Query
3.

What is the use of COUNT in SQL?

a)
COUNT is used to delete rows from a table.
b)
COUNT is used to update existing records.
c)
COUNT is used to count the number of rows in a result set.
d)
COUNT is used to create new tables.
4.

Which data structure is used in Hierarchical model records?

a)
Tree
b)
List
c)
Array
d)
Graph
5.

Which normal form deals with multivalued dependency?

a)
Second Normal Form (2NF)
b)
Third Normal Form (3NF)
c)
Fourth Normal Form (4NF)
d)
Fifth Normal Form (5NF)
6.

Which of the following allows to uniquely identify a tuple?


a)
Primary key
b)
Unique constraint
c)
Foreign key
d)
Composite key
7.


Select the correct command to modify a column in a table.

a)
ALTER TABLE table_name MODIFY COLUMN column_name new_data_type;
b)
MODIFY TABLE table_name CHANGE column_name new_data_type;
c)
CHANGE TABLE table_name ALTER COLUMN column_name TYPE new_data_type;
d)
UPDATE table_name SET column_name = new_data_type;
8.

During transaction before commit which of the following statement is done automatically in case of shutdown?


a)
Commit of all transactions
b)
Rollback of uncommitted transactions
c)
Savepoint creation for all transactions
d)
Ignore uncommitted transactions
9.

Identify the concurrency based protocol?

a)
Single Locking Mechanism
b)
Two-Phase Locking (2PL)
c)
Timestamp Ordering
d)
Optimistic Concurrency Control
10.

Maximum children of  a B-tree of order m?

a)
m-1
b)
m+1
c)
2m
d)
m
11.

Select the correct advantages of view.

a)
Advantages of views include simplification of complex queries, enhanced security, improved performance, and code reusability.
b)
Limited access to underlying tables
c)
Reduced data integrity
d)
Increased complexity in query writing
12.

To select some particular columns, which of the following command is used in Relational Algebra?

a)
σ (sigma) selection operation
b)
∪ (union) operation
c)
∩ (intersection) operation
d)
π (pi) projection operation
13.

What is a table joined with itself called?

a)
Cross-join
b)
Inner-join
c)
Outer-join
d)
Self-join
14.

Select the correct definition of Relational calculus?

a)
A procedural query language that requires specific steps to retrieve data.
b)
A type of database that stores data in a hierarchical format.
c)
A language used for programming applications outside of databases.
d)
A non-procedural query language for databases that specifies what data to retrieve.
15.

A ___________of the transactions can be obtained by finding a linear order consistent with the partial order of the precedence graph.

a)
linear regression
b)
graph traversal
c)
data sorting
d)
topological sorting