wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Quiz No 1

Total questions: 10

Worksheet time: 2mins

Name
Class
Date
1.

The statement in SQL which allows to change the definition of a table is

a)

(A) Alter

b)

(B) Update.

c)

(C) Create.

d)

(D) select.

2.

The statement in SQL which allows to change the values of a table is

a)

(A) Alter.

b)

(B) Update.

c)

(C) Create.

d)

(D) select.

3.

Key to represent relationship between tables is called

a)

(A) Primary key

b)

(B) Secondary Key

c)

(C) Foreign Key

d)

(D) None of these

4.

_______ produces the relation that has attributes of R1 and R2

a)

(A) Cartesian product

b)

(B) Difference

c)

(C) Intersection

d)

(D) Product

5.

Which of the following operation is used if we are interested in only certain columns of a table?

a)

(A) PROJECTION

b)

(B) SELECTION

c)

(C) UNION

d)

(D) JOIN

6.

Which of the following is a valid SQL type?

a)

(A) CHARACTER

b)

(B) NUMERIC

c)

(C) FLOAT

d)

(D) All of the above

7.

The RDBMS terminology for a row is

a)

(A) degree.

b)

(B) relation.

c)

(C) attribute

d)

D) tuple.

8.

The full form of DDL is

a)

(A Dynamic Data Language

b)

B) Detailed Data Language

c)

(C) Data Definition Language

d)

(D) Data Derivation Language

9.

Which of the following is a legal expression in SQL?

a)

(A) SELECT NULL FROM EMPLOYEE;

b)

(B) SELECT NAME FROM EMPLOYEE;

c)

(C) SELECT NAME FROM EMPLOYEE WHERE SALARY = NULL;

d)

(D) None of the above

10.

A set of possible data values is called

a)

(A) attribute

b)

(B) degree.

c)

(C) tuple.

d)

(D) domain.