3- Database Development Flashcards

(25 cards)

1
Q

Why can a flat file database be problematic

A

Increase data redundancy
Decrease data integrity

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

What is a database?

A

A database is a collection of related or structured information held on computer

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

What is a relational database

A

A relational database contains more than one table, and the tables are linked through common fields

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

Advantages of relational databases

A

Data redundancy is reduced
Data integrity is greater
Queries and reports

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

What is a table

A

A table is the name for each group of similar data with rows for each entity and columns for each attribute

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

What is a record

A

A record is a collection of data terms, which may be of different data typoesm all relating to the individual or object that the record describes

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

What’s a field

A

A field is part of a record designed to hold a single data item of a specificed type

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

What is a primary field

A

A primary field uniquiely identifies a record

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

Definition of a foreign key

A

When the primary key from one table appears as a field in a second table, it is known as a foreign key of the second table

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

Composite key definition

A

A composite key is one that consists of 2 or more fields

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

Data validation definition

A

Validation is the automatic checking of data when it is entered into a computer system

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

Data type check definition

A

When data entered must conform to a certain type of character

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

Range check definition

A

To ensure that the data entered is between an upper and a lower limit

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

Presence check definition

A

To check that data has been entered into a field

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

Length check definition

A

This is when the entered data must be a certain number of characters

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

Format check definition

A

Some database packages allow the user to specify exactly what format the data being entered should take

17
Q

Data type definition

A

A data type is a freak description of the kind of data being stored or manipulated within a program or system

18
Q

Examples of data types

A

Text (String / alphanumeric)
Integer (number)
Date/time
Currency
Boolean (yes/no)
Autonumber
Calculated

19
Q

3 Relationships

A

1-1
1-many
Many-many

20
Q

What is a relationship

A

A relationship links 2 tables in a database using a field that exists in each of the tables

21
Q

Advantages of having links between tables

A

Reduced data redundancy
Increases data integrity
Reports can be created for more than one table

22
Q

Referential Integrity definition

A

Referential integrity ensures that an entry cannot be made in one table with a foreign key, if the key field does not exist in the linked table

23
Q

What is a cascade update

A

cascade update / cascade delete ensures that changes made in the linked table are also shown in the primary table

24
Q

What are forms

A

Forms are used to enter data into a database

25
What can forms do in a database
Forms can be used to enter a new record, modify existing records or to view records already storied in the table. Forms can also be used to help make menus.