2.1.5 Databases Flashcards

1
Q

What is a database?

A

persistent, organised store of data, which can be written or computerised

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

What is data?

A

A collection of raw and seemingly meaningless facts, data needs context to become information

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

What are the key components in a database?

A

Entities – each recorded items
Attributes – details about the entities
Field – column used to capture attributes
Record – one row of details about an entity
Table – set of fields and records
Primary key – unique number for an entity

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

What is a flat file database?

A

A single table of data like a spreadsheet, can have redundant data

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

What does a regional database do?

A

Links data/tables together, which removes redundant data and data inconsistency

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

What does a DBMS do?

A

Database management system
Allows the user to create a database and manage the data
Allows user to create forms for easier data entry
Allows data to be displayed as graphs and charts
Allows data to be stored in a standard way so it can be accessed by multiple users at same time
Provides a view/interface for the database

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

What is are queries used for?

A

To pull specific data from the database, its selection language

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

What are logic operators?

A

AND OR NOT, are logic operators and can be combined with = < > !=

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

What does validation do?

A

Ensures correct data is inputted to keep database integrity

Specifies the form the data has to be in

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

What are the types of validation?

A

Presence check
Checks that something has been entered and that field is not empty
Length check
Checks that it has so many characters in it
Range check
Checks that the value is between a minimum and maximum (only applies to numbers)
Type check
Checks the data type e.g. string, integer, float
Format check
Checks the data follows the specific pattern of characteristics/digits
e.g. dd/mm/yy and not dd/mm/yyyy

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

What is a report?

A

Form to add data into the database e.g. name, address, DOB

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