logo

Pearson Edexcel GCSE (9-1) Computer Science practice

A traffic simulation program needs to model the movement of vehicles through a city. Describe how both decomposition and abstraction would be applied by the programmers to design this simulation effectively. [6 marks]

Try the question first, then check the answer and practise the same topic again.

At a glance

Question

Type

exam_style

Style

Topic

Decomposition and abstraction

Exam-style question

Try this first

A traffic simulation program needs to model the movement of vehicles through a city. Describe how both decomposition and abstraction would be applied by the programmers to design this simulation effectively. [6 marks].

Answer and explanation

Concise answer

To design the traffic simulation effectively, programmers would apply decomposition by breaking the overall problem into distinct, smaller components.

Why this is correct

2 marks for describing how decomposition would be applied to the traffic simulation (e.g., breaking into vehicle movement, traffic lights, road network). 2 marks for describing how abstraction would be applied to the traffic simulation (e.g., simplifying vehicle properties, road details, focusing on essentials).

Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.

Common mistake

No common mistake is linked to this question yet.

Related flashcards

Flashcard 1 of 6

Press Space to flip, arrows to move

Related practice questions