String handling III
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.
Loading...
3 Questions
Q1.
What will be the output of print, when this program is executed?
![An image in a quiz](/_next/image?url=https%3A%2F%2Foaknationalacademy-res.cloudinary.com%2Fimage%2Fupload%2Fv1707167680%2Fadjqzxwylulurfdraqwc.png&w=1920&q=75)
A single number
A single random lowercase letter
random_character
Q2.
What will be the output of print, when this program is executed?
![An image in a quiz](/_next/image?url=https%3A%2F%2Foaknationalacademy-res.cloudinary.com%2Fimage%2Fupload%2Fv1707167688%2Fzda3fnoa5q2ywtefpskq.png&w=1920&q=75)
11
8
Error
Q3.
What will be the output of print, when this program is executed?
![An image in a quiz](/_next/image?url=https%3A%2F%2Foaknationalacademy-res.cloudinary.com%2Fimage%2Fupload%2Fv1707167692%2Ffcpm9ywbi1fsxce26bzq.png&w=1920&q=75)
1 11 16
2
Error
3 Questions
Q1.
What will be the output of print, when this program is executed?
![An image in a quiz](/_next/image?url=https%3A%2F%2Foaknationalacademy-res.cloudinary.com%2Fimage%2Fupload%2Fv1707206581%2Fjvut4e2i5oguma22esp5.png&w=1920&q=75)
A single number
A single random lowercase letter
random_character
Q2.
What will be the output of print, when this program is executed?
![An image in a quiz](/_next/image?url=https%3A%2F%2Foaknationalacademy-res.cloudinary.com%2Fimage%2Fupload%2Fv1707206583%2Ffvnrvrhpsah9cgcrzisv.png&w=1920&q=75)
11
8
Error
Q3.
What will be the output of print, when this program is executed?
![An image in a quiz](/_next/image?url=https%3A%2F%2Foaknationalacademy-res.cloudinary.com%2Fimage%2Fupload%2Fv1707206586%2Fgxbicunf26fqhy5sxn4y.png&w=1920&q=75)
1 11 16
2
Error