logo

Crowdly

Browser

Add to Chrome

INTRO. TO DATABASE MGMT. SYST.

Looking for INTRO. TO DATABASE MGMT. SYST. test answers and solutions? Browse our comprehensive collection of verified answers for INTRO. TO DATABASE MGMT. SYST. at moodlenew.iitd.ac.in.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Consider a relation R(A, B, C, D) with the functional dependencies:

  1. A → B
  2. B → C
  3. C → D

What is the highest normal form satisfied by R?

0%
0%
0%
View this question

Given the following SQL query:

studinfo(studid, name, sex)

enroll(studId, courseId)

SELECT DISTINCT e.courseId

FROM enroll e

WHERE e.courseId NOT IN (

    SELECT e1.courseId

    FROM enroll e1

    JOIN studInfo s ON e1.studId = s.studId

    WHERE s.sex = 'male'

);

Which of the following Relational Algebra expressions correctly represents this query?

View this question

Consider a relation R(P, Q, R, S, T, U) with the following functional dependencies:  

1. P → QR  

2. Q → S  

3. R → TU  

Which of the following functional dependencies must also hold? 

0%
0%
0%
0%
0%
View this question

Given the following SQL query:

studinfo(studid, name, sex)

enroll(studId, courseId)

SELECT DISTINCT e.courseId

FROM enroll e

WHERE e.courseId NOT IN (

    SELECT DISTINCT e1.courseId

    FROM enroll e1

    JOIN studInfo s ON e1.studId = s.studId

    WHERE s.sex = 'female'

);

Which of the following Relational Algebra expressions correctly represents this query?

0%
0%
0%
0%
View this question

Given the following SQL query:

SELECT student_id  

FROM Enrollments  

WHERE course = 'Math'  

INTERSECT  

SELECT student_id  

FROM Enrollments  

WHERE course = 'Science';

Which of the following Relational Algebra expressions correctly represents this query?

View this question

A relation is in 3NF if:

0%
0%
View this question

Consider a relation R(A, B, C, D, E) with functional dependencies:  

1. A → B  

2. B → C  

3. CD → E  

R is decomposed into R1(A, B, C) and R2(C, D, E).  

Is this decomposition dependency preserving?  

View this question

Consider a relation R(M, N, O, P, Q, R) with the following functional dependencies:  

1. MN → OP  

2. O → Q  

3. P → R  

R is decomposed into R1(M, N, O, P) and R2(O, Q, P, R).  

Is this decomposition lossless?

0%
0%
View this question

Given the following SQL query:

SELECT student_id  

FROM Enrollments  

EXCEPT  

SELECT student_id  

FROM Exams;

Which of the following Relational Algebra expressions correctly represents this query?

View this question

Which of the following relations is in BCNF?

View this question

Want instant access to all verified answers on moodlenew.iitd.ac.in?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome