Q1
True / FalseCardinality refers to the number of distinct values in a column.
Cardinality in database terminology typically refers to the uniqueness of data in a column, often related to the number of distinct values.
Q2
True / FalseIn a one-to-many relationship, the 'many' side can have multiple references to the 'one' side.
In a one-to-many relationship, each record in the 'one' side can relate to multiple records in the 'many' side, but not vice versa.
Q3
True / FalseThe cardinality of a relationship determines how many instances of one entity can be associated with instances of another entity.
Cardinality describes the nature of the relationship between entities, including one-to-one, one-to-many, and many-to-many.
Q4
True / FalseIn a many-to-many relationship, each record in both tables can relate to multiple records in the other table.
A many-to-many relationship allows multiple records in one table to relate to multiple records in another table.
Q5
True / FalseCardinality constraints are not necessary when designing a database schema.
Cardinality constraints are crucial in defining how tables relate to each other and ensuring data integrity.
Q6
True / FalseA primary key in a table can have multiple columns if the table requires composite keys.
Composite primary keys involve multiple columns to uniquely identify records in a table.
Q7
True / FalseIn a one-to-one relationship, each record in both tables must have exactly one corresponding record in the other table.
A one-to-one relationship ensures that each record in both related tables has exactly one matching record in the other table.
Q8
True / FalseCardinality is concerned with how many rows of one table can be related to how many rows of another table.
Cardinality determines the number of associations between rows in different tables.
Q9
True / FalseA foreign key constraint in a table ensures that values in one column must match values in a column of another table.
A foreign key constraint enforces referential integrity by requiring that a column's values correspond to values in another table's column.
Q10
True / FalseThe cardinality of a relationship does not affect the performance of SQL queries.
The cardinality of a relationship can impact query performance due to the way joins and lookups are performed.
Q11
True / FalseIn an RDBMS, cardinality always refers to the number of tables in the schema.
Cardinality refers to the nature of relationships between tables, not the number of tables.
Q12
True / FalseA table can have multiple foreign keys, each pointing to a different table.
Tables can indeed have multiple foreign keys referencing different tables to enforce various relationships.
Q13
True / FalseForeign key relationships cannot be established if the referenced table does not have a primary key.
Foreign key constraints require the referenced table to have a primary key to ensure data integrity.
Q14
True / FalseIn a many-to-many relationship, an intermediate table is often used to manage the associations.
A junction or intermediate table is used to handle many-to-many relationships by storing pairs of foreign keys.
Q15
True / FalseCardinality constraints are enforced by the RDBMS and cannot be customized by users.
Cardinality constraints are defined by users during schema design but enforced by the RDBMS.