wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

DBMS Lab-Model Exam-Viva

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which SQL function is used to count the number of rows in a SQL query?

a)

SUM()

b)

NUMBER()

c)

COUNT()

d)

COUNT(*)

2.

Which of the following is not a DDL command?

a)

None of the Mentioned

b)

ALTER

c)

TRUNCATE

d)

UPDATE

3.

Which of the following statement is true?

a)

DELETE free the space containing the table and TRUNCATE does not free the space containing the table

b)

Both DELETE and TRUNCATE free the space containing the table

c)

DELETE does not free the space containing the table and TRUNCATE free the space containing the table

d)

Both DELETE and TRUNCATE does not free the space containing the table

4.

Which of the following is not true about the ALTER TABLE statement?

a)

It can add a new column.

b)

It can modify existing columns.

c)

It can define a default value for the new column.

d)

It can add a new row.

5.

Which of the following is not a valid aggregate function?

a)

COUNT

b)

SUM

c)

MAX

d)

COMPUTE

6.

Which of the following is not a database object?

a)

TABLE

b)

INDEX

c)

RELATIONSHIP

d)

SEQUENCE

7.

Which of the following database object is ideal to view, change, and analyze data in different ways ?

a)

TABLE

b)

REPORT

c)

FORM

d)

QUERY

8.

Is it possible to create a view without the existence of the base table?

a)

YES

b)

NO

9.

Which of the following is correct syntax of IF statement?

a)
  1. IF-THEN-ELSIF statement

b)
  1. IF-THEN statement

c)
  1. All of the options

d)
  1. IF-THEN-ELSE statement

10.

PL/SQL function must contain a

a)
  1. Return Statement

b)
  1. Follow Statement

c)
  1. GOTO Statement

d)
  1. NULL Statement