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 1 โ€“ 10 of 26 Questions
Page 1 of 3
Q1
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.1. Second Normal Form (2NF)Easy๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
A relational database table is considered to have successfully satisfied the criteria of the Second Normal Form (2NF) if it is already in 1NF and completely eliminates which of the following dependencies?
๐Ÿ’ป sql Snippet
-- Violation of 2NF (stId -> stName is a partial dependency on composite key):
-- CLASS(crId, stId, stName, grade)
  1. A.Transitive dependency
  2. B.Functional dependency
  3. C.Partial dependency
  4. D.Reflexive dependency
Q2
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.1. Second Normal Form (2NF)Medium๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
The structural rules and formal definition of the Second Normal Form (2NF) are theoretically established upon which of the following functional dependency concepts?
๐Ÿ’ป text Snippet
-- Conceptual definition of 2NF:
-- A relation is in 2NF if all non-key attributes are fully functionally dependent on the key.
  1. A.Reflexive dependency
  2. B.Full functional dependency
  3. C.Transitive dependency
  4. D.Partial dependency
Q3
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
If a database relation 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?
๐Ÿ’ป text Snippet
-- Transitive Dependency Chain causing anomalies in 2NF table:
-- Primary Key -> Non-Key Column A -> Non-Key Column B
  1. A.Transitive dependency
  2. B.Partial dependency
  3. C.Reflexive dependency
  4. D.Full functional dependency
Q4
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.1. Second Normal Form (2NF)Medium๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
If a relational database table is in the First Normal Form (1NF) but fails to meet the criteria for the Second Normal Form (2NF), what type of dependency must be identified and removed through decomposition?
๐Ÿ’ป sql Snippet
-- Violation of 2NF with composite key (crId, stId):
-- CLASS(crId, stId, stName, grade) where stId -> stName (Partial Dependency)
  1. A.Transitive dependency
  2. B.Reflexive dependency
  3. C.Partial dependency
  4. D.Full functional dependency
Q5
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
A relational database table is formally considered to be in the Third Normal Form (3NF) if it satisfies which of the following prerequisites?
๐Ÿ’ป sql Snippet
-- Prerequisite check for 3NF:
SELECT * FROM MyTable;
  1. A.It is already in second normal form
  2. B.It has a transitive dependency
  3. C.It has a partial dependency
  4. D.It has multivalued attributes
Q6
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Hard๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Under database normalization theory, how are the operational update, insertion, and deletion anomalies caused by a transitive dependency removed from a relation?
๐Ÿ’ป sql Snippet
-- Transitive Dependency Violation:
-- CustomerID -> SalesMan and SalesMan -> Region
  1. A.By changing the primary key of the table
  2. B.By reducing the number of rows in the table
  3. C.By breaking down (decomposing) the relation into smaller tables
  4. D.By reducing the number of columns in the table
Q7
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Medium๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
A transitive dependency is a major normalization bottleneck. Under database design rules, a transitive dependency is defined as a situation where:
๐Ÿ’ป sql Snippet
-- Transitive Dependency:
-- stId (Primary Key) -> prName (Non-key) -> prCredits (Non-key)
  1. A.Part of a composite key functionally determines a key attribute.
  2. B.A non-key attribute is functionally dependent on another non-key attribute.
  3. C.A non-key attribute is independent of all other non-key attributes.
  4. D.The primary key attribute is functionally determined by a non-key attribute.
Q8
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Easy๐Ÿ”โญ๐Ÿ’ก๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Under standard relational database normalization rules, a database table is formally considered to be in the Third Normal Form (3NF) if it satisfies which of the following prerequisites?
๐Ÿ’ป sql Snippet
-- Redundant 2NF schema with transitive dependency:
-- CustomerID -> SalesMan and SalesMan -> Region
CREATE TABLE SALES (
    CustomerID INT PRIMARY KEY,
    Name VARCHAR(50),
    SalesMan VARCHAR(50),
    Region VARCHAR(50)
);
  1. A.It is already in second normal form (2NF)
  2. B.It contains a partial dependency on a composite key
  3. C.It has multivalued attributes in some of its column cells
  4. D.It contains a transitive dependency between non-key fields
Q9
โ“ 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. Which of the following correctly defines how a transitive dependency occurs?
๐Ÿ’ป sql Snippet
-- Transitive Dependency chain: StudentID -> ProgramName -> ProgramCredits
-- STUDENT(StudentID, StudentName, ProgramName, ProgramCredits)
  1. A.A primary key attribute is functionally dependent on a non-key attribute
  2. B.A portion of a composite primary key is dependent on another key attribute
  3. C.A non-key attribute is functionally independent of all other non-key attributes
  4. D.A non-key attribute is functionally dependent on another non-key attribute
Q10
โ“ MCQ๐Ÿ“˜ CS403๐Ÿ“‘ Lec 20๐Ÿท๏ธ 20.2. Third Normal Form (3NF)Medium๐Ÿ”โญ๐Ÿ’ก๐ŸŒŸ๐Ÿ“„๐ŸŽ“VU๐Ÿ›๏ธVU
Consider the relation schema 'STD(stId, stName, stAdr, prName, prCrdts)' with the functional dependencies 'stId -> stName, stAdr, prName, prCrdts' and 'prName -> prCrdts'. Which type of functional dependency exists in this relation that violates the Third Normal Form (3NF)?
๐Ÿ’ป text Snippet
STD(stId, stName, stAdr, prName, prCrdts)

Functional Dependencies:
- stId -> stName, stAdr, prName, prCrdts
- prName -> prCrdts
  1. A.Composite dependency
  2. B.Reflexive dependency
  3. C.Terminal dependency
  4. D.Transitive dependency