Quiz Space

DBMS End Term: 24 December 2023, Set ADB3 (September 2023 term)

Question 1

+3 marksOne correct option

Consider a relation CustomerLogs(Name, Items, Restaurant, Date) with the following data values.

NameItemsRestaurantDate
ZuryCoffeeYour's cafe19-10-21
ZuryDOur's cafe21-10-21
BTeaCE
ZuryAOur's cafe19-10-21

If multivalued dependency (Name→→{Restaurant}Name \rightarrow\rightarrow \{Restaurant\}) exists in the above CustomerLogs relation, then what are the values of A, B, C, D, E?

  1. A

    A = Tea, B = Zury, C = Our’s cafe, D = Tea, E = 19-10-21

  2. B

    A = Coffee, B = Zury, C = Our’s cafe, D = Coffee, E = 19-10-21

  3. C

    A = Tea, B = Zury, C = Your’s cafe, D = Coffee, E = 21-10-21

  4. D

    A = Coffee, B = Zury, C = Your’s cafe, D = Tea , E = 21-10-21

Question 2

+3 marksOne correct option

Consider the relation R(A,B,C,D,E,G)\mathbf{R}(A, B, C, D, E, G) with the following sets of functional dependencies

F={AB→C,AC→B,AD→E,B→D,BC→A,E→G,B→C}\mathcal{F} = \{AB \rightarrow C, AC \rightarrow B, AD \rightarrow E, B \rightarrow D, BC \rightarrow A, E \rightarrow G, B \rightarrow C\}

Let the R is decomposed in two ways:

D1=R1(AB),R2(BC),R3(ABDE),R4(EG)D1 = R1(AB), R2(BC), R3(ABDE), R4(EG)

D2=R1(ABC),R2(ACDE),R3(ADG)D2 = R1(ABC), R2(ACDE), R3(ADG)

Which among the following statements is correct?

  1. A

    D1 is a lossless decomposition and D2 is a lossy decomposition.

  2. B

    D1 is a lossy decomposition and D2 is a lossless decomposition.

  3. C

    D1 and D2 both are lossless decompositions.

  4. D

    D1 and D2 both are lossy decompositions.

Question 3

+3 marksOne correct option

Consider the relation:

Items(item_name, item_type, brand, price)

There is at least one item each in the 'Food' and 'Beverage' item type categories. What will the following relational algebra expression imply?

Πitem_name(σ(item_type=’Beverage’∧brand=’Keventer’)(Items))−Πitem_name(Items×(item_type=’Beverage’∧brand=’Keventer’∧q=’Food’∧price>=s∧r=’Amul’)ρ(p,q,r,s)(Items))\begin{aligned} &\Pi_{item\_name}(\sigma_{(item\_type=\textit{'Beverage'} \wedge brand=\textit{'Keventer'})}(Items)) - \\ &\Pi_{item\_name}(Items \times_{(item\_type=\textit{'Beverage'} \wedge brand=\textit{'Keventer'} \wedge q=\textit{'Food'} \wedge price>=s \wedge r=\textit{'Amul'})} \rho_{(p,q,r,s)}(Items)) \end{aligned}

  1. A

    Names of all beverage items from the brand Keventer that have lower prices than all food items from the brand Amul

  2. B

    Names of all food items from the brand Keventer that have lower prices than all beverage items from the brand Amul

  3. C

    Names of all food items from the brand Keventer that have higher prices than all food and beverage items from the brand Amul

  4. D

    Names of all beverage items from the brand Amul that have a lower price than all food and beverage items from the brand Keventer

17 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 24 Dec 2023 Set ADB3 paper

The IIT Madras BS Database Management Systems (DBMS) End Term paper sat on 24 Dec 2023, in the September 2023 term, set ADB3: 20 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 24 Dec 2023 Set ADB3 at a glance
TermSeptember 2023 term
SubjectDatabase Management Systems
Course codeBSCS2001
Questions20
Marks50
Duration180 min
MCQ13
MSQ3
Numerical4
Official paperIIT M DIPLOMA FN EXAM FDD1 24 Dec 2023
Negative markingNo negative marking.
Updated

Other sets that day

Same End Term, other subjects

More DBMS