Here is a question I encountered:-
Read this section of program code that inputs 10 positive numbers and then outputs the smallest number input. Identify three changes you would need to make to find the largest number input instead of the smallest number.
Small = 1000 Counter = 0 REPEAT INPUT Num IF Num < Small THEN Small = Num Counter = Counter + 1 UNTIL Counter = 10 PRINT Small
The question refers to a vague 'program code'-which I do not know of. Neither does this seem like pseudocode due to presence of the equals sign as an assigning operator instead of the arrow '←'.Clearly, not a low-level programming language. So what is it?
Note:I am high school student. This code is part of the 0478 Computer Science IGCSE curriculum here:http://www.cambridgeinternational.org/programmes-and-qualifications/cambridge-igcse-computer-science-0478/past-papers/ If anyone of you know about what this code is and why it is used as part of this IGCSE, please include that in your answer.