Free November promotion: everything is free until 30 November 2026 — every subject, unlimited practice.
Subjects / LC Computer Science / Strand 2: Core concepts

Strings, lists and dictionaries

Storing and processing collections of data using strings, lists and dictionaries.

5th Year6th Year HigherOrdinary
Helps to know first: Programming in Python
15practice questions

Fill the gaps: 2 · Multiple choice: 9 · Numeric answer: 3 · Put in order: 1

Each question has up to three hints, a worked explanation, and is tracked in your progress and review plan.

Practise this topic

Try a question

Multiple choice
What is printed by this Python code? nums = [4, 7, 1, 9, 3] m = nums[0] for n in nums: if n > m: m = n print(m)
Choose one answer
Hint 1

m starts as the first item. When does it change?

Create a free account to save your progress.