logo

AQA A-Level Computer Science practice

In Python 3, what is the value of len("computer")?

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

At a glance

MCQ

Type

practice

Style

Topic

Programming

Exam-style question

Try this first

In Python 3, what is the value of len("computer")?.

  1. A.7
  2. B.8
  3. C.9
  4. D.10

Answer and explanation

Concise answer

8

Why this is correct

The length operation counts the characters in the string. The word "computer" contains eight characters.

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