teach-ict.com logo

THE education site for computer science and ICT

1. Introduction

Specification point:

Control Flow in imperative languages

i) Understand and use sequence within an algorithm

ii) Understand and use selection in an algorithm (IF and CASE statements)

iii) Understand and use iteration in an algorithm (FOR WHILE REPEAT loops)

 

 

We have covered algorithms already to some extent but this section explores their structure in more detail. This section is to do with 'imperative languages' which is a style of programming where the CPU is instructed step by step as to what to do next. These instructions are in the form of statements set out in sequence.