Databases Flashcards

1
Q

Data

A

Raw facts and figures

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

Ways of using databases

A

1) Search engines 2) Telephone directories 3) Online shop database 4) Information about student 5) Record of each book in library

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

Give advantages of databases? (7)

A

1) Can be sorted 2) Search 3) Filtered 4) Sharing 5) Validation 6) Backup 7) Saves space

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

Table

A

A structure in which data is stored in a database

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

Flat file database

A

A database whose records are stored in a single table

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

Record

A

A collection of data about single item

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

Field

A

One piece of data about an item

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

Data type

A

The format of data in a field

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

List data types (5)

A

1) Text 2) Integer 3) Real (number) 4) Date/time 5) Boolean

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

What is a Boolean

A

Data which has only two possible values

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

Give an example of a Boolean

A

Yes/No or True/False

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

Primary key

A

A unique identifier for each record in a database

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

Index

A

A list of values or items

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

Relational database

A

A database that has several tables linked by primary key fields

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

Foreign key

A

A primary key that appears in another table in a relational database

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

Where can a relational database be used?

A

In a veterinary clinic

17
Q

I have a pet ID, Owner ID, Appointment ID, what are going to be linked?

A

Pet and Owner + Appointment and Pet

18
Q

Give an advantage of a relational database

A

Data has to be entered only once

19
Q

Develop the advantage of relation database that data has to be entered only once

A

Data doesn’t have to be reentered if the owner has several pets –> entering the data once reduces the chance of an error –> Error has to be corrected only once

20
Q

Query

A

A method of searching a database

21
Q

SQL

A

A specialized programming language for maintaining databases and generating queries

22
Q

Query-by-example

A

A method of searching a database by stating the criteria to be searched

23
Q

What does SQL stand for?

A

Structured Query Language

24
Q

What is data validation

A

Making sure the user entered the right data

25
Q

What doesn’t data validation insure?

A

That data is correct

26
Q

How does the computer know that the data is valid?

A

It checks whether it matches the rules