Database Design and Development (Design) Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What are databases made of?

A

Databases are made of entities and attributes

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

Entities become tables during implementation. What are entities?

A

Entities are;

a person
a place
an object
a thing

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

Attributes become fields during implementation. What are attributes?

A

Attributes are characteristics of entities. Examples of attributes are;

firstName
lastName
address etc.

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

What are Primary Keys (PK)?

A

Primary Keys are unique identifiers of entities

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

What are Foreign Keys (FK)?

A

Foreign Keys are what links two or more tables together

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

What is it necessary to show in databases?

A

Relationships between tables

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

What do data dictionaries do?

A

Data Dictionaries define the structure of the database

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

What do data dictionaries hold information on?

A

Data Dictionaries contain;

Names of entities
Names of attributes
Data types of attributes
Size of attributes
Indication of PK's or FK's
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the field types and what do they hold?

A
Text - holds any character/number
Number - holds only numbers (but not telephone numbers)
Boolean - True/False
Date - stores dates
Time - stores times
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the four types of input validation?

A

Presence Check
Restricted Choice
Field Length
Range

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

What is a Presence Check?

A

Presence Checks are pieces of validation which make any data in a field compulsory

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

What is a Restricted Choice?

A

Restricted Choice limits the amount options a user can input thus cutting down the number of execution errors

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

What is Field Length?

A

Field Length restricts the amount of characters a field can hold

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

What is Range?

A

Range makes sure that the numbers inputted are between two extremes

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

What are Queries?

A

Queries are ways of looking up certain data from a database

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

What do we state when making queries at this level?

A

Field(s)
Table(s)
Sort Order
Criteria