44 total
By the end of this subtopic, you should be able to:
Programming basics is about writing simple instructions for a computer in a clear and correct way. In this topic, the instructions are written in pseudocode. Pseudocode is a simple way of writing a program using words and symbols that look a bit like real code, but are easier for humans to read.
In this subtopic, you are learning the building blocks of a program. These building blocks include:
Once you understand these, you can read a design and turn it into working pseudocode.
A design for a program may be shown in structured English or in a flowchart.
Structured English is a simple way of describing an algorithm using clear English statements. An algorithm is a step-by-step method for solving a problem.
For example, a design in structured English might say:
You can turn this into pseudocode like this:
DECLARE Name : STRING
OUTPUT "Enter your name:"
INPUT Name
OUTPUT "Welcome ", Name
This means that one of your skills in this topic is to read a design and then write the same idea as pseudocode.
When doing this, you must make sure that:
Sign in to view full notes