Each question below shows the correct answer with a full explanation. Use these to build conceptual understanding before attempting a timed quiz.
Relational Database ConceptsEasy
Q1. In a relational database, a table is also called a:
- A.Tree
- B.Graph
- C.Document
- D.Relation✓ Correct
Explanation
In relational terminology, a table is called a relation.
Report an error in this question
Relational Database ConceptsEasy
Q2. A row in a relational table is called a:
- A.Schema
- B.Attribute
- C.Domain
- D.Tuple✓ Correct
Explanation
A row in a relational table is called a tuple.
Report an error in this question
Relational Database ConceptsEasy
Q3. A column in a relational table is called:
- A.An attribute✓ Correct
- B.A relation
- C.A key value
- D.A tuple
Explanation
A column in a relation is called an attribute.
Report an error in this question
Relational Database ConceptsEasy
Q4. A primary key must be:
- A.Unique and not null✓ Correct
- B.Duplicate in values
- C.Foreign key based
- D.Nullable and optional
Explanation
A primary key must have unique values and cannot contain NULL values.
Report an error in this question
Relational Database ConceptsEasy
Q5. A foreign key is:
- A.A key used only for sorting records in a particular order
- B.The first column of any table regardless of its data content
- C.An attribute that is always unique across all related tables
- D.An attribute that references the primary key of another table✓ Correct
Explanation
A foreign key is an attribute in one table that references the primary key of another table.
Report an error in this question
Relational Database ConceptsEasy
Q6. The domain of an attribute specifies:
- A.The number of rows containing that attribute
- B.The name assigned to identify that attribute
- C.The set of allowed values for that attribute✓ Correct
- D.The table name where the attribute exists
Explanation
The domain defines the set of permissible values an attribute can take.
Report an error in this question
Relational Database ConceptsEasy
Q7. The degree of a relation refers to:
- A.The number of tables in database
- B.The number of tuples (rows) stored
- C.The number of keys in the schema
- D.The number of attributes (columns)✓ Correct
Explanation
The degree of a relation is the number of attributes (columns) it has.
Report an error in this question
Relational Database ConceptsEasy
Q8. The cardinality of a relation refers to:
- A.The number of keys in the table
- B.The number of foreign key links
- C.The number of tuples (rows)✓ Correct
- D.The number of attributes (columns)
Explanation
The cardinality is the number of tuples (rows) in a relation.
Report an error in this question
Relational Database ConceptsEasy
Q9. Which of the following is a property of a relational table?
- A.Rows must be ordered
- B.Each row is unique✓ Correct
- C.Columns can be duplicated
- D.Attributes are ordered
Explanation
In a relation, each tuple (row) must be unique - no two identical rows are allowed.
Report an error in this question
Relational Database ConceptsEasy
Q10. NULL in a database represents:
- A.An empty string character
- B.A zero numeric value only
- C.A space character in data
- D.An unknown or missing value✓ Correct
Explanation
NULL represents an unknown, unavailable, or not applicable value.
Report an error in this question
Relational Database ConceptsMedium
Q11. A candidate key is:
- A.Any arbitrary attribute present in the table
- B.The same concept as a foreign key reference
- C.A minimal superkey that uniquely identifies tuples✓ Correct
- D.Always the first column defined in the schema
Explanation
A candidate key is a minimal set of attributes that can uniquely identify each tuple in a relation.
Report an error in this question
Relational Database ConceptsMedium
Q12. A superkey is:
- A.Any set of attributes that uniquely identifies tuples✓ Correct
- B.A key that is permitted to contain NULL values
- C.Always limited to a single attribute in the table
- D.The same concept as a foreign key in a relation
Explanation
A superkey is any set of attributes whose values uniquely identify tuples in a relation.
Report an error in this question
Relational Database ConceptsMedium
Q13. Referential integrity constraint ensures that:
- A.A foreign key value must match a primary key value in the referenced table or be NULL✓ Correct
- B.All columns across every table in the database must have the same compatible data type
- C.All tables in the database schema must have exactly the same total number of data rows
- D.Primary key values can be duplicated across different rows within the same data table
Explanation
Referential integrity ensures every foreign key value exists as a primary key in the referenced table or is NULL.
Report an error in this question
Relational Database ConceptsMedium
Q14. Entity integrity constraint states that:
- A.Foreign keys must always be unique in tables
- B.Tables must have at least one row of data
- C.All attributes in every row must have values
- D.No primary key attribute can have a NULL value✓ Correct
Explanation
Entity integrity states that no component of a primary key is allowed to be NULL.
Report an error in this question
Relational Database ConceptsMedium
Q15. An alternate key is:
- A.A composite key made up of two or more attributes
- B.A candidate key that is not chosen as the primary key✓ Correct
- C.A key that is permitted to contain NULL value entries
- D.The same concept as a foreign key in another table
Explanation
An alternate key is a candidate key that was not selected as the primary key.
Report an error in this question
Relational Database ConceptsMedium
Q16. A composite key is:
- A.A key with only one single attribute value
- B.A foreign key referencing another table
- C.A key that allows NULL values in rows
- D.A key consisting of two or more attributes✓ Correct
Explanation
A composite key consists of two or more attributes that together uniquely identify a tuple.
Report an error in this question
Relational Database ConceptsMedium
Q17. Which of the following is NOT a relational integrity constraint?
- A.Entity integrity
- B.Sequential constraint✓ Correct
- C.Referential integrity
- D.Domain constraint
Explanation
Sequential constraint is not a standard relational integrity constraint.
Report an error in this question
Relational Database ConceptsMedium
Q18. A relation schema defines:
- A.Only the primary key definition of the relation in question
- B.The structure of a relation including attribute names and domains✓ Correct
- C.The actual data values currently stored within the relation
- D.Only the foreign keys that reference other related tables
Explanation
A relation schema specifies the structure: relation name, attribute names, and their domains.
Report an error in this question
Relational Database ConceptsMedium
Q19. In relational algebra, the Cartesian product of two relations R and S produces:
- A.All possible combinations of tuples from R and S✓ Correct
- B.The intersection of tuples in both R and S
- C.Only tuples that match on common attributes
- D.The union of all tuples from both R and S
Explanation
The Cartesian product combines every tuple of R with every tuple of S.
Report an error in this question
Relational Database ConceptsMedium
Q20. A relation in 1NF requires that:
- A.The table has only one column of values
- B.There are no foreign keys in the relation
- C.All values are strictly numeric in type
- D.All attribute values are atomic (indivisible)✓ Correct
Explanation
First Normal Form (1NF) requires that all attribute values be atomic (no repeating groups or multi-valued attributes).
Report an error in this question
Relational Database ConceptsHard
Q21. Codd's Rule 0 (Foundation Rule) states:
- A.SQL is the only query language allowed for use within the database system
- B.Indexes are mandatory for every attribute present in all database tables
- C.All data must be stored exclusively in flat files without any table structure
- D.A relational DBMS must manage data entirely through its relational capabilities✓ Correct
Explanation
Codd's Rule 0 states that the system must qualify as relational and manage the database through its relational capabilities.
Report an error in this question
Relational Database ConceptsHard
Q22. The information rule (Codd's Rule 1) states that:
- A.Pointers can be used to represent data relationships
- B.All information must be represented as values in tables✓ Correct
- C.Metadata need not be stored in tables or relations
- D.Data can be stored in external files outside the system
Explanation
Codd's Rule 1 states all information in a relational database must be represented explicitly as values in tables.
Report an error in this question
Relational Database ConceptsHard
Q23. A relation is in BCNF if:
- A.For every non-trivial functional dependency X to Y, X is a superkey✓ Correct
- B.All attributes in the relation are prime (part of some key)
- C.It has no multivalued dependencies among any of its attributes
- D.It satisfies only the requirements of first normal form (1NF)
Explanation
BCNF requires that for every non-trivial FD X→Y, X must be a superkey of the relation.
Report an error in this question
Relational Database ConceptsHard
Q24. The closure of a set of attributes X (X+) under a set of functional dependencies is:
- A.The set of all foreign keys that reference attribute X
- B.The set of all attributes functionally determined by X✓ Correct
- C.The total number of individual attributes within X
- D.The set of all tables in the database containing X
Explanation
The closure X+ is the set of all attributes that are functionally determined by X under the given FDs.
Report an error in this question
Relational Database ConceptsHard
Q25. Armstrong's axioms include all EXCEPT:
- A.Augmentation
- B.Reflexivity
- C.Distribution✓ Correct
- D.Transitivity
Explanation
Armstrong's axioms are Reflexivity, Augmentation, and Transitivity. Distribution is not one of them.
Report an error in this question
Relational Database ConceptsHard
Q26. A lossless-join decomposition guarantees that:
- A.The original relation can be reconstructed by joining the decomposed relations✓ Correct
- B.No foreign keys are ever needed between the resulting decomposed relations
- C.Join operations are always faster when applied to the decomposed relations
- D.Some data will always be permanently lost during the decomposition process
Explanation
Lossless-join decomposition ensures no information is lost when a relation is decomposed and later joined.
Report an error in this question
Relational Database ConceptsHard
Q27. The dependency preservation property ensures that:
- A.Only primary key dependencies are preserved during the decomposition of tables
- B.All functional dependencies can be checked within individual decomposed relations✓ Correct
- C.No dependencies are maintained after decomposition of the original relation
- D.Dependencies are stored separately from the decomposed relation structures
Explanation
Dependency preservation ensures each FD can be enforced by checking a single decomposed relation.
Report an error in this question
Relational Database ConceptsHard
Q28. A surrogate key is:
- A.A system-generated unique identifier with no business meaning✓ Correct
- B.A natural key derived directly from the business domain
- C.A composite key made up of multiple business attributes
- D.A foreign key referencing a primary key in another table
Explanation
A surrogate key is an artificial, system-generated key that has no inherent business meaning.
Report an error in this question
Relational Database ConceptsHard
Q29. Codd defined how many rules for a fully relational database?
- A.12 rules (numbered 0-12, so 13 total)✓ Correct
- B.10 rules (numbered 1 through 10 only)
- C.5 rules (covering the basic properties)
- D.20 rules (for comprehensive coverage)
Explanation
Codd defined 13 rules (numbered 0 through 12) for a fully relational database system.
Report an error in this question
Relational Database ConceptsHard
Q30. The Closed World Assumption in relational databases means:
- A.Facts not present in the database are considered false✓ Correct
- B.Nothing stored in the database is considered to be true
- C.All possible facts about the domain are stored in it
- D.The database cannot be modified once it has been created
Explanation
The Closed World Assumption states that if a fact is not in the database, it is assumed to be false.
Report an error in this question