Courseiva

PCEP Practice Question: Data Types, Variables, Basic I/O and Operators

Which of the following expressions evaluates to False?

⚠ Common exam trap

Python Institute often tests whether candidates confuse the direction of comparison operators (e.g., mistaking >= for <=) or forget that >= includes equality, leading them to incorrectly assume 3 >= 4 is True.

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

(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.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    2 != 1

    Why it's wrong here

    2 != 1 is True because the two integers differ, so the inequality operator returns True, not False. It is tempting because != often yields False when operands match, but unequal values make this expression evaluate to True.

  • ✗

    10 == 10

    Why it's wrong here

    10 == 10 compares two equal integers, so Python evaluates it to True, not False. It is tempting because equality operators can return False when operands differ, but identical literal values always compare equal, making this expression a True result.

  • ✓

    3 >= 4

    Why this is correct

    The expression 3 >= 4 evaluates to False because the greater-than-or-equal-to operator requires the left operand to be numerically larger than or identical to the right. Since 3 is strictly less than 4, the comparison fails, satisfying the stem's requirement for an expression that returns False.

  • ✗

    5 < 10

    Why it's wrong here

    5 < 10 is a true comparison because 5 is less than 10, so Python returns True rather than False. It is tempting because less-than expressions frequently evaluate to False when the left operand is larger, but here the ordering satisfies the condition.

About these practice questions

This PCEP question is part of Courseiva's 482-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.