🎯

Logic Building - Phase 1: Conditional Thinking

Test your understanding of if-else statements, boolean logic, and conditional decision-making

50 questions•5 pages•~75 min

Use this quiz track to strengthen recall, speed, and exam-style decision making. Attempt one page first, review explanations, and then re-attempt incorrect questions without notes.

A good scoring strategy is to mark uncertain questions, finish known ones quickly, and return with elimination logic. This improves accuracy while keeping momentum under time constraints.

Progress: 0 / 500%
Page 3 of 5 • Questions 21-30 of 50
Q21easy

What is the result of: not False?

Q22easy

What will be printed? ch = "z" if ch in "aeiou": print("Vowel") else: print("Consonant")

Q23easy

What is the result of: 15 % 4 == 0?

Q24easy

What will be printed? x = 5 y = 10 if x < y: result = "x is smaller" elif x > y: result = "x is larger" else: result = "equal" print(result)

Q25easy

What is the result of: True or False?

Q26medium

What will be printed? temp = 25 if temp < 0: status = "Freezing" elif temp < 20: status = "Cold" elif temp < 30: status = "Warm" else: status = "Hot" print(status)

Q27medium

What is the correct condition to check if a number is positive AND even?

Q28hard

What will be printed? num = 100 if num % 4 == 0: if num % 100 == 0: if num % 400 == 0: print("Leap") else: print("Not leap") else: print("Leap") else: print("Not leap")

Q29hard

What is the result of: (5 > 3) and (2 < 1) or (4 == 4)?

Q30medium

What will be printed? x = 7 y = 3 z = 5 if x > y and x > z: print("x is largest") elif y > x and y > z: print("y is largest") else: print("z is largest")

Quiz Pages

Navigate directly to paginated quiz sets. These links help you revise by page and make every page discoverable.