Standard Methods of a Solution (Cambridge (CIE) IGCSE Computer Science): Exam Questions

Exam code: 0478 & 0984

11 mins3 questions
1a
1 mark

The flowchart represents an algorithm.

Flowchart showing a process where a pointer starts at 1, an input letter is compared in a loop, outputs a representation, asks if there's another letter, and stops on 'N'.

Identify the type of algorithm used.

1b
2 marks

Describe one problem that could occur with this algorithm if an invalid character was input.

2a
2 marks

Describe counting in the context of algorithms.

2b
3 marks

Write pseudocode to count the number of times a user inputs a positive number, stopping when the user inputs a negative number.

3
3 marks

Outline the processes involved in the algorithm shown in the flowchart.

Flowchart for a sorting algorithm: starts with inputting a limit and numbers, checks conditions, swaps numbers, outputs result, and stops.