lecture 10 Flashcards

1
Q

what is database design?

A
  • they organize information in organizations.
  • they help you think about which information is needed for specific processes.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what should a database do?

A
  • enter information only once
  • analyze data on different levels
  • be fast and flexible
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is a database?

A

a collection of data organized to serve many applications by centralizing data and controlling redundant data. basically, excel sheets connected to other excel sheets.

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

what does a database consist of?

A
  • tables with data
  • relationships between tables
  • metadata (data that descirbes data)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is a database management system (DBMS)?

A
  • the software you use to manage a database, specialized for storage, manipulation and retrieval of structured data
  • separates logical and physical views of data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what capabilities do database management systems have?

A
  • data definition capability
  • data dictionary
  • data manipulation language
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is a relational database?

A

a two-dementional table, each table contains data on one entity and its attributes.

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

what is a table?

A

a grid of
- rows > records for different instances of an entity
- columns > represents attribute for entity

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

what is the primary key?

A

field dat uniquely indentifies each record in a table

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

what is a foreign key?

A

field that is a primary key in another table, used for looking up records for that table and links records together

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

what is a flat-file database?

A

opposite of the relational database, database has a lot of loss of information, is inconsistent and contains redundant data

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

what is an entity-relationship diagram (ERD)?

A

illustration of relationships between entities. used by analysts to document the data model

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

what is an entity?

A

a box with a name that represents something

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

what type of relationships are there?

A
  • one to one (1-1) > vb. lecturer has an office and does not share it with anyone
  • one to many (N-1) > vb. lecturer teaches many courses, but a course is only thaugth by one lecturer
  • many to many (N-N, N-M) > vb. students follow many courses, courses have many students
How well did you know this?
1
Not at all
2
3
4
5
Perfectly