Database Fundamentals and SQL Quiz

Comprehensive quiz covering database concepts including SQL operations, PL/SQL programming, database record types, schema design, and DMS fundamentals

20 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

what does SQL Lack

  1. The complexity and size of the SQL standard means that most databases DO NOT implement the entire standard.
  2. The simplicity and size of the SQL standard means that most databases DO implement the entire standard.
  3. The simplicity and size of the SQL standard means that most databases DO NOT implement the entire standard.
  4. The complexity and size of the SQL standard means that most databases DO implement the entire standard.
Question 2 Multiple Choice (Single Answer)

Schema describes the Database?

  1. Logically
  2. Physically
  3. Both of the above
  4. None of the above
Question 3 Multiple Choice (Single Answer)

Schema consists of - sections?

  1. 2
  2. 4
  3. 6
  4. 8
Question 4 Multiple Choice (Multiple Answers)

Database Key is a combination of

  1. Record Number
  2. Page Number
  3. Area Name
  4. Page Name
  5. Area Code
  6. Record Name
Question 5 Multiple Choice (Single Answer)

How many record types are there in DMS

  1. 1
  2. 2
  3. 4
  4. 6
Question 6 Multiple Choice (Single Answer)

Which of the following record type is the fastest

  1. Via Set
  2. Direct
  3. Calc
  4. Index Sequential
Question 7 Multiple Choice (Single Answer)

How many areas are associted with an Index Sequential Record

  1. 1
  2. 2
  3. 3
  4. 4
Question 8 True/False

Index Sequential Records can be stored in the same area as being used by Calc Records

  1. True
  2. False
Question 9 Multiple Choice (Single Answer)

Calc Key of Calc Records is similar to ----- of RDBMS

  1. Primary Key
  2. Alternate Key
  3. Foreign Key
  4. None
Question 10 Multiple Choice (Single Answer)

Set defines a ------ relationship between record types

  1. Physical
  2. Logical
  3. Both
  4. None
Question 11 Multiple Choice (Single Answer)

In a set ORDER is defined as LAST. When we insert a new member record occurence, this record will become.

  1. last member of the set
  2. first member of the set
  3. will be inserted after the current location in the set
  4. will be inserted before the current location in the set
Question 12 Multiple Choice (Single Answer)

In a set ORDER is defined as FIRST. When we insert a new member record occurence, this record will become.

  1. last member of the set
  2. first member of the set
  3. will be inserted after the current member in the set
  4. will be inserted before the current member in the set
Question 13 Multiple Choice (Single Answer)

In a set ORDER is defined as NEXT. When we insert a new member record occurence, this record will become.

  1. last member of the set
  2. first member of the set
  3. will be inserted after the current member in the set
  4. will be inserted before the current member in the set
Question 14 Multiple Choice (Single Answer)

In a set ORDER is defined as PRIOR. When we insert a new member record occurence, this record will become.

  1. last member of the set
  2. first member of the set
  3. will be inserted after the current member in the set
  4. will be inserted before the current member in the set
Question 15 Multiple Choice (Multiple Answers)

A Transaction ends

  1. Only when it is Committed
  2. Only when it is Rolled back
  3. When it is Committed or Rolled back
  4. None of the above
Question 16 Multiple Choice (Multiple Answers)

What is the Result of the following 'AXA'||NULL||'US' ?

  1. Error
  2. NULL
  3. AXA US
  4. AXAUS
Question 17 Multiple Choice (Multiple Answers)

Use these data for the following Questions EMPNO ENAME SAL E100 John 3250 E200 Praveen 2000 E300 Mahesh E400 Prasanth 5500 E500 Vikram 6650 Select count (sal) from Emp will retrieve

  1. 1
  2. 0
  3. 3
  4. 4
  5. None of the above
Question 18 Multiple Choice (Multiple Answers)

The Data Manipulation Language statements are

  1. INSERT
  2. UPDATE
  3. SELECT
  4. All of the above
Question 19 Multiple Choice (Multiple Answers)

Declare a number := 5; b number := null; c number := 10; Begin if a > b AND a < c then a := c * a; end if; End; What will be the value of 'a' after execution?

  1. 50
  2. NULL
  3. 5
  4. None of the above
Question 20 Multiple Choice (Multiple Answers)

Find the ODD Datatype out

  1. VARCHAR2
  2. RECORD
  3. BOOLEAN
  4. RAW