Question 218 of 498
PCEP Practice Question: Data Types, Variables, Basic I/O and Operators
Which expression evaluates to False?
⚠ Common exam trap
Python Institute often tests whether candidates confuse the assignment operator `=` with the equality operator `==`, or mistakenly think that `<=` requires strict inequality, leading them to incorrectly evaluate `3 <= 3` as `False`.
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
3 > 4
The expression `3 > 4` evaluates to `False` in Python, as 3 is not greater than 4. All other options evaluate to `True` due to the correct application of comparison operators: `<=`, `==`, and `!=`.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
3 > 4
Why this is correct
3 is not greater than 4, so False.
- ✗
3 <= 3
Why it's wrong here
Less than or equal, so True.
- ✗
3 == 3
Why it's wrong here
Equals, so True.
- ✗
3 != 2
Why it's wrong here
Not equal, so True.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Same concept, more angles
4 more ways this is tested on PCEP
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. Which of the following expressions evaluates to False?
easy- A.2 != 1
- B.10 == 10
- ✓ C.3 >= 4
- D.5 < 10
Why C: (3 >= 4) evaluates to False because the 'greater than or equal to' operator (>=) returns True only if the left operand is greater than or equal to the right operand. Since 3 is neither greater than nor equal to 4, the expression is False.
Variation 2. Which TWO of the following expressions evaluate to True? (Choose two.)
easy- A.'a' > 'b'
- B.5 > 10
- ✓ C.3 == 3
- D.bool(0)
- ✓ E.not False
Why C: The equality operator '==' compares the two operands and returns True if they are equal. Since 3 is indeed equal to 3, the expression evaluates to True.
Variation 3. Which logical expression evaluates to True given that a = 5 and b = 10?
medium- A.a > b and b < 0
- B.not (a < b)
- ✓ C.not (a > b)
- D.a == b or False
Why C: Only option C evaluates to True. Option C: not (5 > 10) = not False = True. Option D: a == b or False = 5 == 10 or False = False or False = False. Options A and B are also False.
Variation 4. Evaluate the expression: not (True or False) and (False or True). What is the result?
medium- A.SyntaxError
- B.True
- ✓ C.False
- D.None
Why C: The expression is evaluated step by step: first, `True or False` evaluates to `True`; then `False or True` evaluates to `True`; the `not` operator negates the first `True` to `False`; finally, `False and True` evaluates to `False`. Therefore, the correct answer is C.
Last reviewed: Jun 30, 2026
This PCEP practice question is part of Courseiva's free Python Institute certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the PCEP exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.