1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 10
  4. The else block in Python executes when:

Added 10 Nov 2026

The else block in Python executes when:

  1. if is true
  2. if is false Correct answer
  3. Always
  4. Never

Correct answer

B. if is false

11 views

MCQSEXAM

Explanation

The else block executes when the if condition is false. Source: Standard Python content (FBISE-aligned).

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 10 MCQs

Practise all Computer Science FBISE Class 10 MCQs

Similar MCQs