Structures and links (Databases) Flashcards

1
Q

What is a database used for?

A

To store information

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

Why are databases used?

A

They are used because they can be searched and sorted very efficiently and can allow many users to use the same information simultaneously

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

Tables in a database can be linked using what?

A

Primary and foreign keys

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

What is a relational database?

A

A database that contains more than one table

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

What is the main advantage of a relational database?

A

Helps avoid unnecessary duplication of data

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

What is a primary key?

A

A primary key is a field in a table that contains a piece of data that is unique for every record.

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

What is a surrogate key?

A

A surrogate key is a field in a table which has been created by the system to ensure that a unique field exists for every record.

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

What is a compound key?

A

A compound key combines more than one field in order to make a unique key

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

What is a foreign key?

What is its use?

A

A foreign key is a field in a table that is the primary key of another table.
will be used to cross reference information in tables

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

What is a data entity?

A

Data entity is something that information will be recorded about in a database.

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

Explain the three types of relationships?

A

One to One = An entity is related to one other entity
One to Many = An entity is related to more than one other entity
Many to Many = Many entities are related to many other entities

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

What is a user interface?

A

A user interface is what the user sees when using a program or application

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

How can the usability of forms be increased?

A

Using drop down menus to select an option

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

What is a query?

A

A query is when you extract information from a database using searching and sorting tools

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