logo

AQA A-Level Computer Science practice

A list is ordered as {"oak", "beech", "ash", "pine"}. If "ash" is moved so that it becomes the 1st object, which object is then 3rd?

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

At a glance

MCQ

Type

practice

Style

Topic

Number systems

Exam-style question

Try this first

A list is ordered as {"oak", "beech", "ash", "pine"}. If "ash" is moved so that it becomes the 1st object, which object is then 3rd?.

  1. A."oak"
  2. B."beech"
  3. C."ash"
  4. D."pine"

Answer and explanation

Concise answer

"beech"

Why this is correct

After moving "ash" to the front, the order is "ash" (1st), "oak" (2nd), "beech" (3rd), and "pine" (4th).

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

No flashcards are published for this page yet.

Related practice questions