Section 1 Practice Tasks

End of Section Practice Tasks

  1. Create a program that outputs the days of the week with each day on a new line.

Requirements for full marks:

  • A comment to explain the program.
  • Only one print line.
  • No empty space at the start of any line.

    2. Write a program that uses two variables, one for a colour and one for an animal. Print a funny response using both variables.

    Requirements for full marks:

    • A comment at the start to state what a variable is.
    • Write only 4 lines of code (including the comment line).
    • Capital letters, full stops and no irregular spacing in the printed line.

< Back to Section One