logo

Pearson Edexcel GCSE (9-1) Computer Science practice

What is the output of the following pseudocode expression: `RESULT = 17 DIV 3`?

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

At a glance

MCQ

Type

practice

Style

Topic

Algorithms

Exam-style question

Try this first

What is the output of the following pseudocode expression: `RESULT = 17 DIV 3`?.

  1. A.5.666
  2. B.5
  3. C.2
  4. D.Remainder

Answer and explanation

Concise answer

5

Why this is correct

17 DIV 3 performs integer division, which calculates how many whole times 3 goes into 17, resulting in 5.

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