Chapter 3 - Database Applications Flashcards

1
Q

What is a flat file database?

A

In a flat-file database, all the data is stored in one table

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

What is a relational database?

A

In a relational database, each object (or entity) has it’s own table.
The tables are joined together by relationships

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

What is a key field?

A

The key field uniquely identifies each record in a table
Also called a primary key

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

What are tables made up from?

A

Tables are made up from records.
Records are made up from fields.

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

What is a column in a database table called?

A

A column in a database table is a field

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

What is a row in a database table called?

A

A row in a database table is a record

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

What is a record?

A

A record is a set of all the data items that relate to one object in a table

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

What is a field?

A

A field stores a single piece of data about an object

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

What is a query?

A

A query is a feature of a database…
…that allows records to be selected (searched) based on criteria

Used to search for records that match criteria

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

What is a form?

A

A form is a feature of a database …
…that can be used to collect new records, modify existing records or view records already stored in a table

Used to collect data about objects

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

What is a report?

A

A report is a feature of a database…
…that allows tables and query results to be presented in a user-friendly way

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

What is a macro?

A

A macro is a small program that performs a repetitive task automatically

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

What is a foreign key?

A

A foreign key is a field in a table that is the primary key in a different table.
Foreign keys and Primary keys are joined together to make relationships between tables.

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

What are the 3 types of database relationships?

A

one-to-one
one-to-many
many-to-many

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

What is referential integrity?

A

Referential integrity ensures that data is consistent between tables. E.g. a record of an exam result could not be created in a results table if the student did not already exist in a related student table.

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

What is importing data?

A

Importing data is copying data from one application (like a spreadsheet) into another application (like a database)

17
Q

List 5 data types used in databases

A

Text
Number
Date/Time
Autonumber
True/False (or Yes/No)

18
Q

What is data validation?

A

Data validation checks any input data to make sure it is within acceptable limits.

19
Q

What are the 5 types of validation?

A

Presence check
Length check
Type check
Format check
Range check

20
Q

What are the 6 comparison operators?

A

> greater than
= greater than or equal to
< less than
<= less than or equal to
= equal to
<> not equal to
BETWEEN

21
Q

List 2 types of logical operator

A

AND
OR