🎯
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 4 of 5 • Questions 31-40 of 50
Q31easy
What is the result of: 20 % 6?
Q32medium
What will be printed? ch = "M" if ch.isupper(): print("Uppercase") if ch.islower(): print("Lowercase") if not ch.isalpha(): print("Not alphabet")
Q33medium
What is the correct condition to check if a number is NOT divisible by 3?
Q34medium
What will be printed? num = 0 if num: print("Non-zero") else: print("Zero")
Q35easy
What is the result of: (10 >= 10) and (5 <= 5)?
Q36medium
What will be printed? x = 15 if x % 3 == 0 and x % 5 == 0: print("Divisible by both") elif x % 3 == 0: print("Divisible by 3") elif x % 5 == 0: print("Divisible by 5") else: print("Not divisible")
Q37easy
What is the result of: not (True and True)?
Q38medium
What will be printed? age = 16 if age < 13: category = "Child" elif age < 18: category = "Teen" elif age < 65: category = "Adult" else: category = "Senior" print(category)
Q39medium
What is the correct condition to check if a character is a digit OR a letter?
Q40medium
What will be printed? num = 25 if num % 2 == 0: result = "Even" else: result = "Odd" if num > 20: result += " and > 20" print(result)
...