databases nat 5 Flashcards

1
Q

What is a presence check?

A

A presence check ensures that data is entered into a field and not to be left blank.

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

What is restricted choice

A

The user has to pick from a [re=set list of options.

  • e.g year group s1, s2, s3
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is a length check

A

Field length validation limits the number of characters that can be stored in a field

e.g >6 for passwords

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

What is a range check

A

Data has an upper and/ or lower acceptable limit

e.g >1 and <100

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

What is a unique check

A

Data entered in the field must not be the same as any other record. Used for primary keys.

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

What is a look-up???

A

Used for all foreign keys. It ensures a foreign key exists as a primary key in another file.

i.e., referential integrity.

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

What is the DIFFERENCE between VERIFICATION & VALIDATION????

A

Validation makes sure that the data entered is acceptable and sensible

whereas

a verification ensures data entered is correct by asking the user to enter the data twice. NOT full proof.

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

What is the DIFFERENCE between a FLAT-FILE DATABASE and RELATIONAL DATABASES

A

Relational/ linked databases are used to store info about several topics

whereas

a flat file database is used to store info about 1 topic, not linked to ANY OTHER database

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

Primary key definition

A

A field of any data type, which uniquely identifies one record in a file/ table

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

Foreign key definition

A

A field in a table which is a primary key in another table. It is used to link the tables. Always validated using a LOOKUP

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

Record definition

A

A record stores info on one person or thing in the topic

AKA row

e.g a pupil
a school
a car
a cartoon

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

File definition

A

A file stores information on 1 topic

AKA table or entity

e.g

pupils
schools
cars
cartoons

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

Field definition

A

A field stores one single piece of info about the person or thing in the topic aka column or attribute

e,g

school name
registration class
registration number
ok that’s it

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

Text

A

letters, words, symbols

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

Numeric

A

numbers

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

date

A

dates

17
Q

time

A

times of the day

18
Q

graphic

A

pictures and photographs

19
Q

link

A

URL or stores the hyperlink

20
Q

boolean

A

only allows for one of two possible options

e.g yes/no
true/false
on/off

21
Q

what is a data dictionary

A

a data dictionary contains information about the tables and fields in a database and should include information on:

entity name
field name
information about each attribute belonging to the entity:
key - primary key and foreign key

field type - number, text, date, boolean etc…..

size
required - does the attribute have to have data? (presence check)

  • validation
22
Q

functional requirements

A

tasks which the databases need to be able to perform

(details of the databases will store)