wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

DBMS CS3

Total questions: 25

Worksheet time: 13mins

Name
Class
Date
1.

The given Query can also be replaced with_______:

  1. SELECT name, course_id  

  2. FROM instructor, teaches  

  3. WHERE instructor_ID= teaches_ID;  

a)
  1. Select name,course_id from teaches,instructor where instructor_id=course_id;

b)
  1. Select name, course_id from instructor natural join teaches;

c)
  1. Select name, course_id from instructor;

d)
  1. Select course_id from instructor join teaches;

2.
  1. SELECT emp_name  

  2. FROM department  

  3. WHERE dept_name LIKE ' _____ Computer Science';  

  4. In the above-given Query, which of the following can be placed in the Query's blank portion to select the "dept_name" that also contains Computer Science as its ending string?

a)
  1. &

b)

_

c)

%

d)

$

3.

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

a)
  1. Data Bank Administrator

b)
  1. Database Administrator

c)
  1. Data Administrator

d)
  1. None of the above

4.

Which of the following refers to the number of tuples in a relation?

a)
  1. Entity

b)
  1. Column

c)
  1. Cardinality

d)
  1. None of the above

5.

In the relational table, which of the following can also be represented by the term "attribute"?

a)
  1. Entity

b)
  1. Row

c)
  1. Column

d)
  1. Both B &C

6.

Which of the following is used in the application programs to request data from the database management system?

a)
  1. Data Manipulation language

b)
  1. Data Definition Language

c)
  1. Data Control Language

d)
  1. All of the above

7.

Which of the following commands is used to save any transaction permanently into the database?

a)
  1. Commit

b)
  1. Rollback

c)
  1. Savepoint

d)
  1. None of the above

8.

Which one of the following commands is used for removing (or deleting) a relation forms the SQL database?

a)
  1. Delete

b)

Drop

c)

Remove

d)

All of the above

9.

Which one of the following commands is used to restore the database to the last committed state?

a)
  1. Savepoint

b)
  1. Rollback

c)
  1. Commit

d)
  1. Both A & B

10.

The term "DFD" stands for?

a)
  1. Data file diagram

b)
  1. Data flow document

c)
  1. Data flow diagram

d)
  1. None of the above

11.

The term "SQL" stands for

a)
  1. Standard query language

b)
  1. Sequential query language

c)
  1. Structured query language

d)
  1. Server-side query language

12.

The term "Data independence" refers to____

a)
  1. Data is defined separately and not included in the programs

b)
  1. Programs are not dependent on the logical attributes of the data

c)
  1. Programs are not dependent on the physical attributes of the data

d)
  1. Both B & C

13.

The term "ODBC" stands for_____

a)
  1. Oral database connectivity

b)
  1. Oracle database connectivity

c)
  1. Open database connectivity

d)
  1. Object database connectivity

14.

Which of the following keys is generally used to represents the relationships between the tables?

a)

Primary Key

b)

Foreign Key

c)

Secondary key

d)

None of the above

15.

Which one of the following keyword is used to find out the number of values in a column?

a)
  1. TOTAL

b)

COUNT

c)

SUM

d)

AVG

16.

Which one of the following commands is used to modify a column inside a table?

a)

Drop

b)

Alter

c)

Update

d)

Set

17.

Which of the following is the property of transaction that protects data from system failure?

a)

Atomicity

b)

Isolation

c)

Durability

d)

Consistency

18.

Which normalization form is based on the transitive dependency?

a)

1NF

b)

2NF

c)

3NF

d)

BCNF

19.

Rectangles in ER diagram represents?

a)

Tables

b)

Attributes

c)

Entity sets

d)

Tuples

20.

Select the correct definition of relation.

a)

Subset of a cartesian product of list of domains

b)

Subset of a cartesian product of list of tuple

c)

Subset of a cartesian product of list of attributes

d)

Subset of a cartesian product of list of relations

21.

Which of the following is known as minimal super key?

a)

Primary key

b)

Candidate key

c)

Foreign key

d)

None

22.

Identify the concurrency based protocol?

a)

Lock based protocol

b)

Two phase locking protocol

c)

Timestamp ordering protocol

d)

All of the above

23.

Total view of a database is known as?

a)

Physical view

b)

Internal view

c)

Conceptual view

d)

External view

24.

Primary key can be?

a)

NULL

b)

NOT NULL

c)

BOTH NULL and NOT NULL

d)

NOT NULL and UNIQUE

25.

NATURAL JOIN can also be termed as -

a)

Combination of Union & Cartesian product

b)

Combination of Selection & Cartesian product

c)

Combination of Projection & Cartesian product

d)

None