wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

InfoMidterm P1

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

What does a SELECT statement do in SQL?

a)

Updates data in the database

b)

Inserts data into the database

c)

Retrieves information from the database

d)

Deletes data from the database

2.

What does the Projection feature in SQL allow you to do?

a)

Delete data from a table

b)

Choose the rows in a table

c)

Choose the columns in a table

d)

Join data from different tables

3.

What is a Null value in SQL?

a)

A value that is unavailable, unassigned, unknown, or inapplicable

b)

A value equal to zero

c)

A value that is not allowed in SQL

d)

A value that represents a blank space

4.

What does the Concatenation Operator (||) do in SQL?

a)

Deletes rows from a table

b)

Combines columns, expressions, or values to create a character expression

c)

Performs division operations

d)

Updates values in a table

5.

What is a literal in SQL?

a)

A value that is not included in the SELECT statement

b)

A value that cannot be used in SQL

c)

A character, number, or date included in the SELECT statement

d)

A keyword used for abbreviating commands

6.

What is SQL primarily used for?

a)

Communication with the Oracle server

b)

Sending emails

c)

Playing music

d)

Creating graphics

7.

What is the purpose of a Column Alias in SQL?

a)

To rename a table

b)

To rename a column heading

c)

To delete a column

d)

To add a new column

8.

What is the role of iSQL*Plus in SQL?

a)

To delete tables

b)

To manipulate data values

c)

To run commands on a browser

d)

To create new tables

9.

What is the significance of the SELECT* statement in SQL?

a)

It selects all columns from a table

b)

It deletes all rows from a table

c)

It updates all rows in a table

d)

It joins two tables

10.

What does the Selection feature in SQL allow you to do?

a)

Choose the rows in a table

b)

Rename columns in a table

c)

Choose the columns in a table

d)

Combine data from different tables

11.

What happens if a column value in an arithmetic expression is null in SQL?

a)

It is treated as a blank space

b)

It results in an error

c)

It is treated as zero

d)

It results in a null or unknown

12.

What is the purpose of the Joining feature in SQL?

a)

To choose specific columns in a table

b)

To choose specific rows in a table

c)

To bring together data from different tables

d)

To delete data from a table

13.

What is the significance of a Column containing the NOT NULL constraint in SQL?

a)

It allows null values in the column

b)

It prevents null values in the column

c)

It allows only zero values in the column

d)

It allows only blank space values in the column

14.

What is the role of SQL in communication with the Oracle server?

a)

It is a non-procedural language

b)

It is used for creating graphics

c)

It is used for sending emails

d)

It is a procedural language

15.

What is the purpose of the Date and character literal values in SQL?

a)

They must be enclosed by double quotation marks

b)

They must be enclosed by single quotation marks

c)

They must be enclosed by parentheses

d)

They must be enclosed by square brackets