Quiz Space

DBMS End Term: 3 September 2023, Set QPD1-S2 (May 2023 term)

Question 1

+3 marksNumerical answer

Consider the table Scores given below.

PlayerCountryRuns
KohliIndia86
DhoniIndia43
PeleBrazil89
GautamIndia100
LatoPoland78
RahnGermany55
MullerGermany98
RohitIndia30
KloseGermany95
HardikIndia67

Figure 1: Scores

The following query is executed on the Scores table.

sql
SELECT ta.Player FROM Scores AS ta
WHERE ta.Runs > ALL ( SELECT tb.Runs
FROM Scores AS tb
WHERE tb.Country = 'Brazil' AND tb.Runs > 90 )
AND ta.Runs > ANY (SELECT tc.Runs
FROM Scores AS tc
WHERE tc.Country = 'India')

How many tuples are returned by the above SQL query?

Question 2

+3 marksNumerical answer

Consider the log records at an instance of time and the statements given below.

Table 2: Log records

<T0 start>< T_0 \text{ start} >
<T0,A,1000,3000>< T_0, A, 1000, 3000 >
<T0,B,500,300>< T_0, B, 500, 300 >
<T1 start>< T_1 \text{ start} >
<T1,C,790,700>< T_1, C, 790, 700 >
<T0,B,300,200>< T_0, B, 300, 200 >
<Commit T1>< Commit\ T_1 >
<T2 start>< T_2 \text{ start} >
<Checkpoint L>< Checkpoint\ L >
<T2,D,5000,4500>< T_2, D, 5000, 4500 >
System crash

Identify the number of correct statements:

  • Undo T0T_0
  • Redo T1T_1
  • The value of AA is updated to 3000
  • The value of BB is restored to 500
  • The value of CC is restored to 790
  • The value of DD is restored to 5000

Question 3

+1 markOne or more correct options

If a relation R is in Fourth Normal form then, which of the following holds?

Select all that apply.

  1. A

    No partial dependency

  2. B

    No trivial dependency

  3. C

    More than one multivalued dependency

  4. D

    None of these

19 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 End Term 3 Sept 2023 Set QPD1-S2 paper

The IIT Madras BS Database Management Systems (DBMS) End Term paper sat on 3 Sept 2023, in the May 2023 term, set QPD1-S2: 22 questions for 50 marks in 180 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 End Term 3 Sept 2023 Set QPD1-S2 at a glance
TermMay 2023 term
SubjectDatabase Management Systems
Course codeBSCS2001
Questions22
Marks50
Duration180 min
Numerical3
MSQ8
MCQ11
Official paperIIT M DIPLOMA ET1 EXAM QPD1 S2 03 Sep
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More DBMS