Lesson content

Task 1: A3 Worksheet

 

Task 2: The Challenge – Stringing It All Together

Mr  B would like you to show off your programming skills and your knowledge or arrays and writing.

The program must to the following:

  • Ask the user for their name (4)
  • Tell them they have won a prize in the school competition (4)
  • Give them the option to select one of five prizes (5)
  • On selecting the prize the name and prize will create a sentence such as “Well done Jane, you have won an iPhone X!” (4)
  • The winner and prize is saved in a notpad file using the write function (6-7)
  • The program then shows all winners in a list  (6-7)

Super Challenge: What would be level 8?