๐ŸAutumn 2022

It's National Coding Week ๐ŸŽ‰

National Coding weekarrow-up-right was started in 2013 by Richard Rolfe, an inspiring former head teacher who wanted to help adults learn digital skills. This month, we celebrate his initiative with the hashtag #nationalcodingweek on our social channels. You will find our updates highlight a jobarrow-up-right that is related to coding, and use Code For Life to introduce coding skills to drivers and warehouse operatives at Ocado Group.

Richard Rolfe

"It struck me that whilst there was government investment in a new computer science curriculum for school children, there wasnโ€™t enough being done to support adults."

โ€œIt struck me that whilst there was government investment in a new computer science curriculum for school children, there wasnโ€™t enough being done to support adultsโ€ฆ there wasnโ€™t enough being done to support teacher training especially for non-specialists. Parents and governors needed training tooโ€ฆ most people arenโ€™t in education so I wondered what was being done to support and retrain those who had missed out on digital skills training or for older people who wanted to switch careers or become more cybersecure.โ€ codingweek.orgarrow-up-right

circle-info

Did you know?

Try it out/Can you solve this?

Test your skills with one of our Brain Teaser levelsarrow-up-right.

Brain Teaser

Under the Spotlight

Richard Watkins - Data Scientist

Richard Watkins

Richard is a Data Scientist working in Supply Chain at Ocado Technology. His team design forecasting algorithms โ€“ helping retailers offer their customers good levels of product availability, while minimising waste. As customers can add items to their orders until just a few hours before delivery, and fresh items can have a very short shelf life, this is a huge challenge.

"It's nice to be able to see your algorithms reducing food waste."

Help, it won't stop!

Have a look at the code below. Why does it create an infinite loop?

Answer: The loop is controlled by the value of number but number is never changed.

Therefore which is the correct solution from the examples below?

Celebrate National Coding week with Code for Life

Code for Life has been delivering support to teachers, parents and students around the world since 2014. This month we are releasing our first coding club packs. We have two different packs; the first is based on Primary learningarrow-up-right and suitable for younger students, and our alternative club packarrow-up-right is ideal for introducing teenagers and adults to the principles of the Python language.

We want anyone to be able to set up a club and start delivering the courses. There are guides and resources for you to follow alongside a set of editable slides. Let us knowenvelope how you get on with them and if you have any suggestions to improve them.

Club certificate

Solutions

Brain Teaser solution

Brain teaser solution

Python solution:

a) No, number is not being increased. You must assign number + 1 back to number

b) No, number is not being increased. You must assign number + 1 back to number. You canโ€™t do this in a print statement

c) This is correct. 1 is being added to number and that value is being stored back in number

d) Here, the increment to number is not inside the loop. It must be indented to line up with the print()

Last updated

Was this helpful?