wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

RDBMS WITH PL/SQL Unit 1 Objective Test

Total questions: 25

Worksheet time: 19mins

Name
Class
Date
1.

What is the primary purpose of a database system?

a)

To ensure data is always encrypted and secure.

b)

To store, manage, and retrieve data efficiently.

c)

To create and design user interfaces.

d)

To analyze and visualize data trends.

2.

Storing the same data in multiple places unnecessarily is known as _____________

a)

Data Isolation

b)

Data Integrity

c)

Data Redundancy

d)

Data Security

3.

What are the main types of database languages?

a)

Data Definition Language (DDL)

b)

Data Manipulation Language (DML)

c)

Data Control Language (DCL)

d)

All of them

4.

Define the term 'database design'.

a)

Database design is the process of defining the structure and organization of data in a database.

b)

Database design is the technique of managing server hardware and software configurations.

c)

Database design refers to the process of writing SQL queries for data retrieval.

d)

Database design is the method of creating user interfaces for applications.

5.

The Relational Algebra expression (R - S), where R and S are two relations with the same schema, will produce a relation containing

a)

All tuples (rows) that appear in R or in S

b)

Only the common tuples (rows) that appear in both R and S

c)

All tuples (rows) that appear in S but not in R

d)

All tuples (rows) that appear in R but not in S

6.

The property that ensures a change (like a money transfer) either happens completely or not at all is called ____.

a)

Isolation

b)

Consistency

c)

Durability

d)

Atomicity

7.

Who are the typical users of a database system?

a)

Web designers, content creators, software testers, and IT support staff.

b)

Network engineers, system architects, project managers, and data scientists.

c)

Database administrators, application developers, data analysts, and naive users.

d)

Business analysts, marketing specialists, hardware engineers, and system operators.

8.

What is the relational model in databases?

a)

The relational model stores data in unstructured formats like JSON and XML.

b)

The relational model focuses on hierarchical data organization without tables.

c)

The relational model organizes data into tables (relations) with defined relationships, enabling efficient data management and retrieval.

d)

The relational model uses graphs to represent data connections and relationships.

9.

Which language is used for accessing and updating the data in the database (e.g., inserting, selecting, deleting)?

a)

DDL

b)

DCL

c)

TCL

d)

DML

10.

The overall logical structure or design of the database is called the ____________

a)

Instance

b)

Schema

c)

Model

d)

Relation

11.

What are keys in a database schema?

a)

Keys in a database schema are random values that can be duplicated across records.

b)

Keys in a database schema are optional attributes that enhance data retrieval.

c)

Keys in a database schema are visual representations of data relationships.

d)

Keys in a database schema are attributes that uniquely identify records and establish relationships between tables.

12.

The actual content of the database at a particular moment in time is called the _____

a)

Instance

b)

Schema

c)

model

d)

Definition

13.

The ability to modify the physical storage structure without changing the logical schema is known as _____

a)

Data Isolation

b)

Physical Data Independence

c)

Data Integrity

d)

Atomicity

14.

Which DBMS component is responsible for handling concurrent accesses to ensure data consistency?

a)

Storage Manager

b)

Query Processor

c)

Interpreter

d)

Transaction Manager

15.

What is the difference between a primary key and a foreign key?

a)

A primary key uniquely identifies records; a foreign key links records between tables.

b)

A primary key is used for indexing; a foreign key is used for sorting.

c)

A primary key is a type of foreign key; a foreign key is a unique identifier.

d)

A primary key can be null; a foreign key cannot be null.

16.

A user who interacts with the database using the application program interface, such as a data-entry screen or a mobile application, without needing to know the complexities of the system is classified as a _________

a)

Naive User

b)

System Analyst

c)

Specialized User

d)

Database Administrator

17.

What is a column in a relation (table) formally known as?

a)

Tuple

b)

Attribute

c)

Relation

d)

Instance

18.

Which key is chosen by the database designer to be the main unique identifier for a table?

a)

Foreign Key

b)

Minimal Key

c)

Unique Key

d)

Primary Key

19.

A field in one table that references the primary key of another table is a _______

a)

Foreign Key

b)

Candidate Key

c)

Relational Key

d)

Superkey

20.

How many basic operators constitute the Relational Algebra?

a)

2

b)

4

c)

6

d)

10

21.

What is the purpose of indexing in a database?

a)

Indexing helps in speeding up data retrieval operations by providing quick access to rows in a table.

b)

Indexing is primarily for organizing data into multiple tables.

c)

Indexing is a method for encrypting sensitive data in the database.

d)

Indexing is used to create backups of the database.

22.

What is a stored procedure in database management?

a)

A stored procedure is a method for importing data from external sources.

b)

A stored procedure is a set of SQL statements that can be stored and executed on the database server.

c)

A stored procedure is a type of database backup method.

d)

A stored procedure is a graphical tool for designing database schemas.

23.

The Project operation (Π) in Relational Algebra is used to choose _______

a)

Only certain rows

b)

The entire table

c)

Only certain attributes

d)

Only the attributes that are keys

24.

The Union (U) operation can only be applied to two relations if they have the same ___________

a)

Name

b)

Primary key

c)

Number of rows

d)

Schema (same number and types of attributes)

25.

Which type of DDL command is used to add new attributes (columns) to an existing table?

a)

ALTER

b)

INSERT

c)

UPDATE

d)

SELECT