Database Fundamentals and SQL

Questions covering basic database concepts, SQL commands, schema design, and transaction management

10 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

________ is the authorisation command of SQL.

  1. Authorise
  2. Grant
  3. Allow
  4. Access
  5. Permit
Question 2 Multiple Choice (Single Answer)

A view is basically a/an

  1. database
  2. table
  3. entity relationship diagram
  4. virtual table
  5. schema
Question 3 Multiple Choice (Single Answer)

Which of the following symbols represents a weak entity set?

  1. Ellipse
  2. Double outlined rectangle
  3. Diamond
  4. Rectangle
  5. Line
Question 4 Multiple Choice (Single Answer)

The overall structure of a table is known as

  1. schema
  2. table
  3. view
  4. database
  5. record
Question 5 Multiple Choice (Single Answer)

Which of the following commands is/are used to terminate transactions?

  1. STOP TRANSACTION
  2. COMMIT and ROLLBACK TRANSACTION
  3. Only by COMMIT TRANSACTION
  4. Only by ROLLBACK TRANSACTION
  5. END TRANSACTION
Question 6 Multiple Choice (Single Answer)

Which of the following operations increases the length of a list?

  1. INSERT
  2. DELETE
  3. ALTER
  4. LOOKUP
  5. ADD
Question 7 Multiple Choice (Single Answer)

A top to bottom relationship among the items in a database is established by

  1. entity relation schema
  2. relational schema
  3. top down schema
  4. hierarchical schema
  5. stair schema
Question 8 Multiple Choice (Single Answer)

Which of the following defines the external view?

  1. Sub schema
  2. Schema
  3. View
  4. Table
  5. Trigger
Question 9 Multiple Choice (Single Answer)

The store procedure that is automatically fired is called

  1. view
  2. cursor
  3. transaction
  4. trigger
  5. database
Question 10 Multiple Choice (Single Answer)

Who is responsible for the consistency of a database?

  1. Database administrator
  2. Database end user
  3. Transaction manager
  4. Database designer
  5. Software designer