Conditionals updates (#474)

* Replaced images.

Deleted old images.

* Corrected filenames

* Corrected filename.

* Fixed traffic light filename.

* Added battle pieces image.

* Added paragraph break

* Made sub-heading

* Lower-case the image names.
This commit is contained in:
dkiang
2017-08-01 05:47:43 -07:00
committed by Peli de Halleux
parent 1d4276c1b9
commit 531c77d9de
13 changed files with 15 additions and 4 deletions

View File

@ -1,4 +1,5 @@
# Introduction
Computer programs are instructions telling the computer how to process input and deliver output.
An important part of programming is telling the computer WHEN to perform a certain task.
For this, we use something called conditionals.  Conditionals get their name because a certain Condition or Rule has to be met.
@ -23,7 +24,7 @@ Example:
The ELSE portion makes sure that a different action is performed in either case. Without the ELSE action, your students might be barefoot!
![If-Then workflow](/static/courses/csintro/conditionals/if-then-workflow.png)
![If-Then workflow](/static/courses/csintro/conditionals/flowchart.PNG)
Tell the students that they will be acting out some conditionals as though the whole class is a computer program for a game. Each student will perform a described action if the indicated condition is met.