Quiz Space

DBMS Quiz 1: 27 October 2024 (September 2024 term)

Question 1

+2 marksOne correct option

Which of the following is the correct sequence for query processing?

  1. A

    Query → Parser and Translator → Evaluation Engine → Optimizer → Query Output

  2. B

    Query → Optimizer → Evaluation Engine → Parser and Translator → Query Output

  3. C

    Query → Parser and Translator → Optimizer → Evaluation Engine → Query Output

  4. D

    Query → Evaluation Engine → Parser and Translator → Optimizer → Query Output

Question 2

+2 marksOne correct option
  1. A

    1-A, 2-B, 3-C

  2. B

    1-B, 2-A, 3-C

  3. C

    1-B, 2-C, 3-A

  4. D

    1-C, 2-A, 3-B

Question 3

+4 marksOne correct option

A relational database contains two separate tables called Employee and Department.
The Employee table has the attributes (Emp_ID, Name, Dept_ID, Salary) and the Department table contains the attributes (Dept_ID, Dept_Name).
The following insert statements were executed to populate the tables:

sql
Insert into Employee values(001,'Mark',1,80000)
Insert into Employee values(002,'Finn',2,60000)
Insert into Employee values(003,'Rory',1,90000)
Insert into Department values(1,'Forensics')
Insert into Department values(2,'Cyber Crime')

How many rows and columns will be returned by the following SQL query?

sql
select *
from Employee, Department
where salary>65000
  1. A

    4 rows and 6 columns

  2. B

    2 rows and 5 columns

  3. C

    4 rows and 5 columns

  4. D

    2 rows and 6 columns

11 more questions in this paper

Sign in with Google — it is free — to see every question with its answer and explanation, practise it in learning mode, or take it as a timed mock test.

More on the DBMS Quiz 1 27 Oct 2024 paper

The IIT Madras BS Database Management Systems (DBMS) Quiz 1 paper sat on 27 Oct 2024, in the September 2024 term: 14 questions for 50 marks in 120 minutes. The first 3 questions are below. Sign in with Google — it is free — to see the whole paper with its answers and explanations, in learning mode or as a timed mock test.

FeatureDBMS Quiz 1 27 Oct 2024 at a glance
TermSeptember 2024 term
SubjectDatabase Management Systems
Course codeBSCS2001
Questions14
Marks50
Duration120 min
MCQ8
MSQ4
Numerical2
Official paperIIT M DIPLOMA AN EXAM QDD2 27 Oct 2024
Negative markingNo negative marking.
Updated

Same Quiz 1, other subjects

More DBMS