Loading…
Loading…
Loading…
150 questions · 150 marks · 150 minutes · Estimated cutoff: 99.5/150
| Section | Questions | Marks | Time | Est. Cutoff |
|---|---|---|---|---|
| Computer Science Domain | 100 | 100 | Composite | — |
| Art of Teaching & General Skills | 50 | 50 | Composite | — |
Solve these 5 preview questions right here, then attempt all 150 questions timed.
Select the correct option.
A decomposition of schema R into R1 and R2 is a lossless-join decomposition if and only if the common attributes (R1 ∩ R2) satisfy which condition?
Correct Answer: (A) (R1 ∩ R2) -> R1 or (R1 ∩ R2) -> R2
Concept & Exam Tag
Topic: Lossless Join Decomposition | Asked in: UP LT Grade 2018, KVS PGT CS 2023
Explanation
According to the lossless-join decomposition theorem, a binary decomposition of R into R1 and R2 is lossless if and only if the intersection (R1 ∩ R2) functionally determines either all attributes of R1 or all attributes of R2. That is, the common attribute set must form a super key in at least one of the decomposed relations.
Exam Tip
Lossless test for binary decomposition: (R1 ∩ R2) -> R1 or (R1 ∩ R2) -> R2 in F+. If neither holds, the join generates spurious tuples (lossy).
Select the correct option.
Which normal form ensures that there are no transitive functional dependencies of non-prime attributes on any candidate key?
Correct Answer: (C) 3NF
Normalization
A relation in 2NF is in 3NF if every non-prime attribute is non-transitively dependent on every candidate key.
Select the correct option.
Which of the following SQL DDL commands is used to permanently remove an entire table structure along with all its data and indexes from the database?
Correct Answer: (A) DROP TABLE
Concept & Exam Tag
Topic: SQL DDL vs DML Commands | Asked in: Bihar STET 2023, DSSSB TGT CS 2021
Explanation
DROP TABLE is a DDL command that completely deletes the table definition, schema, indexes, constraints, and data from the data dictionary. In contrast, TRUNCATE TABLE empties table rows while preserving table structure, and DELETE is a logged DML operation that removes rows.
Exam Tip
DROP = removes structure + data (DDL, unlogged/non-rollbackable in many DBs). TRUNCATE = clears all rows, keeps schema (DDL, faster). DELETE = row-by-row removal with WHERE clause support (DML, can be rolled back).
Select the correct option.
A relation R is in 2nd Normal Form (2NF) if and only if it is in 1NF and satisfies which of the following conditions?
Correct Answer: (B) No non-prime attribute is partially dependent on any candidate key
Concept & Exam Tag
Topic: Functional Dependencies & 2NF | Asked in: DSSSB PGT CS 2021, HTET PGT CS
Explanation
2NF requires that every non-prime attribute must be fully functionally dependent on every candidate key. A partial dependency occurs when a non-prime attribute depends on only a proper subset of a composite candidate key. If all candidate keys are single attributes, the table is automatically in 2NF.
Exam Tip
2NF check shortcut: If every candidate key is a single attribute (not composite), the relation is ALWAYS in 2NF!
Select the correct option.
In relational database design, which normal form specifically eliminates multi-valued dependencies (MVD) that cannot be handled by BCNF?
Correct Answer: (C) Fourth Normal Form (4NF)
Concept & Exam Tag
Topic: Database Normalization | Asked in: DSSSB TGT Computer Science 2023, KVS PGT CS
Explanation
A relation is in Fourth Normal Form (4NF) if and only if it is in Boyce-Codd Normal Form (BCNF) and for every non-trivial multi-valued dependency X ↠ Y, X is a superkey of the relation. 4NF eliminates multi-valued anomalies where two independent 1:N relationships are stored in the same relation.
Exam Tip
Normalization Hierarchy: 1NF (Atomic attributes) → 2NF (No partial dependency on candidate key) → 3NF (No transitive dependency) → BCNF (Strict determinant is superkey) → 4NF (No multi-valued dependency) → 5NF (No join dependency / Project-Join normal form).