In the name of ALLAH, the most beneficient, the most merciful

Database Management Systems (CS403)

Multiple Choice Questions (MCQs)

 

Objective Questions

Question

Which of the following is not one of the properties of Transaction?

  1. atomicity
  2. consistency
  3. redundancy
  4. durability

Answer: 3 Chapter No. 41 

Question

Which of the following is INCORRECT about VIEWS?

  1. It is not possible to left out the data which is not required for a specific view.
  2. A database view displays one or more database records on the same page.
  3. Views can be used as security mechanisms.
  4. Views are generally used to focus the perception each user has of the database.

Answer: 1 Chapter No. 40 

Question

Which of the following statements is true about the views?

  1. view is always a complete set of all the tables in a database
  2. View can not be used for retrieving data
  3. The results of using a view are not permanently stored in the database.
  4. Rows can not be updated or deleted in the view

Answer: 3 Chapter No. 40 

Question

Which of the following is NOT a feature of Indexed sequential files?

  1. Records are stored in sequence and index is maintained.
  2. Dense and nondense types of indexes are maintained.
  3. Track overflows and file overflow areas can not be ensured.
  4. Cylinder index increases the efficiency

Answer: 3 Chapter No. 35 

Question

Which of the following is the correct way to find out the size of cartesian product incase of CROSS JOIN?

  1. the number of columns in the first table multiplied by the number of columns in the second table.
  2. the number of columns in the first table multiplied by the number of rows in the second table.
  3. the number of rows in the first table multiplied by the number of columns in the first table.
  4. the number of rows in the first table multiplied by the number of rows in the second table.

Answer: 4 Chapter No. 31 

Question

Suppose there are 8 rows and 4 columns in TABLE1 and 3 rows and 4 columns in TABLE2; what is the size of the cartesian product incase of CROSS JOIN between these two tables?

  1. 24
  2. 32
  3. 12
  4. 16

Answer: 1 Chapter No. 31 

Question

Which of the following is a correct way of selecting all the columns from a table called PERSONS?

  1. SELECT FROM * Persons
  2. SELECT * FROM Persons
  3. SELECT * WHERE Persons
  4. SELECT WHERE * Persons

Answer: 2 Chapter No. 28 

Question

Which of the following is true about TRUNCATE?

  1. Can be Rolled back.
  2. Activates Triggers.
  3. is DML Command.
  4. Resets identity of the table.

Answer: 4 Chapter No. 27 

Question

Which of the following is used to add or drop columns in an existing table?

  1. ALTER
  2. HAVING
  3. SELECT
  4. THEN

Answer: 1 Chapter No. 27 

Question

cs403_0001
Consider the given relations Student and Instructor as given below. Please note that Fname and Lname also denote the First Name and Last Name respectively.
Which of the following statements is correct with respect to the two relations given above?

  1. The two relations are not union-compatible since their attribute names differ.
  2. The two relations are union-compatible since they have the same type of tuples.
  3. The set operations such as CARTESIAN PRODUCT and DIVISION can be pplied on these two relations.
  4. To find out the students who are not instructors, it is necessary to perform the operation Student รท Instructor.

Answer: 2 Chapter No. 17 

Question

Each course section is assigned a particular faculty member, and each course section corresponds to a particular course. Conceptually, what is the relationship between faculty and course (not course section).

  1. 1:1
  2. 1:M
  3. M:M
  4. Ternary

Answer: 3 Chapter No. 9 

Question

Which feature of database provides conversion from inconsistent state of DB to a consistent state ensuring minimum data loss?

  1. User accessible catalog
  2. Data processing
  3. Authorization service
  4. Recovery service

Answer: 4 Chapter No. 4