Introduction To Programming
Introduction To Programming
REPEATING THINGS
When computers can’t think, they will
repeat their tasks without getting bored.
These repetitive shortcuts are also
called loops.
A sequence needs to be repeated for a
set number of times.
Condition-controlled loops repeat
sequences while or until a condition is
met.
Loops repeat things as often as we
want.
MAKING LIST
If you want to create multiple values and
the variable can only store a single
value, you can make a list that holds
many values.
You can also point to the position of the
value in the list.
You can sort and remove values from a
list.
BUNDLING INSTRUCTIONS
Programs contain sequences.
You can reuse a procedure once we
define it.
Inputting a name to the procedure can
make the program flexible.
The sequence can also produce
information or output.