wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

RDBMS Fundamentals & Schema Design

Total questions: 70

Worksheet time: 35mins

Name
Class
Date
1.

What does RDBMS stand for?

a)

Relational Database Management System

b)

Random Database Management System

c)

Relational Data Modeling Software

d)

Remote Database Management System

2.

In an RDBMS, data is primarily stored in the form of:

a)

Files

b)

Tables

c)

Objects

d)

Trees

3.

A table in an RDBMS consists of:

a)

Rows only

b)

Columns only

c)

Rows and columns

d)

Keys only

4.

What is a tuple in an RDBMS?

a)

column

b)

A row

c)

A table

d)

A database

5.

What is an attribute in a database table?

a)

A row

b)

A column

c)

A record

d)

A constraint

6.

Which key uniquely identifies each record in a table?

a)

Foreign key

b)

Candidate key

c)

Primary key

d)

Composite key

7.

A primary key can contain:

a)

Duplicate values

b)

NULL values

c)

Both duplicate and NULL values

d)

Neither duplicate nor NULL values

8.

Which key is used to establish a relationship between two tables?

a)

Primary key

b)

Candidate key

c)

Foreign key

d)

Alternate key

9.

What is a candidate key?

a)

A key chosen as primary key

b)

Any key that can uniquely identify a record

c)

A key used for indexing

d)

A composite key

10.

A table can have how many primary keys?

a)

None

b)

One

c)

Two

d)

Multiple

11.

Which of the following ensures referential integrity?

a)

Primary key

b)

Foreign key

c)

Index

d)

View

12.

What is schema in a database?

a)

Actual data stored

b)

Logical structure of database objects

c)

Backup of database

d)

User interface

13.

In Oracle, a schema is owned by:

a)

Table

b)

Database

c)

User

d)

Index

14.

Which constraint ensures that column values are not NULL?

a)

UNIQUE

b)

CHECK

c)

NOT NULL

d)

DEFAULT

15.

Which constraint ensures uniqueness of column values?
A. PRIMARY KEY
B.
C.
D.

a)

PRIMARY KEY

b)

UNIQUE

c)

CHECK

d)

FOREIGN KEY

16.

A composite key is a:

a)

Key with NULL values

b)

Key formed using multiple columns

c)

Foreign key

d)

Candidate key

17.

What is normalization?

a)

Process of data duplication

b)

Process of organizing data to reduce redundancy

c)

Process of indexing

d)

Process of encryption

18.

Which normal form removes partial dependency?

a)

First Normal Form

b)

Second Normal Form

c)

Third Normal Form

d)

Boyce-Codd Normal Form

19.

Which normal form removes transitive dependency?

a)

1NF

b)

2NF

c)

3NF

d)

4NF

20.

First Normal Form (1NF) requires:

a)

No NULL values

b)

Atomic values in columns

c)

No duplicate rows

d)

Primary key

21.

Denormalization is used mainly to:

a)

Increase redundancy

b)

Improve query performance

c)

Reduce storage

d)

Improve security

22.

What is an entity in ER modeling?

a)

Attribute

b)

Relationship

c)

Real-world object

d)

Constraint

23.

An ER diagram is used for:

a)

Physical database storage

b)

Logical database design

c)

Query execution

d)

Backup planning

24.

What does cardinality represent in ER modeling?

a)

Number of attributes

b)

Relationship strength

c)

Number of entity instances in a relationship

d)

Key type

25.

One-to-many relationship means:

a)

One record relates to one record

b)

Many records relate to many records

c)

One record relates to many records

d)

Many records relate to one record only

26.

Which of the following is a weak entity?

a)

Entity with primary key

b)

Entity dependent on another entity

c)

Entity with many attributes

d)

Independent entity

27.

What is data integrity?

a)

Data encryption

b)

Accuracy and consistency of data

c)

Data compression

d)

Data indexing

28.

Which integrity rule states that primary key cannot be NULL?

a)

Referential integrity

b)

Domain integrity

c)

Entity integrity

d)

Transaction integrity

29.

Which database object stores the structure but not the data?

a)

Table

b)

View

c)

Index

d)

Sequence

30.

In banking systems, proper schema design is critical mainly for:

a)

Faster UI design

b)

Data consistency, security, and scalability

c)

Graphics handling

d)

File management

31.

Which of the following best defines a relation in RDBMS?

a)

A database

b)

A table

c)

A column

d)

A row

32.

In a relational table, each row is also known as:

a)

Attribute

b)

Tuple

c)

Domain

d)

Schema

33.

Which key is selected from candidate keys to uniquely identify records?

a)

Composite key

b)

Foreign key

c)

Primary key

d)

Alternate key

34.

How many candidate keys can a table have?

a)

Only one

b)

Two only

c)

Multiple

d)

None

35.

An alternate key is:

a)

A key used for indexing

b)

A candidate key not chosen as primary key

c)

A foreign key

d)

A composite key

36.

Domain of an attribute refers to:

a)

Column name

b)

Data type and allowed values

c)

Table size

d)

Index type

