Year 10 - Computing
Programming project - Sense HAT II
Programming: strings and lists
Study Hub
This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.
Year 10 - Computing
Programming: strings and lists
This unit introduces pupils to string-handling techniques, they will explore how a string can be iterated over using a loop and sliced to create substrings. Pupils will be introduced to arrays and lists and explore the differences between the two. They will manipulate with a variety of list methods.
You will learn to randomly generate pixel colours and use this to create a fortune-telling ball.
Static data structures reserve memory locations for a set amount of data. Their size cannot change. Dynamic data structures are more flexible. The memory capacity is not fixed.
add to an existing data structure. Add one real device or system example to prove understanding.
Mistake: A list is static, so once it is created it cannot be edited or amended. Correction: A list is a dynamic data structure that can change in size. The append() function can be used to add elements to a list.
Browse all guides in the Year 10 Computing guide library.