Relational Database Design, Implementation And Use Flashcards

1
Q

Explain the purpose of a data dictionary

A

The purpose of a data dictionary is to list all the files in the database, including the number of records, field names and types.

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

How do scripts such as SQL and PHP extract, amend, insert and delete data in a database?

A

Host languages are used to send the SQL instruction to database management software which processes the instruction.

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

How are calculations handled by relational databases?

A

Results of these calculations are obtained and presented using queries and reports. A database should not store calculated data permanently - as this would slow response times to future queries.

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

Explain the purpose of a report and how a report is generated

A

Is used to dusk at the results of a query as a formatted document.
Contains database fields to be displayed, along with additional labels, text and graphics used to present the information in a user friendly way.
A query may be needed first to produce this report
Results of calculations are often displayed in the report footer section.

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

What is the need to refine a design (normalisation) in order to reduce redundancy in a relational database?

A

So that data can be inserted, modified and deleted in just one table.
Many-to-many relationships expanded to two one-to-many relationships so entities will not be hidden.

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

Normalisation

A

Prevents the same fields being present in more than one table
Data can be inserted, deleted and modified in just one table
Achieved by insertion of further entities and relationships into the diagram

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

Form uses

A

To enter data into database tables

Forms can be used to create a user interface for a database

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

Query use

A

Used to search one or more database tables using entered criteria
Query returns appropriate results when executed
SQL can be used to query a database

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

How are SQL instructions carried out on a database?

A

Embedded in other host languages
Host league be sends the SQL instruction to Access
Access processes the instruction
If the instruction is a query then results will be returned and dealt with by the host language

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

Data in a calculation

A

Results are obtained and presented using queries and reports
Calculated data is not stored permanently as this would result in a larger database file, slowing response times to future queries

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

Reports

A

A formatted document used to display query results

Contains database fields, text, labels and graphics to present the information in a user friendly way

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