Databases Flashcards

1
Q

What is a foreign key in a relational database?

A) A field that always holds text values

B) A unique field within a table

C) A field in a child table that links to a primary key in the parent table

D) A reserved SQL keyword

A

C) A field in a child table that links to a primary key in the parent table

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

Which of the following are standard objects found in a database? (Multiple Response)

A) Tables

B) Forms

C) Graphs

D) Stylesheets

E) Queries

F) Reports

A

A) Tables

B) Forms

E) Queries

F) Reports

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

What is a primary key, and can you give one example?

A

A unique identifier in a table that ensures each record is distinct

Example: Student ID or Employee Number

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

What do cascade updates and deletes do in a relational database?

A) They sort the data in ascending order

B) They remove duplicates across all tables

C) They automatically update or delete related records in a child table

D) They encrypt sensitive fields

A

C) They automatically update or delete related records in a child table

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

What are the advantages of using lookup lists and default values in a database? (Multiple Response)

A) Slows system performance

B) Faster data entry

C) Ensures access to cloud storage

D) Reduces input errors

A

B) Faster data entry

D) Reduces input errors

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

What is a major disadvantage of a flat file database compared to a relational database?

A) It uses too many tables

B) Data is often duplicated and harder to update/manipulate

C) It supports multiple users more effectively

D) It cannot be printed

A

B) Data is often duplicated and harder to update/manipulate

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