Ch 20: First Normal Form (1NF)

26 Questions26 MCQs0 Short Questions0 Long Questions
๐ŸŽฏ Exam Practice Papers
SEMESTER PASS

CS403 - Database Management Systems Examination Practice

Timed practice exam simulation for CS403 - Database Management Systems.

๐Ÿ“˜ VU MID TERM EXAMLectures 1 to 22
โฑ๏ธ 60 Mins

Mid Term Examination

Covers syllabus of Lectures 1 to 22 with 30 high-yield MCQs in a timed exam environment.

๐Ÿ“30 MCQs
โฑ๏ธ60 Minutes
๐Ÿ“— VU FINAL TERM EXAMLectures 23 to 45
โฑ๏ธ 90 Mins

Final Term Examination

Comprehensive semester exam preparation with 45 MCQs covering Lectures 23 to 45 with complete course coverage.

๐Ÿ“45 MCQs
โฑ๏ธ90 Minutes
Showing 21 โ€“ 26 of 26 Questions
Page 3 of 3
Q21
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.1. Second Normal Form (2NF)Hard๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Consider a database table with the schema 'COURSE_REG(StudentID, StudentName, CourseID, CourseTitle, Grade)'. The functional dependencies identified are: - StudentID -> StudentName - CourseID -> CourseTitle - {StudentID, CourseID} -> Grade What normal form is this table currently in, and what is the correct decomposition to convert it into Second Normal Form (2NF)?
๐Ÿ’ป sql Snippet
-- Unnormalized 1NF Table with Partial Dependencies:
-- COURSE_REG(StudentID, StudentName, CourseID, CourseTitle, Grade)
  1. A.It is in First Normal Form (1NF) due to partial dependencies. To convert to 2NF, decompose into: - STUDENT(StudentID, StudentName) - COURSE(CourseID, CourseTitle) - ENROLLMENT(StudentID, CourseID, Grade)
  2. B.It is in Second Normal Form (2NF) due to full functional dependency. To convert to 2NF, decompose into: - COURSE_REG(StudentID, CourseID, Grade)
  3. C.It is in Third Normal Form (3NF) because there are no transitive dependencies. To convert to 2NF, merge all columns into a single flat table.
  4. D.It is in First Normal Form (1NF) due to transitive dependencies. To convert to 2NF, decompose into: - STUDENT_COURSE(StudentID, CourseTitle, Grade)
Q22
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Medium๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Under relational database normalization theory, which of the following concepts is applicable and directly addressed with respect to Third Normal Form (3NF)?
๐Ÿ’ป text Snippet
-- Transitive Dependency chain violating 3NF:
-- Primary Key -> Non-Key Attribute A -> Non-Key Attribute B
  1. A.Full functional dependency
  2. B.Any kind of dependency
  3. C.Transitive dependency
  4. D.Partial functional dependency
Q23
๐Ÿง  Long Problem๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Hard๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
You are given a non-normalized relation 'CUSTOMER_SALES' that is currently in Second Normal Form (2NF). The schema and dependencies are defined as: CUSTOMER_SALES (CustomerID, CustomerName, SalesMan, Region) Primary Key: CustomerID Functional Dependencies: - CustomerID -> CustomerName, SalesMan - SalesMan -> Region Explain why this table schema violates Third Normal Form (3NF) requirements and show the step-by-step table decomposition needed to normalize it into 3NF relations.
๐Ÿ’ป sql Snippet
-- Transitive Dependency violating 3NF:
-- CUSTOMER_SALES (CustomerID, CustomerName, SalesMan, Region)
-- SalesMan -> Region
Q24
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
In relational database normalization theory, which type of functional dependencies must be identified and completely eliminated to transition a relation from Second Normal Form (2NF) to Third Normal Form (3NF)?
๐Ÿ’ป sql Snippet
-- Transitive Dependency: PrimaryKey -> Attribute_A -> Attribute_B
-- Eliminate by splitting into separate tables.
  1. A.Partial functional dependencies
  2. B.Transitive functional dependencies
  3. C.Trivial functional dependencies
  4. D.Multivalued dependencies
Q25
๐Ÿง  Long Problem๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Hard๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
You are given a non-normalized relation 'STUDENT_ENROLLMENT' that is currently in Second Normal Form (2NF). The schema contains details about students and their academic advisors: STUDENT_ENROLLMENT (StudentID, StudentName, MajorCode, AdvisorID, AdvisorName, AdvisorOffice) Primary Key: - StudentID (A single attribute, hence no partial dependencies exist) Functional Dependencies: - StudentID -> StudentName, MajorCode, AdvisorID - AdvisorID -> AdvisorName, AdvisorOffice Explain why this schema violates Third Normal Form (3NF) and show the step-by-step table decomposition to normalize it into 3NF relations.
๐Ÿ’ป sql Snippet
-- Transitive dependency violating 3NF:
-- STUDENT_ENROLLMENT(StudentID, StudentName, MajorCode, AdvisorID, AdvisorName, AdvisorOffice)
-- AdvisorID -> AdvisorName, AdvisorOffice
Q26
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Easy๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Under database normalization theory, which type of functional dependencies are specifically targeted and completely removed when transitioning a database table from Second Normal Form (2NF) to Third Normal Form (3NF)?
๐Ÿ’ป sql Snippet
-- Transitive Dependency: CustomerID -> SalesMan -> Region
-- To resolve, extract SalesMan and Region into a separate table.
  1. A.Partial functional dependencies
  2. B.Transitive functional dependencies
  3. C.Trivial functional dependencies
  4. D.Multivalued functional dependencies