1
QuizMultiple Choice

Use Data Structures — Unit test

Question 1 • Introduction to Information Technology - EL3701

Which statement allows more than one condition in an If statement?

Answer
A
Else
B
While
C
Elif
D
If-then

Explanation

An elif statement adds another condition to an if statement, so the program can check multiple conditions in sequence. Else handles the remaining case without testing another condition. The correct choice is Elif.

AI-written and checked against the verified answer.

Next