Lesson 4 of 10
These resources were made for remote use during the pandemic, not classroom teaching.
Switch to our new teaching resources now - designed by teachers and leading subject experts, and tested in classrooms.
Lesson details
Key learning points
- In this lesson, we will create a program that uses some of the string handling techniques that we have learnt in the lessons 'String handling I' and 'String handling II'.
Licence
This content is made available by Oak National Academy Limited and its partners and licensed under Oak’s terms & conditions (Collection 1), except where otherwise stated.
3 Questions
Q1.What will be the output of print, when this program is executed?
What will be the output of print, when this program is executed?

A single number
A single random lowercase letter
random_character
Q2.What will be the output of print, when this program is executed?
What will be the output of print, when this program is executed?

11
8
Error
Q3.What will be the output of print, when this program is executed?
What will be the output of print, when this program is executed?

1 11 16
2
Error
3 Questions
Q1.What will be the output of print, when this program is executed?
What will be the output of print, when this program is executed?

A single number
A single random lowercase letter
random_character
Q2.What will be the output of print, when this program is executed?
What will be the output of print, when this program is executed?

11
8
Error
Q3.What will be the output of print, when this program is executed?
What will be the output of print, when this program is executed?

1 11 16
2
Error