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 11 โ€“ 20 of 26 Questions
Page 2 of 3
Q11
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Under database normalization theory, a transitive dependency is a major structural bottleneck. A transitive dependency occurs when:
๐Ÿ’ป text Snippet
stId -> prName -> prCrdts
  1. A.Part of the key is dependent on key attribute
  2. B.Non-key attribute is dependent on another non-key attribute
  3. C.Primary key attribute is dependent on non-key attribute
  4. D.Non-key attribute is not dependent on another non-key attribute
Q12
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.1. Second Normal Form (2NF)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
When designing a relational database, under which specific scenario do database designers need to explicitly evaluate and worry about Second Normal Form (2NF) compliance?
๐Ÿ’ป sql Snippet
-- Composite primary key scenario requiring 2NF verification:
-- EMPLOYEE(EmpID, CourseTitle, Name, DeptName, DateCompleted)
  1. A.When the primary key consists of a single attribute
  2. B.When the primary key contains non-unique values
  3. C.When the primary key is composite (consisting of multiple attributes)
  4. D.When the primary key contains redundant values
Q13
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Medium๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
If a relational database table has successfully satisfied the Second Normal Form (2NF) requirements but is not yet in Third Normal Form (3NF), then update, insertion, and deletion anomalies are due to which of the following dependencies?
๐Ÿ’ป sql Snippet
-- Non-3NF table with transitive dependency
-- CustomerID -> SalesMan -> Region
  1. A.Reflexive dependency
  2. B.Full functional dependency
  3. C.Transitive dependency
  4. D.Partial dependency
Q14
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Medium๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
If a relational database table has successfully satisfied the Second Normal Form (2NF) requirements but is not yet in Third Normal Form (3NF), which type of dependency is responsible for causing update, insertion, and deletion anomalies?
๐Ÿ’ป sql Snippet
-- Transitive Dependency Violation (stId -> prName -> prCrdts):
-- STUDENT(stId, Name, prName, prCrdts)
  1. A.Transitive dependency
  2. B.Partial dependency
  3. C.Reflexive dependency
  4. D.Full functional dependency
Q15
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
From the following options, choose the correct statement that defines the structural criteria and rules for a database relation to be in the Third Normal Form (3NF).
๐Ÿ’ป text Snippet
-- Definition of 3NF:
-- A relation is in 3NF if and only if it is in 2NF and there are no transitive dependencies.
  1. A.There is a partial dependency in the relation.
  2. B.A non-key attribute is dependent on another non-key attribute.
  3. C.There is redundant data in the relation.
  4. D.No non-key attribute is dependent on another non-key attribute (i.e., there are no transitive dependencies).
Q16
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Medium๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
A relational database table is considered to be normalized to the Third Normal Form (3NF) if it satisfies the criteria of the Second Normal Form (2NF) and conforms to which of the following rules?
๐Ÿ’ป sql Snippet
-- Transitive Dependency (Violation of 3NF):
-- CustomerID -> SalesMan -> Region
  1. A.It contains multivalued attributes in some of its rows.
  2. B.It has a partial dependency where non-key attributes depend on part of a composite key.
  3. C.It has a transitive dependency where a non-key attribute determines another non-key attribute.
  4. D.No non-key attribute is dependent on any other non-key attribute (i.e., there is no transitive dependency).
Q17
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Hard๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Given a database relation in Second Normal Form (2NF) with the schema 'SALES(CustomerID, Name, SalesMan, Region)' and the following functional dependencies: - CustomerID -> Name, SalesMan - SalesMan -> Region What structural normalization step is required to convert this relation into Third Normal Form (3NF) to eliminate operational update and deletion anomalies?
๐Ÿ’ป sql Snippet
-- Transitive Dependency Violation in 2NF relation:
-- CustomerID -> SalesMan and SalesMan -> Region
  1. A.Decompose into two relations: - CUSTOMER(CustomerID, Name, SalesMan) - SALESMAN(SalesMan, Region) where 'SalesMan' in CUSTOMER acts as a foreign key referencing SALESMAN.
  2. B.Decompose into two relations: - CUSTOMER(CustomerID, Name) - REGION(CustomerID, SalesMan, Region) where 'CustomerID' acts as a composite key in both tables.
  3. C.Merge with another database table to eliminate the 'SalesMan' column, moving the 'Region' column directly into a flat CUSTOMER table.
  4. D.Declare 'SalesMan' as a primary key in the SALES table, making the relation rely on a composite primary key consisting of {CustomerID, SalesMan}.
Q18
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following database dependency concepts is applicable and eliminated to achieve the Third Normal Form (3NF)?
๐Ÿ’ป sql Snippet
-- Redundant transitive dependency (non-key depending on non-key):
-- Employee(EmpID -> DeptID -> DeptName)

-- 3NF Decomposition into two tables:
-- Employee(EmpID, DeptID)
-- Department(DeptID, DeptName)
  1. A.Full functional dependency
  2. B.Any kind of dependency
  3. C.Transitive dependency
  4. D.Partial functional dependency
Q19
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Medium๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Which of the following database dependency concepts is directly applicable and eliminated to achieve the Third Normal Form (3NF)?
๐Ÿ’ป sql Snippet
-- Redundant transitive dependency (non-key depending on non-key):
-- Employee(EmpID -> DeptID -> DeptName)

-- 3NF Decomposition into two tables:
-- Employee(EmpID, DeptID)
-- Department(DeptID, DeptName)
  1. A.Full functional dependency
  2. B.Any kind of dependency
  3. C.Transitive dependency
  4. D.Partial functional dependency
Q20
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.1. Second Normal Form (2NF)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Under standard relational database normalization guidelines, which of the following statements is TRUE regarding the rules of normal forms?
๐Ÿ’ป sql Snippet
-- Single Primary Key Attribute automatically satisfies 2NF:
CREATE TABLE Teacher (
    TeacherID VARCHAR(5) PRIMARY KEY,
    Name VARCHAR(30)
);
  1. A.A relation is automatically in 2NF if its primary key consists of a single attribute.
  2. B.A relation in 3NF is permitted to have transitive dependencies between non-key columns.
  3. C.To achieve 1NF, a relation must allow multi-valued attributes within a single cell.
  4. D.Partial dependencies are acceptable in 2NF relations as long as they are mapped to composite keys.