Skip to content

Study Hub

Study Guides

This pupil-friendly study guide includes a unit summary, clear notes, common mistakes, and quick questions with answers.

Year 10 - Computing

2D arrays and lists

Programming: strings and lists

Unit Summary

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.

Lesson Summary

You will learn to define and use two-dimensional lists.

Key Notes

  • A list is used to hold multiple elements under one name.
  • A two-dimensional list allows you to hold a list as one element.
  • Data in a 2D list can be held in rows and columns.

Vocabulary To Learn

  • list: a dynamic data structure that can contain items of different data types
  • two-dimensional: describes a list or array that has both columns and rows of values
  • array: a static data structure that contains items of the same data type

Common Mistakes To Avoid

  • Arrays and lists behave in the same way.

3 Quick Questions (With Answers)

1. Describe the system or process from this lesson in clear steps.

A list is used to hold multiple elements under one name. A two-dimensional list allows you to hold a list as one element.

2. Define this computing term and give one practical example. 'list'

a dynamic data structure that can contain items of different data types. Add one real device or system example to prove understanding.

3. Correct this common computing misconception.

Mistake: Arrays and lists behave in the same way. Correction: An array has a predefined fixed size. A list can vary in size throughout program execution.

More Lessons In This Unit

Browse all guides in the Year 10 Computing guide library.