37.

Which constraint restricts values based on a condition?

a)

NOT NULL

b)

UNIQUE

c)

CHECK

d)

FOREIGN KEY

38.

Referential integrity means:

a)

No duplicate records

b)

No NULL values

c)

Foreign key must match primary key

d)

Data must be encrypted

39.

Which normal form eliminates repeating groups?

a)

1NF

b)

2NF

c)

3NF

d)

BCNF

40.

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

a)

Has no transitive dependency

b)

Has no partial dependency

c)

Has no multivalued dependency

d)

Has no candidate keys

41.

Which normal form is stronger than 3NF?

a)

4NF

b)

5NF

c)

BCNF

d)

DKNF

42.

In ER modeling, a relationship is represented by:

a)

Rectangle

b)

Ellipse

c)

Diamond

d)

Line

43.

Which attribute uniquely identifies an entity?

a)

Simple attribute

b)

Composite attribute

c)

Key attribute

d)

Derived attribute

44.

A weak entity is identified using:

a)

Its own primary key

b)

Composite key only

c)

Partial key and owner entity

d)

Foreign key only

45.

Which relationship requires a junction table during schema design?

a)

One-to-one

b)

One-to-many

c)

Many-to-many

d)

Unary

46.

What is the main purpose of normalization in banking databases?

a)

Reduce disk usage

b)

Improve UI performance

c)

Eliminate redundancy and anomalies

d)

Increase data duplication

47.

Which anomaly occurs due to poor schema design?

a)

Update anomaly

b)

Insert anomaly

c)

Delete anomaly

d)

All of the above

48.

Which design step converts ER model into tables?

a)

Conceptual design

b)

Logical design

c)

Physical design

d)

Database tuning

49.

In Oracle, which object generates unique numeric values?

a)

Trigger

b)

Index

c)

Sequence

d)

View

50.

Which database object improves query performance but does not store data?

a)

Table

b)

Index

c)

View

d)

Schema

51.

A relation in RDBMS must satisfy which property?

a)

All rows must be sorted

b)

Each cell must contain atomic values

c)

Duplicate columns are allowed

d)

NULL values are mandatory

52.

If a table has no candidate key, then the table is:

a)

Not in 1NF

b)

Not a relation

c)

Not in BCNF

d)

Invalid in RDBMS

53.

Which of the following keys can accept NULL values?

a)

Primary key

b)

Candidate key

c)

Foreign key

d)

Super key

54.

In a well-designed banking database, account number should be:
A.
B.
C.
D.

a)

Foreign key

b)

Candidate key

c)

Composite key

d)

Primary key

55.

Consider a table with attributes (A, B, C, D). If A → B and B → C, then which dependency exists?

a)

Partial dependency

b)

Multivalued dependency

c)

Transitive dependency

d)

Functional dependency

56.

A table is in Third Normal Form (3NF) if:

a)

It has no partial dependency

b)

It has no transitive dependency

c)

It has atomic values

d)

It has a primary key

57.

Which normal form is violated if a non-key attribute depends on another non-key attribute?

a)

1NF

b)

2NF

c)

3NF

d)

BCNF

58.

In ER diagrams, double rectangles represent:

a)

Multivalued attributes

b)

Weak entities

c)

Derived attributes

d)

Composite attributes

59.

Which relationship type is most commonly used to model customer–account mapping in banks?

a)

One-to-one

b)

One-to-many

c)

Many-to-many

d)

Recursive

60.

Which integrity constraint ensures that referenced data always exists?

a)

Entity integrity

b)

Domain integrity

c)

Referential integrity

d)

Transaction integrity

61.

A foreign key always references:

a)

Candidate key

b)

Alternate key

c)

Primary key

d)

Super key

62.

Which of the following anomalies is avoided by normalization?

a)

Insertion anomaly

b)

Deletion anomaly

c)

Update anomaly

d)

All of the above

63.

In schema design, denormalization is sometimes preferred to:

a)

Reduce redundancy

b)

Improve performance

c)

Improve security

d)

Reduce keys

64.

Which attribute can be derived from another attribute?

a)

Composite attribute

b)

Simple attribute

c)

Derived attribute

d)

Key attribute

65.

In ER modeling, cardinality defines:

a)

Number of attributes

b)

Degree of relationship

c)

Number of entity instances involved

d)

Strength of entity

66.

Which of the following is NOT a benefit of good schema design in banking systems?

a)

Data consistency

b)

Reduced redundancy

c)

Faster transaction processing

d)

Increased data duplication

67.

A table with composite primary key must be checked for:

a)

Transitive dependency

b)

Partial dependency

c)

Multivalued dependency

d)

Domain violation

68.

Which database object logically represents stored query results?

a)

Table

b)

Index

c)

View

d)

Sequence

69.

In Oracle, schema objects are logically grouped under:

a)

Tablespace

b)

Instance

c)

User

d)

Database link

70.

Which rule states that no part of a primary key can be NULL?

a)

Domain integrity

b)

Referential integrity

c)

Entity integrity

d)

Functional dependency