Functional Dependency Basics Quiz

Reviewed by Editorial Team
The ProProfs editorial team is comprised of experienced subject matter experts. They've collectively created over 10,000 quizzes and lessons, serving over 100 million users. Our team includes in-house content moderators and subject matter experts, as well as a global network of rigorously trained contributors. All adhere to our comprehensive editorial guidelines, ensuring the delivery of high-quality content.
Learn about Our Editorial Process
| By ProProfs AI
P
ProProfs AI
Community Contributor
Quizzes Created: 81 | Total Attempts: 817
| Questions: 15 | Updated: May 1, 2026
Please wait...
Question 1 / 16
🏆 Rank #--
0 %
0/100
Score 0/100

1. What does a functional dependency mean when we write A → B?

Explanation

A functional dependency A → B indicates that for every unique value of attribute A, there is a corresponding unique value of attribute B. This means that knowing the value of A allows us to determine the value of B, establishing a direct relationship where A influences or dictates B's value.

Submit
Please wait...
About This Quiz
Functional Dependency Basics Quiz - Quiz

This Functional Dependency Basics Quiz tests your understanding of how attributes relate in database design. Learn to identify when one attribute determines another, recognize functional dependency notation, and apply these concepts to normalize database tables. Essential for mastering relational database fundamentals.

2.

What first name or nickname would you like us to use?

You may optionally provide this to label your report, leaderboard, or certificate.

2. In the relation Student(ID, Name, Email), which is a valid functional dependency?

Explanation

In the relation Student(ID, Name, Email), the ID uniquely identifies each student, making it a primary key. Therefore, knowing the ID allows us to determine the corresponding Name. This establishes a functional dependency where the ID functionally determines the Name, indicating that for each ID, there is exactly one associated Name.

Submit

3. If StudentID → Major and StudentID → GPA, what can we infer?

Explanation

When StudentID uniquely determines both Major and GPA, it indicates that knowing a student's ID gives complete information about their major and GPA. This means we can express the relationship as StudentID leading to a combination of both attributes, reflecting their dependency on the StudentID.

Submit

4. A functional dependency X → Y is trivial when ____.

Explanation

A functional dependency X → Y is considered trivial when the set of attributes Y is a subset of the set of attributes X. This means that knowing X inherently provides information about Y, making the dependency redundant or self-evident, as Y cannot contain any information that isn't already included in X.

Submit

5. Which statement about candidate keys is correct?

Explanation

A candidate key is a set of one or more attributes that can uniquely identify each record in a database table. This means that no two tuples (rows) can have the same values for the attributes that make up the candidate key, ensuring data integrity and enabling efficient data retrieval.

Submit

6. If CourseID → Instructor and Instructor → Office, what is the transitive dependency?

Explanation

In a database, a transitive dependency occurs when one attribute indirectly depends on another through a third attribute. Here, since CourseID determines the Instructor and the Instructor determines the Office, it follows that CourseID also determines the Office, establishing a transitive dependency: CourseID → Office.

Submit

7. A relation is in First Normal Form (1NF) if all attributes are ____.

Explanation

A relation is in First Normal Form (1NF) when all attributes contain atomic values, meaning each attribute holds indivisible data. This ensures that each piece of information is unique and can be easily accessed, preventing redundancy and maintaining data integrity within the database structure.

Submit

8. Which scenario describes a partial dependency?

Explanation

A partial dependency occurs when a non-key attribute is reliant on only a portion of a composite primary key, rather than the entire key. This violates the principles of normalization, as it can lead to redundancy and anomalies in database design. Identifying such dependencies is crucial for creating efficient relational databases.

Submit

9. To achieve Second Normal Form (2NF), we must remove all ____ dependencies.

Explanation

To achieve Second Normal Form (2NF), it is essential to eliminate partial dependencies, which occur when a non-key attribute is dependent on only a part of a composite primary key. By removing these dependencies, we ensure that all non-key attributes are fully functionally dependent on the entire primary key, thereby enhancing the database's integrity and reducing redundancy.

Submit

10. In relation Book(ISBN, Title, AuthorID, AuthorName), what is the issue?

Explanation

In the relation Book, the presence of a transitive dependency indicates that AuthorID determines AuthorName, which suggests that AuthorName is dependent on AuthorID rather than being directly related to the primary key. This violates normalization rules, as it can lead to redundancy and inconsistency in the database.

Submit

11. The closure of a set of attributes is the collection of all attributes ____.

Explanation

The closure of a set of attributes refers to all attributes that can be inferred or derived from the original set through functional dependencies. This means it includes every attribute that is functionally determined by the initial attributes, highlighting the relationships and dependencies within a database schema.

Submit

12. Which is true about the primary key?

Explanation

A primary key uniquely identifies each record in a database table, ensuring that all attributes in that table are functionally dependent on it. This means that the value of the primary key determines the values of all other attributes, maintaining data integrity and preventing redundancy within the dataset.

Submit

13. If X → Y and Y → Z, then by the transitivity rule, ____ → Z.

Submit

14. What does the Armstrong's axiom of augmentation state?

Submit

15. A relation is in Boyce-Codd Normal Form (BCNF) if every determinant is a ____.

Submit
×
Saved
Thank you for your feedback!
View My Results
Cancel
  • All
    All (15)
  • Unanswered
    Unanswered ()
  • Answered
    Answered ()
What does a functional dependency mean when we write A → B?
In the relation Student(ID, Name, Email), which is a valid functional...
If StudentID → Major and StudentID → GPA, what can we infer?
A functional dependency X → Y is trivial when ____.
Which statement about candidate keys is correct?
If CourseID → Instructor and Instructor → Office, what is the...
A relation is in First Normal Form (1NF) if all attributes are ____.
Which scenario describes a partial dependency?
To achieve Second Normal Form (2NF), we must remove all ____...
In relation Book(ISBN, Title, AuthorID, AuthorName), what is the...
The closure of a set of attributes is the collection of all attributes...
Which is true about the primary key?
If X → Y and Y → Z, then by the transitivity rule, ____ → Z.
What does the Armstrong's axiom of augmentation state?
A relation is in Boyce-Codd Normal Form (BCNF) if every determinant is...
play-Mute sad happy unanswered_answer up-hover down-hover success oval cancel Check box square blue
Alert!