Past questions › sample-q21a
2025 1 mark Short answer The Software Engineering Project (Year 12) 2D arrays (Python)
NESA HSC Software Engineering Sample Examination + Marking Guidelines (official, 2025)
A school timetable has five periods each day (Monday to Friday). If the timetable is stored as a 2D array, what is the correct Python snippet for accessing the subject on Monday Period 3? Timetable[2] / Timetable[1,4] / Timetable[0][2] / Timetable[1].Subject
Marking criteria
1: Identifies the correct answer.
Sample answer
Timetable[0][2] (day index 0 = Monday, period index 2 = Period 3).