Databases Flashcards

1
Q

What is a database?

A
  • Structured, persistent store of data using tables, records and fields
  • Allows for addition, modification, deletion and searching for data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

3 benefits of electronic databases

A
  • Easier to retrieve, delete and modify data
  • Easier to back up & make copies of
  • Can be accessed by multiple people at same time
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

3 characteristics of flat-file databases

A
  • Contains only single table
  • Can be easily created using database or spreadsheet software
  • Often saved as CSV file
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

2 common uses of flat-file databases

A
  • Storing contact details
  • Small product database
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

3 cons of only using flat-file databases

A
  • Will take up unnecessary space
  • Becomes slow to query
  • Becomes difficult to maintain
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

3 types of relationships

A
  • 1:1 (one to one)
  • 1:M (one to many)
  • M:M (many to many)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly