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

Topic Questions

8 mins2 questions
1a1 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.

1b2 marks

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

Did this page help you?

2a2 marks

Describe counting in the context of algorithms.

2b3 marks

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

Did this page help you?