1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 11
  4. The // operator in Python performs:

Added 16 Nov 2026

The // operator in Python performs:

  1. Normal division
  2. Floor division Correct answer
  3. Modulus
  4. Exponentiation

Correct answer

B. Floor division

9 views

MCQSEXAM

Explanation

// is floor division. It divides and rounds down to the nearest integer. 7 // 2 gives 3, while 7 / 2 gives 3.5.

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