Paper 1 June 2024
Exam Questions and Answers
Strongly Typed - Answer>>What type of language is Pascal?
This type of language helps to reduce run time errors by forcing
declaration of variables & data types, & captialisation.
Constant - Answer>>An item of data whose value DOESN'T
change
Variable - Answer>>An item of data whose value COULD
change, while being run
Algorithm - Answer>>A sequence of steps that can be followed
to complete a task in a finite number of steps, always terminates.
Element - Answer>>A single value within an array (list)
Record - Answer>>One line of a text file
Selection - Answer>>Principle of choosing what action to take,
based on certain criteria (conditions) - IF & CASE STATEMENTS
Nesting - Answer>>Placing one set of instructions inside
another set of instructions
Iteration - Answer>>Principle of repeating processes - FOR,
WHILE, REPEAT UNTIL
, Definite iteration - Answer>>Process that repeats a set number
of times - FOR LOOP
Indefinite Iteration - Answer>>Process that repeats until a
certain criteria is met - WHILE
Sequence - Answer>>Principle of putting the correct
instructions in the right order within a program
Truncating - Answer>>Process of cutting off a number after a
certain number of characters or d.p
Character Code - Answer>>A unique binary representation of a
particular letter, number etc.
Subroutine - Answer>>A named block of code designed to
carry out a specific task
Advantages of subroutines - Answer>>More readable code
Allows code to be reused
Allows overloading (changing function based on parameters
passed in)
Procedure - Answer>>A subroutine which does not return a
value to the main program
Local Variable - Answer>>A variable that is available only in
specified subroutines and functions
Advantage of local variables - Answer>>Cant inadvertley
change value being stored somewhere else;
Use same variable name in different sections;