Databases Flashcards

1
Q

What are databases used for?

A

To store large amounts of data on a computer.

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

Can data be removed from a database?

A

Yes, for example if a customer dies their information will be removed from the database.

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

What happens if data is incorrect?

A

It can be updated, this could be a change of address if a customer moves house

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

How can data be sorted in a database?

A

In ascending (Z-A) or in descending (A-Z)

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

How do you search a database?

A

By using a query

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

What are the types of operators?

A

= (Town=Newport) —–> Find customers living in Newport

<> (Town<>Newport) —–> Find all customers except those in Newport

> (Items>10) ———> Find orders with more than 10 items

< (Items<10) ——–>Find orders with less than 10 items

AND (Town=Newport AND Items>10) ——> Find orders with more than 10 items and made by those living in Newport

OR (Town=Newport OR Items>10) —–> Find either orders with more than 10 items or orders mad by customers in Newport

LIKE (Like Town=New)———-> Find customers in a town beginning with New

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

Name 3 data types

A

Number (Stores numbers only)
Text (Stores letters, Numbers and spaces)
Date (Allows only dates to be entered)

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

What is a record?

A

A row or a collection of fields

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

What is a field?

A

Columns that contain particular types of data

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

What is a file/table?

A

A collection of records

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

What is a key field?

A

A field that contains data that is unique to a particular person or thing.

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

What does a validation check do?

A

Makes sure that only sensible data is put in to database

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

What is a list?

A

Forces you to make a choice from a drop down list so unallowed data cannot be entered

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

What is a range check?

A

Makes sure only sensible data is entered

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

What is a format check?

A

Checks that the correct combination of letters and numbers is entered

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

Advantages of using a database

A

Fast access
Variety of output formats (can be printed for filing)
Data is safe