Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Final Quiz

Total questions: 45

Worksheet time: 25mins

Name
Class
Date
1.

Primary Key can be null

a)

True

b)

False

2.

Give the Cardinality ratio of the following


College _____________ Student

a)

1:N

b)

N:1

c)

M:N

d)

1:1

3.

Tuples in a relation refers to

a)

Attributes

b)

Columns

c)

Rows

d)

Entities

4.

A database schema is

a)

A collection of attributes

b)

A collection of rows

c)

 collection of columns

d)

A collection of tables

5.

Which shape represents an Entity in ER Diagram

a)

Square

b)

Rectangle

c)

Oval

d)

Circle

6.

What is the full form of DDL?

a)

Data Demand Language

b)

Data Definition Language

c)

Data Dealing Language

d)

Data Damage Language

7.

DDL Commands include

a)

CREATE TABLE

b)

DELETE TABLE

c)

DROP TABLE

d)

ALTER TABLE

8.

INSERT and SELECT are

(a)  

9.

Full form of DML is

a)

Data Manager Language

b)

Data Manufacturer Language

c)

Data Manipulation Language

d)

Data Multiplier Language

10.

A set of attributes in a relation R which is used to uniquely identify a tuple in R

a)

Alternate key

b)

Candidate Key

c)

Primary Key

d)

Super key

11.

A key which can uniquely identify a tuple in the relation R but is not primary key

a)

Super Key

b)

Candidate Key

c)

Foreign Key

12.

The underlined attribute in a relation represents the

(a)  

13.

Entity Integrity Constraint states that

a)

Primary Key Value can be NULL

b)

No Primary Key Value can be NULL

c)

All Primary Key Values can be NULL

d)

One Primary Key Value can be NULL

14.

Referential Integrity Constraint is specified between

a)

Two Relations

b)

Two Attributes

c)

Two Tuples

d)

Two Databases

15.

A value of Foreign Key in a tuple t1 of the relation R1 either

occurs as a value of Primary Key for some tuple t2 in the relation R2 or is NULL.

a)

True

b)

False

16.

An Oval represents __________ in ER Diagram

a)

Attribute

b)

Weak entity

c)

Strong Entiry

d)

Derived Attribute

17.

Diamond shape in an ER diagram represents

a)

Attribute

b)

Derived Attribute

c)

Composite Attribute

d)

Reletionship

18.

Which of the following relationship types exist in ER diagrams

a)

1 to 1

b)

1 to N

c)

N to 1

d)

M to N

19.

A multivalued attribute is shown by

(a)  

20.

A tree like structure can be made for

a)

multivalued attributes

b)

weak entities

c)

strong entities

d)

Composite attributes

21.

ER diagrams represent the conceptual data model

a)

True

b)

False

22.

Every relation R has at least one default (a)   the set of all its attributes.

23.

The minimal set of attribute which can uniquely

identify a tuple is known as .

(a)  

24.

What is the full form of SQL?

a)

Strong Query Language

b)

Structured Query Language

c)

Structured Question Language

d)

Strong Question Language

25.

Which of the following is used to extract data from a database?

a)

EXTRACT

b)

GET

c)

OPEN

d)

SELECT

26.

Which SQL statement is used to add a record in the database?

a)

INSERT

b)

ALTER

c)

UPDATE

d)

ADD

27.

Which SQL statement is used to remove a record in the database?

a)

REMOVE

b)

DELETE

c)

DROP

d)

ERASE

28.

Which SQL statement is used to delete a table?

a)

DELETE TABLE

b)

ERASE TABLE

c)

CUT TABLE

d)

DROP TABLE

29.

The (a)   Constraint states that no component of a primary key should be NULL.

30.

Refrential Integrity Constraint is defined on

a)

3 relations

b)

1 relation

c)

2 relations

d)

Multiple relations

31.

With SQL, how do you display values from a column named "EmpName" from a table named "Employee"?

a)

Select EmpName from Employee

b)

Display EmpName.from Employee

c)

Select Employee.EmpName

32.

Which operator is used to retrieve the data from the whole table?

a)

@

b)

&

c)

$

d)

*

33.

SQL keywords are not case sensitive.

a)

TRUE

b)

FALSE

34.

Which SQL statement is used to retrieve a unique record in the database table?

a)

UNIQUE

b)

DISTINCT

c)

DIFFERENT

d)

NO DUPLICATE

35.

The SQL clause for displaying the output of the query in sorted order

(a)  

36.

Which expression will be used to display all names starting with "Ak"?

a)

"%Ak%"

b)

"A%k%"

c)

"Ak%"

d)

"A%k"

37.

Which language is used to create and edit a database?

a)

SQL

b)

DDL

c)

DML

d)

DFL

38.

The characteristics that describe an entity are called

(a)  

39.

It is used to return all the rows from multiple tables where the join condition is satisfied.

a)

Outer Join

b)

Full Join

c)

Left Join

d)

Inner Join

40.

Which clause is used to retrieve values in a range?

(a)  

41.

Which keyword is used to generate the sequential values in a table column automatically?

(a)  

42.

Which of the following is used to insert the new record in the table?

a)

Insert new

b)

insert Add

c)

Insert new record

d)

insert into

43.

Which SQL clause is used to display the table data into different categories based on a particular attribute type?

a)

Order By

b)

Categorize

c)

Group Into

d)

Group By

44.

The three tiers of DBMS architecture are

a)

Physical Level, Conceptual Level, External Level

b)

Physical Level, Logical Level, External Level

c)

Internal Level, Logical Level, External Level

d)

Internal Level, Conceptual Level, External Level

45.

For a relation to be in INF

a)

All column values should be null

b)

All column values should be not null

c)

All column values should be atomic

d)

All column values should be composite