Databases Flashcards

1
Q

what is a database?

A

a structured set of related data that contains information on a topic.

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

what is a table?

A

an entity; a collection of rows and columns that is used to store data.

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

what is a field?

A

an attribute; a column in a table with a corresponding data type

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

what are the 7 types of data

A
  1. text
  2. number
  3. date
  4. time
  5. container
  6. calculation
  7. summary
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what are 6 examples of data validation?

A
  1. value lists
  2. ranges
  3. required value
  4. unique
  5. verification of type
  6. auto-entered
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is a record?

A

a full set with a value for each field in the table; a row in a table

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

what is a primary key?

A

a field that uniquely identifies each record

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

what is a foreign key?

A

a non-unique field that links to a related table.

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

what are 3 types of relationships and give an example of each one

A

one-to-many: one album has many songs
many-to-one: many letters can be sent to one address
many-to-many: many artists are on many albums

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

what does a report do?

A

sorts or summarizes data

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

what does a report display?

A

different sets of data in different ways

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

what does a query do?

A

searches through the data to look at a specific part of it.

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

what are 3 benefits to using a database over a spreadsheet?

A
  1. databases show connections between different sets of data
  2. databases can store large amounts of data
  3. you don’t need to store things a bunch of times (i.e. Album data in the songs table)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

what are 4 questions you should ask when creating a database?

A
  1. what things do I want to keep track of?
  2. are these things all the same or are there distinct differences?
  3. will data need to be repeated in order to have a complete database?
  4. what are the types of information?
How well did you know this?
1
Not at all
2
3
4
5
Perfectly