9618 · 9.2
Algorithms — FAQ
Frequently asked questions for 9618 Algorithms. Direct answers first, then deeper explanation — then practise with marking.
Is my pseudocode marked on being exactly the same as the mark scheme?
No. Your pseudocode is marked on its clarity, logic, and whether it correctly solves the problem. There are often multiple valid ways to write the pseudocode. As long as it follows standard conventions and is unambiguous, you will be credited.
What is the difference between an algorithm and a program?
An algorithm is the abstract, logical plan for solving a problem, independent of any programming language. A program is the concrete implementation of that algorithm, written in a specific language (like Python, Java, or VB.NET) that a computer can execute.
Do I have to use flowcharts in the exam?
You are more likely to be asked to write pseudocode. However, questions may require you to read, understand, or trace a given flowchart. You must be familiar with the standard flowchart symbols and be able to follow the logic they represent.
What does the arrow `<-` or `←` mean in pseudocode?
This is the assignment operator. It means 'is assigned the value of' or 'gets'. For example, means the new value of the Counter variable is set to its old value plus one. It is used to distinguish from the operator, which is often used for comparison in conditions (e.g., ).