1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 11
  4. The first element of a list is at index:

Added 16 Nov 2026

The first element of a list is at index:

  1. 0 Correct answer
  2. 1
  3. −1
  4. n

Correct answer

A. 0

12 views

MCQSEXAM

Explanation

Python uses zero-based indexing. So the first element is at index 0. The last element of a list of length n is at index n−1.

Reference

Asked in: Matric,FBISE

Preparing for an exam?

Doubts & discussion

Not sure why the answer is A? 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