© UCLES 2009 9691/01/M/J/09
1 X = 12 REPEAT3 A = X * X4 OUTPUT X, A5 X = X + 16 UNTIL X = 37 END
Copy and complete the following table to dry run the algorithm.LINE __X A OUTPUT CONDITION1 13 1 1 
The algorithm outputs consecutive numbers, starting with 1, and their squares. The intentionwas to print out the first 10 numbers with their squares.
State how the algorithm needs to be changed in order to print 10 numbers, as intended.
Explain how the algorithm can be changed to allow the user to specify how manynumbers are to be output. 
Rewrite the algorithm so that it will output the numbers 5, 10, 15, 20, 25, with their squares.
One purpose of most operating systems is to provide a human computer interface (HCI).
Describe the following HCIs and give an example of an application which would use each:
menu based, 
natural language. 
other purposes of an operating system. 
State what is meant by the following types of data transfer:
half duplex. 
In a certain computer system parity checking is used to check that data has been transferredcorrectly. The type of parity checking used is even parity.Using the byte 01101001 as an example:
explain what is meant by an even parity check, 
give an example of an error which would
be detected.