1. Home
  2. Federal Board of Intermediate and Secondary Education (FBISE)
  3. Computer Science FBISE Class 11
  4. A conditional statement in Python is written using:

Added 16 Nov 2026

A conditional statement in Python is written using:

  1. for
  2. if Correct answer
  3. while
  4. def

Correct answer

B. if

12 views

MCQSEXAM

Explanation

if, elif, and else are used for conditional execution. The condition is followed by a colon and an indented block.

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