Database ensign and development Flashcards

1
Q

What is a functional requirement

A

The tasks that the database should be able to perform and the data it should be able to hold

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

What is an end-user requirement

A

What the user needs to be able to do with the database

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

What is the data protection act designed to do

A

To ensure that personal dat is held securely and not shared with third-parties

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

Due to the data protection act what are the 4 things that businesses storing personal data must ensure

A

They have consent of the data subject to store personal information, the data is accurate and up to date, the data is used for the limited and specifically stated purposes and that the data kept safe and secure

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

What is an entity

A

A place where information about a person thing or concept is kept

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

What is an attribute

A

It describes the facts details and characteristics of an entity

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

What is the primary key

A

The primary key uniquely identifies each record in a table

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

What is the foreign key

A

The foreign key links one table to the other usually one fo the foreign keys is a primary key in one table

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

What is a data dictionary

A

Includes the name and description of the attributes and entities in each table

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

What is a text attribute

A

A combination of letters and numbers

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

What is a number attribute

A

Whole numbers and decimal places

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

What is a date attribute

A

Usually in the format DD/MM/YYYY

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

What is a time attribute

A

Usually in the format 00:00 but can be in the format 00:00:00

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

What is a Boolean attribute

A

True or false

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

What does a validation do

A

Ensure data is allowable and sensible, makes it harder to make mistakes

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

What does a range validation do

A

Ensures data is between a lower and upper limit

17
Q

What does a restricted choice validation do

A

Limits the uer to a list of options

18
Q

What does length check validation do

A

Restricts the number of characters that can be entered

19
Q

What does a presence check validation do

A

Ensures that the field is not elect blank

20
Q

What does referential integrity do

A

Ensures that the foreign key has a matching value in the corresponding primary key

21
Q

What does SQL stand for

A

Standard query language

22
Q

What is SQL used for

A

To interrogate the data held in the database

23
Q

What is SELECT FROM used for

A

To select data from the database

24
Q

What is WHERE used for

A

To ensure the only records that meet a specific condition are returned

25
Q

What is ORDER BY used for

A

To order the results in ascending or descending order

26
Q

What is INSERT INTO used for

A

To add a record to a table

27
Q

What is UPDATE used for

A

To update a record currently held in the database. The WHERE identifies the record

28
Q

What is the DELETE used for

A

To delete a recorder from the database. No WHERE means all content will be deleted from this table

29
Q

What is the EQUI-JOIN used for

A

To display results form two different tables requires primary key and foreign key to be linked

30
Q

What is the operator AND used for

A

Ensures that both conditions must be true

31
Q

What does the operator OR do

A

Ensures that either condition must be true

32
Q

What does the operator < mean

A

Less than

33
Q

What does the operator > mean

A

More than