wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

UNIT I - DATABASE SYSTEM BASICS

Total questions: 50

Worksheet time: 25mins

Name
Class
Date
1.

Which of the following is the main purpose of a Database System?

a)

Data redundancy

b)

Data inconsistency

c)

Data management and retrieval

d)

Data isolation

2.

The view of data that describes how the data is actually stored is the:

a)

External view

b)

Conceptual view

c)

Internal view

d)

Logical view

3.

Which data model uses entities, attributes, and relationships?

a)

Hierarchical model

b)

Network model

c)

Relational model

d)

ER model

4.

In the relational model, data is represented as:

a)

Trees

b)

Tables

c)

Graphs

d)

Hierarchies

5.

Which key uniquely identifies each record in a table?

a)

Foreign key

b)

Primary key

c)

Super key

d)

Alternate key

6.

Which of the following is NOT a component of DBMS architecture?

a)

A) Storage manager

b)

B) Query processor

c)

C) Application program

7.

Relational Algebra is a:

a)

Procedural language

b)

Non-procedural language

c)

Object-oriented language

d)

Natural language

8.

Relational Calculus is a:

a)

Procedural query language

b)

Non-procedural query language

c)

Programming language

d)

None of these

9.

Which SQL statement is used to extract data from a database?

a)

GET

b)

SELECT

c)

EXTRACT

d)

OPEN

10.

A Trigger in SQL is:

a)

A) A function executed manually

b)

B) Automatically executed when an event occurs

c)

C) Used to store procedures

d)

D) A data type

11.

Embedded SQL is used to:

a)

Execute SQL from command line

b)

Integrate SQL with programming languages

c)

Perform system administration

d)

Execute triggers

12.

A schema defines:

a)

Data values

b)

Structure of the database

c)

Indexes

d)

Views

13.

Which of these is a data definition language (DDL) command?

a)

SELECT

b)

UPDATE

c)

CREATE

d)

INSERT

14.

Which command removes a table permanently?

a)

DELETE

b)

DROP

c)

REMOVE

d)

ERASE

15.

A foreign key:

a)

Must be unique

b)

Refers to a primary key in another table

c)

Has no relation to other keys

d)

Is same as super key

16.

ER diagram is used for:

a)

Transaction control

b)

Database design

c)

Query execution

d)

Security control

17.

A weak entity set requires:

a)

Partial key

b)

Strong entity set

c)

Both A and B

d)

None

18.

Functional dependency is a relationship between:

a)

Two relations

b)

Attributes of the same relation

c)

Keys

d)

Entities

19.

Normalization is used to:

a)

Increase redundancy

b)

Reduce redundancy

c)

Speed up queries

d)

Create anomalies

20.

First Normal Form (1NF) deals with:

a)

Atomic values

b)

Transitive dependency

c)

Partial dependency

d)

Multivalued dependency

21.

A table is in 2NF if it is in 1NF and:

a)

No partial dependency exists

b)

No transitive dependency exists

c)

Every determinant is a candidate key

d)

It has only atomic values

22.

A table in 3NF must be in 2NF and:

a)

Remove transitive dependency

b)

Remove partial dependency

c)

Contain multivalued attributes

d)

Have no foreign keys

23.

Boyce-Codd Normal Form (BCNF) handles:

a)

Transitive dependencies

b)

Anomalies not handled by 3NF

c)

Multivalued dependencies

d)

Join dependencies

24.

A table with multivalued dependency is normalized to:

a)

2NF

b)

3NF

c)

4NF

d)

5NF

25.

Fifth Normal Form (5NF) removes:

a)

Multivalued dependencies

b)

Join dependencies

c)

Transitive dependencies

d)

Partial dependencies

26.

Dependency preservation means:

a)

All FDs are preserved in decomposition

b)

All tables have primary keys

c)

All data is preserved after normalization

d)

None of the above

27.

Non-loss decomposition ensures:

a)

Data redundancy

b)

No data loss during decomposition

c)

Data inconsistency

d)

Data replication

28.

A transaction is:

a)

A) A single SQL query

b)

B) A logical unit of work

c)

C) A physical operation

d)

D) A rollback operation

29.

29. ACID stands for:

a)

Atomicity, Consistency, Isolation, Durability

b)

Accuracy, Completeness, Integrity, Durability

30.

Serializability ensures:

a)

Concurrent execution is safe

b)

Transactions execute serially

c)

System crashes are avoided

d)

Deadlocks are handled

31.

Isolation level defines:

a)

Access permissions

b)

Degree to which transaction is isolated from others

c)

Speed of execution

d)

Storage format

32.

A deadlock occurs when:

a)

Transactions wait indefinitely for each other

b)

System crashes

c)

Data is lost

d)

Rollback fails

33.

Two-phase locking ensures:

a)

Recoverability

b)

Serializability

c)

Deadlock avoidance

d)

Atomicity

34.

A log is used in recovery to:

a)

Track data redundancy

b)

Record changes for rollback

c)

Create indexes

d)

Control concurrency

35.

Which of the following is a failure classification?

a)

Transaction Failure

b)

System Crash

c)

Memory Allocation Error

d)

Both A and B

36.

A checkpoint is used to:

a)

Mark a safe state for recovery

b)

Stop all transactions

c)

Remove deadlocks

d)

Enforce integrity constraints

37.

RAID stands for:

a)

Random Access Integrated Disk

b)

Redundant Array of Inexpensive Disks

c)

Reorganized Access Indexed Database

d)

None of these

38.

Which file organization stores records sequentially?

a)

Heap

b)

Sequential

c)

Hash

d)

Indexed

39.

A record is:

a)

A) A collection of fields

b)

B) A collection of tables

c)

C) A data type

d)

D) None

40.

An index improves:

a)

Storage efficiency

b)

Query performance

c)

Security

41.

B+ Tree is used for:

a)

Encryption

b)

Indexing

c)

Transaction control

d)

Backup

42.

Static hashing:

a)

Uses fixed number of buckets

b)

Uses dynamic buckets

c)

Reorganizes data frequently

d)

Is slower than dynamic hashing

43.

Dynamic hashing:

a)

Uses variable number of buckets

b)

Uses fixed number of buckets

c)

Doesn’t allow growth

d)

Is obsolete

44.

Query processing includes:

a)

Parsing and translation

b)

Optimization

c)

Execution

d)

All of these

45.

Heuristic optimization uses:

a)

Cost-based analysis

b)

Rule-based transformations

c)

Random execution

d)

None

46.

Cost-based optimization depends on:

a)

Query syntax

b)

Statistics about data such as table size and index availability

c)

Number of users connected

d)

Network bandwidth

47.

A clustered index:

a)

Doesn’t affect physical order

b)

Determines physical order of records

c)

Is same as primary key

d)

Is slower than non-clustered

48.

The primary file organization used by databases is:

a)

Sequential

b)

Indexed sequential

c)

Hash-based

d)

Linked

49.

Query optimization aims to:

a)

Rewrite SQL queries

b)

Reduce query execution time

c)

Increase redundancy

d)

Modify indexes

50.

In query execution, the final step is:

a)

Query parsing

b)

Plan selection

c)

Query evaluation

d)

Cost estimation