Database definitions Flashcards

1
Q

What does a record look like in a database table?

A

It is a row of data./tuples.

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

What does a field look like in a database table?

A

It is a column of data./attributes.

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

What is a flat file database?

A

It contains only a single table, can be created very easily using either database or spreadsheet software.

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

Capturing data - Name all types of data collection methods.

A

1.Paper based forms
2.Optical character recognition
3.optical mark recognition

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

Capturing data - what are the 4 stages of handling data?

A

Capturing:- How do we get the data into the database in the first place?

Selecting:- How do we then query the data and retrieve it?

Managing:- How do we manage, manipulate, add, edit and delete the data?

Exchanging:- how do we exchange the data with other people/systems?

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

Selecting data - What are the methods or selecting and retrieving collected data?

A
  1. SQL (Structured Query Language)
  2. QBE (Query By Example)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Managing Data - What are methods of managing data?

A

SQL

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

Exchanging Data - What are methods of exchanging data?

A
  1. XML (Human readible)
  2. JSON (Human readible)
  3. CSV
  4. Electronic Data Interchange (EDI) automatic data transfer.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What rules are needed for a table/database to have to reach FIRST Normal form?

A

1.All field names must be unique.

2.Values in fields should be from the same domain.

3.Values in fields should be atomic.

4.No two records can be identical.

  1. Each table needs a primary key.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What rules are needed to make a database SECOND Normal Form?

A
  1. The data is already in 1NF
  2. Any partial dependecies have been removed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Steps on how to deal with Many-to-many relationships?

A
  1. Creating a linking table.
  2. Assigning the primary keys from the two initial tables as the composite key for the new linking table.
  3. flipping the Many-to-Many crows-feet relationshio to become two seperate one-to-many relationships joined by the new table.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the rules for a table/database to reach THIRD normal form?

A
  1. The data is already in 2NF
  2. Any transitive dependencies have been removed.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly