Week 4 Lab
This is a pair exercise and must be competed in your
tutorial or lab with your partner.
IMPORTANT NOTE:
Make sure you run 1511 pair
on the lab computer
before starting any activities
and check that your pair
is correctly recorded.
During this week’s lab,
you’ll be working on memory
and loops using while
.
Don’t forget to initialise your counter,
check your condition makes sense,
and that you increment at the end of the loop.
Remember: you may not use any syntax that hasn’t been
covered in lectures.
In particular, for
loops
must not be used in submitted code
and that any for
loop
can be made into a while loop.