wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

SOF102 Topic 6

Total questions: 12

Worksheet time: 4mins

Name
Class
Date
1.

Which of the following best defines a database?

a)

A collection of programs

b)

A structured set of data files

c)

A network of computer systems

d)

A method to design software

2.

Which of the following is the smallest unit of data in a database?

a)

Record

b)

File

c)

Field

d)

Bit

3.

What does a record represent in a table?

a)

A data file

b)

A single attribute

c)

A row of related fields

d)

A column

4.

Which of the following is NOT a relational database management system (RDBMS)?

a)

Microsoft SQL Server

b)

Oracle

c)

MySQL

d)

Linux

5.

Which is used to uniquely identify each record in a table?

a)

Foreign key

b)

Index

c)

Primary key

d)

Attribute

6.

A foreign key in a table:

a)

Must contain unique values

b)

Is not required

c)

Links to a primary key in another table

d)

Stores temporary data

7.

In many-to-many relationships, a third table is used. This table is called:

a)

Reference table

b)

Join table

c)

Master table

d)

Bridge record

8.

Which of the following is NOT a common data type in databases?

a)

Character

b)

Numeric

c)

Logical

d)

Format

9.

Attribute domain refers to:

a)

Column header format

b)

Valid range of values for an attribute

c)

Size of the database

d)

Attribute number

10.

What happens in a cascading delete operation?

a)

Deletes all records

b)

Deletes matching records in a related table

c)

Updates data types

d)

Deletes all columns

11.

What does the SQL command SELECT * FROM Students do?

a)

Deletes all students

b)

Displays all student records

c)

Adds a new student

d)

Updates student names

12.

Which SQL clause is used to filter records based on conditions?

a)

WHERE

b)

SELECT

c)

ORDER BY

d)

GROUP BY