1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 11
  4. The len() function returns:

Added 16 Nov 2026

The len() function returns:

  1. The first element
  2. The length Correct answer
  3. The last element
  4. The type

Correct answer

B. The length

11 views

MCQSEXAM

Explanation

len() returns the number of items in a sequence, such as a list or string.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Computer Science FBISE Class 11 MCQs

Practise all Computer Science FBISE Class 11 MCQs

Similar MCQs