wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

DBMS Quiz SECE

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which of the following SQL command is used for removing (or deleting) a relation and its schema form the database?

a)

DROP

b)

DELETE

c)

TRUNCATE

d)

REMOVE

2.

Rectangles in ER diagram represents?

a)

Tables

b)

Attributes

c)

Tuples

d)

Entity Sets

3.

Which of the following is not a SQL command?

a)

DELETE

b)

ORDER BY

c)

WHERE

d)

ALTER

4.

Primary Key can contain NULL

a)

True

b)

False

5.

Which of the following is not a valid SQL type?

a)

float

b)

numeric

c)

decimal

d)

character

6.

How can you change "Thomas" into "Michel" in the "LastName" column in the Users table?

a)
  1. UPDATE User SET LastName = 'Thomas' INTO LastName = 'Michel'

b)
  1. MODIFY Users SET LastName = 'Michel' WHERE LastName = 'Thomas'

c)
  1. MODIFY Users SET LastName = 'Thomas' INTO LastName = 'Michel'

d)
  1. UPDATE Users SET LastName = 'Michel' WHERE LastName = 'Thomas'

7.

Which command is used to change the definition of a table in SQL?

a)

CREATE

b)

UPDATE

c)

ALTER

d)

SELECT

8.

Which type of JOIN is used to returns rows that do not have matching values?

a)

Outer Join

b)

Inner Join

c)

Self Join

d)

All of the Above

9.

To which of the following the term "DBA" referred?

a)
  1. Data Bank Administrator

b)

Database Administrator

c)

Database Analyst

d)

Database Aggregator

10.

Rows of a relation are known as the _______.

a)

Tuples

b)

Relations

c)

Attributes

d)

All of the above