{ "@context": "https://schema.org", "@type": "Organization", "name": "Brainscape", "url": "https://www.brainscape.com/", "logo": "https://www.brainscape.com/pks/images/cms/public-views/shared/Brainscape-logo-c4e172b280b4616f7fda.svg", "sameAs": [ "https://www.facebook.com/Brainscape", "https://x.com/brainscape", "https://www.linkedin.com/company/brainscape", "https://www.instagram.com/brainscape/", "https://www.tiktok.com/@brainscapeu", "https://www.pinterest.com/brainscape/", "https://www.youtube.com/@BrainscapeNY" ], "contactPoint": { "@type": "ContactPoint", "telephone": "(929) 334-4005", "contactType": "customer service", "availableLanguage": ["English"] }, "founder": { "@type": "Person", "name": "Andrew Cohen" }, "description": "Brainscape’s spaced repetition system is proven to DOUBLE learning results! Find, make, and study flashcards online or in our mobile app. Serious learners only.", "address": { "@type": "PostalAddress", "streetAddress": "159 W 25th St, Ste 517", "addressLocality": "New York", "addressRegion": "NY", "postalCode": "10001", "addressCountry": "USA" } }

Functional Dependencies and Normalization MCQs Flashcards

(30 cards)

1
Q

What is the purpose of normalization?

o A) To increase data redundancy
o B) To reduce data duplication and enhance data integrity
o C) To improve query performance
o D) To simplify database design

A

To reduce data duplication and enhance data integrity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a transitive dependency?

o A) A dependency of a non-key attribute on another non-key attribute
o B) A dependency of a key attribute on a non-key attribute
o C) A direct dependency between primary keys
o D) None of the above

A

A dependency of a non-key attribute on another non-key attribute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Boyce-Codd Normal Form (BCNF)?

o A) A stricter version of 3NF
o B) A form that allows transitive dependencies
o C) A form with no functional dependencies
o D) None of the above

A

A stricter version of 3NF

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which of the following is NOT a characteristic of functional dependencies?

o A) Reflexivity
o B) Transitivity
o C) Union
o D) Redundancy

A

Redundancy

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is the main goal of the third normal form (3NF)?

o A) To remove all redundancies
o B) To ensure all attributes are dependent on the primary key
o C) To prevent transitive dependencies
o D) To allow partial dependencies

A

To prevent transitive dependencies

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following is a candidate key?

o A) A key that can uniquely identify a record
o B) A key that is a foreign key
o C) A key that has multiple values
o D) A key that is always null

A

A key that can uniquely identify a record

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which normal form requires that all functional dependencies be fully functional?

o A) 1NF
o B) 2NF
o C) 3NF
o D) BCNF

A

2NF

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is a primary key?

o A) A unique identifier for a table
o B) A foreign key that references another table
o C) An attribute that can have null values
o D) A composite key made of multiple attributes

A

A unique identifier for a table

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which of the following is a violation of 2NF?

o A) A composite primary key with non-key attributes
o B) A single attribute as the primary key
o C) All attributes dependent on the primary key
o D) No partial dependencies

A

A composite primary key with non-key attributes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the outcome of normalization?

o A) Increased redundancy
o B) Simplified queries
o C) Enhanced data integrity
o D) All of the above

A

Enhanced data integrity

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which of the following describes a surrogate key?

o A) A key derived from business data
o B) A system-generated unique identifier
o C) A composite key
o D) A foreign key

A

A system-generated unique identifier

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is denormalization?

o A) The process of organizing data to reduce redundancy
o B) The introduction of redundancy for performance purposes
o C) The removal of all keys
o D) The creation of new tables

A

The introduction of redundancy for performance purposes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which of the following statements is true about functional dependencies?

o A) They can exist without primary keys.
o B) They are always transitive.
o C) They are only relevant in 1NF.
o D) They can be violated in BCNF.

A

They can exist without primary keys.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which normal form eliminates transitive dependencies?

o A) 1NF
o B) 2NF
o C) 3NF
o D) 4NF

A

3NF

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the main purpose of using composite keys?

o A) To simplify database design
o B) To uniquely identify records when a single attribute is insufficient
o C) To reduce the number of tables
o D) To enforce data integrity

A

To uniquely identify records when a single attribute is insufficient

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is a functional dependency closure?

o A) The set of all attributes that can be functionally determined by a set of
o B) The elimination of all functional dependencies
o C) The process of creating new functional dependencies
o D) None of the above

A

The set of all attributes that can be functionally determined by a set of

17
Q

Which normalization form does not allow any multi-valued dependencies?

o A) 1NF
o B) 2NF
o C) 3NF
o D) 4NF

18
Q

What signifies a relation being in 1NF?

o A) All attributes are unique
o B) All attributes are atomic
o C) No transitive dependencies
o D) All functional dependencies are preserved

A

All attributes are atomic

19
Q

What is a foreign key?

o A) A key that uniquely identifies a record within its own table
o B) A key that links two tables together
o C) A key that can accept null values
o D) A primary key from another table

A

A key that links two tables together

20
Q

Which of the following is an advantage of normalization?

o A) Increased complexity
o B) Reduced redundancy
o C) Slower queries
o D) All of the above

A

Reduced redundancy

21
Q

What is the main goal of functional dependency analysis?

o A) To create new tables
o B) To identify relationships among attributes
o C) To optimize query performance
o D) To enforce data integrity

A

To identify relationships among attributes

22
Q

In which normal form can a relation have no non-prime attributes?

o A) 1NF
o B) 2NF
o C) 3NF
o D) BCNF

23
Q

In relation to database design, what does “lossless decomposition” refer to?

o A) Breaking down a table without losing data
o B) Combining tables to reduce redundancy
o C) Creating a single table from multiple tables
o D) None of the above

A

Breaking down a table without losing data

24
Q

Which normal form is achieved by eliminating multi-valued dependencies?

o A) 1NF
o B) 2NF
o C) 3NF
o D) 4NF

25
What does it mean for a database to be in BCNF? ## Footnote o A) It has no duplicate records. o B) Every determinant is a candidate key. o C) It has at least one foreign key. o D) It has no partial dependencies.
Every determinant is a candidate key.
26
Which of the following is an example of a transitive dependency? ## Footnote o A) A → B and B → C implies A → C o B) A → B and C → D o C) A, B → C o D) A → B and A → C
A → B and B → C implies A → C
27
Which of the following is a disadvantage of denormalization? ## Footnote o A) Increased performance o B) Reduced data integrity o C) Simplified queries o D) Decreased redundancy
Reduced data integrity
28
What does it mean for a database to be in 2NF? ## Footnote o A) No transitive dependencies o B) No partial dependencies o C) All attributes are atomic o D) All functional dependencies are preserved
No partial dependencies
29
Which normal form does not allow any transitive dependencies? ## Footnote o A) 1NF o B) 2NF o C) 3NF o D) BCNF
3NF
30
Why is denormalization sometimes used in database design? ## Footnote o A) To improve data integrity o B) To simplify data relationships o C) To enhance performance for read-heavy applications o D) To enforce normalization rules
To enhance performance for read-heavy applications