Revision Flashcards

1
Q

Another method of input is forms dialogue. Outline what is meant by forms dialogue
and explain how this approach can provide input validation. [2]

A

The computer prompts for input into specific fields on a screen dialogue box.
Many inputs may be via combo boxes, radio buttons, etc, so only certain entries are allowed.

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

Describe the difference between rounding and truncation. [2]

A

Rounding: number is approximated to nearest whole number/tenth/hundredth, etc
Truncating: number is approximated to whole number/tenth/hundredth, etc, nearer zero (accept
lower)

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

State the main difference between a flat file system and a relational database. [1]

A

A flat file is database held as a table and stored in a single file, whereas a relational database
normally contains a number of linked tables.

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

Explain the role of the DMBS in allowing authorised users to data [2]

A

Any two of:

The DBMS allows access via passwords.
The DBMS allows certain users access to certain records or fields only.
The DBMS may allow read and/or write access only.

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

What is the purpose of Backus-Naur Form (BNF)? Explain why BNF is often used
in preference to a natural language such as English or Welsh. [2]

A

BNF is used to describe (unambiguously) the syntax / grammar / rules of a programming /
computer language.
Natural languages such as English or Welsh are normally ambiguous/imprecise.

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

Explain why careful version control is necessary when developing computer
programs. [1]

A

Any 1 of:
 If programmer A modifies current version, and programmer B modifies an earlier version,
neither new version will contain both modifications
 Any amendments must be made to the most recent versions

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

Explain the difference between a procedural and non-procedural programming
language. [2]

A

Procedural languages are concerned with: any one of:
 carrying out actions / calculations, etc
 obeying (ordered) set of instructions
Non-procedural languages are to do with facts / rules / making queries
Marking: Two of the above are needed for the mark

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

Explain the role of a link loader and give an example of a linking error. [2]

A

A link loader is a software tool which combines already compiled modules/subprograms into
the executable program.
Example of error - any one of:
 link loader cannot find a compiled module/subprogram / it doesn’t exist
 the number or type of parameters provided is wrong

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

Give a range of events where an interrupt would occur: [8]

A

Situations giving rise to interrupts: any two of (Must indicate S/W or H/W):
 May arise from a run time error (S/W)
 May arise from input/output request (S/W)
 May arise from a user request (S/W)
 May arise from a software fault (S/W)
 May arise from a peripheral e.g. keyboard key pressed (H/W)
 May arise from a peripheral e.g. printer run out of paper (H/W)
 May arise from e.g. a timer pulse (H/W)
 May arise from a hardware fault (H/W)
An example of an extended answer worth four

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