test 1 review part 3 Flashcards

1
Q

(very high level: entities and relationships) —>

(lower level: normalization, PK, FK) –>

(Table/Column names, Keys, Constraints as supported by a specific RDBMS – e.g. datatypes, may be some denormalization)—->

A

conceptual, logical, physical design

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

What are the four components of Database System with SQL

A

Users, Database Applications, SQL, DBMS

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

Which of the following is the correct order of steps for designing a database?

Determine attributes, determine entities, Convert entities to relations through a process called “normalization”, Define relationships to other entities (ERD)

(A) 1, 2, 3, 4
(B) 2, 1, 3, 4
(C) 3, 1, 2, 4
(D) 4, 1, 2, 3

A

(B) 2, 1, 3, 4

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

What is the correct order of the following:

primary key, candidate, determinant

(A) 1, 2, 3
(B) 3,1,2
(C) 2,1,3
(D) 1,3,2
E) 3,2,1

A

E) 3,2,1

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

For a key to be a unique identifier, it must often become a composite key. (T/F)

A

True

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

The ideal surrogate key is short and numeric and sometimes changes. (T/F)

A

False ; The ideal surrogate key is short and numeric and never changes.

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