Arrays, lists and records
This worksheet marks itself
Set it as homework or classwork and every answer is marked as pupils go, with feedback on what they got wrong. The scores go straight into your mark book, so you can see who needs help before the next lesson.
- 11 questions
- 28 marks
- about 35 minutes
- marked instantly
Question types: short answer, matching, multiple choice, true or false.
Try one from this worksheet
State the value of temps[temps.Length - 2] after this C# line. int[] temps = { 14, 19, 8, 25, 17, 11 };
Pick an answer: it's marked straight away, just as your pupils would see it.
About this resource
AQA A-level Computer Science (7517) 4.2.1.1 Data structures · 4.2.1.2 Single- and multi-dimensional arrays · 4.2.1.3 Fields and records · 4.2.1.4 Abstract data types, static and dynamic structures. C# lesson 1 of 8 in 4.2 Fundamentals of data structures: a spot-the-mistakes Do Now, a short key id…
18 slides.
Lesson outline
- Do Now: spot the 3 mistakes
- Do Now: answers
- Key idea: Arrays: one index or two
- Check: read the grid
- Key idea: Records and lists
- Key idea: Static or dynamic?
- Key idea: Data structures and abstract data types
- Set 1: arrays with one index
- Set 2: arrays with two indexes
- Set 3: records and lists
- Exam question E1: static or dynamic?
- Model answer E1
More from 4.2 Data structures · full C# lessons
- Lesson pack · 4.2 L2Text and binary filesSubscription
- Lesson pack · 4.2 L3Queues: linear, circular and prioritySubscription
- Lesson pack · 4.2 L4StacksSubscription
- Lesson pack · 4.2 L5GraphsSubscription
- Lesson pack · 4.2 L6Trees and binary search treesSubscription
- Lesson pack · 4.2 L7Hash tables and dictionariesSubscription
- Lesson pack · 4.2 L8VectorsSubscription


