A-level Computing/AQA/Problem Solving, Programming, Data Representation and Practical Exercise/Skeleton code/2014 Exam/Section C

Validation

edit
Error Checking

Example Question

Answer:

Example Answer


Variables

edit
Variables

State the name of an identifier for a variable that has a fixed value role

Answer:

Choice, PlayerName


State the name of an identifier for a variable that has a gatherer role

Answer:

NoOfCardsTurnedOver


Loops

edit
Loops

State the name of a procedure with exactly two loops

Answer:

UpdateRecentScores, PlayGame


Sub Routines

edit
Sub Routine

State the name of a procedure which has the sole purpose of producing an output to the screen

Answer:

DisplayCard, DisplayEndOfGameMessage, DisplayCorrectGuessMessage,DisplayRecentScores