wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

DBMS CA1-2025-26

Total questions: 20

Worksheet time: 20mins

Name
Class
Date
1.

What is the difference between a strong entity and a weak entity?

a)

A strong entity has no primary key and is dependent on a weak entity.

b)

Both strong and weak entities have primary keys and can exist independently.

c)

A weak entity can exist independently and has a primary key.

d)

A strong entity has a primary key and can exist independently; a weak entity depends on a strong entity and does not have a primary key.

2.

Define cardinality in the context of relationships in ER models.

a)

Cardinality defines the attributes of an entity in an ER model.

b)

Cardinality indicates the primary key of an entity in an ER model.

c)

Cardinality refers to the number of instances of one entity that can or must be associated with instances of another entity in an ER model.

d)

Cardinality is the total number of entities in an ER model.

3.

Explain the concept of keys in a relational schema.

a)

Keys are only used for indexing data in a database.

b)

Keys in a relational schema are always numeric values.

c)

Foreign keys are used to delete records from a table.

d)

Keys in a relational schema are attributes that uniquely identify records, including primary keys and foreign keys.

4.

What is the purpose of generalization in the EER model?

a)

To define relationships between unrelated entities.

b)

The purpose of generalization in the EER model is to abstract common features of multiple entities into a single entity.

c)

To create multiple entities from a single entity.

d)

To eliminate redundancy in the database design.

5.

Describe the process of mapping an ER model to a relational model.

a)

Using only primary keys without foreign keys

b)

The process of mapping an ER model to a relational model involves creating tables for entities, defining primary keys, mapping attributes to columns, establishing foreign keys for relationships, creating junction tables for many-to-many relationships, and normalizing the tables.

c)

Creating a single table for all entities

d)

Ignoring normalization in the design process

6.

What are the main operators used in relational algebra?

a)

Selection, Projection, Union, Set Difference, Cartesian Product, Rename

b)

Join, Intersection, Division

c)

Aggregation, Sorting, Filtering

d)

Grouping, Summation, Average

7.

How does specialization differ from generalization in the EER model?

a)

Specialization creates sub-entities from a general entity, while generalization combines entities into a general entity.

b)

Specialization only applies to attributes, while generalization applies to relationships.

c)

Specialization and generalization are identical processes in the EER model.

d)

Specialization combines entities into a general entity, while generalization creates sub-entities from a general entity.

8.

Provide an example of a relational algebra query.

a)

ρ_newName/oldName(Employees)

b)

γ_department, COUNT(*)(Employees)

c)

σ_department='Sales'(Employees)

d)

π_name(Employees)

9.

What is aggregation in the context of the EER model?

a)

Aggregation is a higher-level entity that represents a relationship between entities in the EER model.

b)

Aggregation refers to the process of summarizing data in reports.

c)

Aggregation is a method for data normalization in databases.

d)

Aggregation is a type of data encryption used in security.

10.

If you want to maintain and store information about your car inurance company, a car would be considered a(n) _____

a)

Relation

b)

Entity

c)

Instance

d)

Attribute

11.

What is the purpose of the SELECT operation in relational algebra?

a)

Combine rows from different tables

b)

Filter rows based on a condition

c)

Add new records to a table

d)

Sort the table in ascending order

12.

Which additional relational algebra operation is used to combine rows from two tables?

a)

Union

b)

Join

c)

Project

d)

Intersect

13.

Here which of the following displays the unique values of the column?

SELECT ________ dept_name

FROM instructor;

a)

from

b)

like

c)

unique

d)

distinct

14.

What is the difference between INNER JOIN and LEFT JOIN in SQL?

a)

INNER JOIN returns matching rows from both tables; LEFT JOIN returns all rows from the left table and matched rows from the right table.

b)

INNER JOIN returns all rows from both tables; LEFT JOIN returns only unmatched rows from the left table.

c)

INNER JOIN includes all rows from the right table; LEFT JOIN excludes unmatched rows from the left table.

d)

INNER JOIN returns all rows from the left table; LEFT JOIN returns only matching rows from both tables.

15.

Which of the following is not a function of a DBMS?

a)

Data storage

b)

Data retrieval

c)

Data manipulation

d)

Data transmission

16.

In a Flat File System, data redundancy refers to:

a)

The ability to store multiple copies of the same file

b)

The repetition of the same data within a single file

c)

The inability to store data in separate files

d)

The lack of data indexing capabilities

17.

Which level of data abstraction describes how the data are stored in the database?

a)

Physical level

b)

Logical Level

c)

View Level

d)

All the Above

18.

Which of the following is not a DBMS

a)
Drupal
b)
Oracle
c)
MySql
d)
MS Access
19.
The minimal set of super key is called
a)
Candidate Key
b)
Primary key
c)
Surrogate key
d)
Unique Key
20.
_______produces the relation that has all the attributes of relations R1 and R2
a)
Cartesian Product
b)
Join
c)
Union
d)
Product