Skip to main content

Session 3: Connecting the unconnected

Completion requirements

The figure shows the most common logical structures found in programming languages, such as the If/Then, For/Do, and While/Do. As follows: If/then− 'if password = 12345', true, then display 'password correct', end; false, then end; loop runs once. For/do − for count <= 10, true, do display 'not 10 yet!', count = count +1, back to start; false, go to end; loop runs until count = 10. While /do − while temnperature sensor > 80, true, do display 'temperatuer too high!', back to start; false, go to end: loop runsas long as sensor has temperature > 80.

 3.3.2 Define basic programming