🎯
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 5 of 5 • Questions 41-50 of 50
Q41hard
What is the result of: 0 == False?
Q42medium
What will be printed? x = 10 y = 20 z = 15 if x > y: max_val = x elif y > z: max_val = y else: max_val = z print(max_val)
Q43easy
What is the result of: (3 < 5) == True?
Q44medium
What will be printed? ch = "9" if ch.isdigit(): value = int(ch) * 2 print(value) else: print("Not a digit")
Q45medium
What is the correct condition to check if a number is in the range [10, 20) (10 inclusive, 20 exclusive)?
Q46medium
What will be printed? x = 5 y = 10 result = "x is greater" if x > y else "y is greater" print(result)
Q47hard
What is the result of: 1 == True and 0 == False?
Q48hard
What will be printed? num = 42 if num % 7 == 0: if num % 6 == 0: print("Divisible by both 6 and 7") else: print("Divisible by 7 only") else: print("Not divisible by 7")
Q49easy
What is the result of: (10 != 10) or (5 == 5)?
Q50hard
What will be printed? ch = "a" if ch >= "a" and ch <= "z": print("Lowercase letter") elif ch >= "A" and ch <= "Z": print("Uppercase letter") else: print("Not a letter")
...