Free Practice Questions for Python Institute PCEP™ – Certified Entry-Level Python Programmer Certification

    🔄 Last checked for updates July 20th, 2026

    Study with 426 exam-style practice questions designed to help you prepare for the Python Institute PCEP™ – Certified Entry-Level Python Programmer. All questions are aligned with the latest exam guide and include detailed explanations to help you master the material.

    Start Practicing

    All Domains

    Practice with randomly mixed questions from all topics

    Question MixAll Topics
    FormatRandom Order

    Domain Mode

    Practice questions from a specific topic area

    Quiz History

    Exam Details

    Key information about Python Institute PCEP™ – Certified Entry-Level Python Programmer

    Official study guide

    View

    Question formats CertSafari offers
    • Multiple choice
    • Ordering
    • Matching
    • Fill in the blank
    status:

    Live & Active

    exam code:

    PCEP-30-02

    exam format:

    4 sections with varying item counts and weights

    last updated:

    February 23, 2022

    weight per section:

    Section 1: 18%, Section 2: 29%, Section 3: 25%, Section 4: 28%

    number of items per section:

    Section 1: 7 items, Section 2: 8 items, Section 3: 7 items, Section 4: 8 items

    Exam Topics & Skills Assessed

    Skills measured (from the official study guide)

    Domain 1: Computer Programming and Python Fundamentals

    Subdomain 1.1: Understand fundamental terms and definitions

    Interpreting and the interpreter, compilation and the compiler

    Lexis, syntax, and semantics

    Subdomain 1.2: Understand Python’s logic and structure

    Keywords

    Instructions

    Indentation

    Comments

    Subdomain 1.3: Introduce literals and variables into code and use different numeral systems

    Boolean, integers, floating-point numbers

    Scientific notation

    Strings

    Binary, octal, decimal, and hexadecimal numeral systems

    Variables

    Naming conventions

    Implementing PEP-8 recommendations

    Subdomain 1.4: Choose operators and data types adequate to the problem

    Numeric operators: ** * / % // + –

    String operators: * +

    Assignment and shortcut operators

    Unary and binary operators

    Priorities and binding

    Bitwise operators: ~ & ^ | << >>

    Boolean operators: not, and, or

    Boolean expressions

    Relational operators ( == != > >= < <= )

    The accuracy of floating-point numbers

    Type casting

    Subdomain 1.5: Perform Input/Output console operations

    The print() and input() functions

    The sep= and end= keyword parameters

    The int() and float() functions

    Domain 2: Control Flow – Conditional Blocks and Loops

    Subdomain 2.1: Make decisions and branch the flow with the if instruction

    Conditional statements: if, if-else, if-elif, if-elif-else

    Multiple conditional statements

    Nesting conditional statements

    Subdomain 2.2: Perform different types of iterations

    The pass instruction

    Building loops with while, for, range(), and in

    Iterating through sequences

    Expanding loops with while-else and for-else

    Nesting loops and conditional statements

    Controlling loop execution with break and continue

    Domain 3: Data Collections – Tuples, Dictionaries, Lists, and Strings

    Subdomain 3.1: Collect and process data using lists

    Constructing vectors

    Indexing and slicing

    The len() function

    List methods: append(), insert(), index(), etc.

    Functions: len(), sorted()

    The del instruction

    Iterating through lists with the for loop

    Initializing loops

    The in and not in operators

    List comprehensions

    Copying and cloning

    Lists in lists: matrices and cubes

    Subdomain 3.2: Collect and process data using tuples

    Tuples: indexing, slicing, building, immutability

    Tuples vs. lists: similarities and differences

    Lists inside tuples and tuples inside lists

    Subdomain 3.3: Collect and process data using dictionaries

    Dictionaries: building, indexing, adding and removing keys

    Iterating through dictionaries and their keys and values

    Checking the existence of keys

    Methods: keys(), items(), and values()

    Subdomain 3.4: Operate with strings

    Constructing strings

    Indexing, slicing, immutability

    Escaping using the \ character

    Quotes and apostrophes inside strings

    Multi-line strings

    Basic string functions and methods

    Domain 4: Functions and Exceptions

    Subdomain 4.1: Decompose the code using functions

    Defining and invoking user-defined functions and generators

    The return keyword, returning results

    The None keyword

    Recursion

    Subdomain 4.2: Organize interaction between the function and its environment

    Parameters vs. arguments

    Positional, keyword, and mixed argument passing

    Default parameter values

    Name scopes, name hiding (shadowing), and the global keyword

    Subdomain 4.3: Python Built-In Exceptions Hierarchy

    BaseException

    Exception

    SystemExit

    KeyboardInterrupt

    Abstract exceptions

    ArithmeticError

    LookupError

    IndexError

    KeyError

    TypeError

    ValueError

    Subdomain 4.4: Basics of Python Exception Handling

    try-except / the try-except Exception

    Ordering the except branches

    Propagating exceptions through function boundaries

    Delegating responsibility for handling exceptions

    Techniques & products

    Python
    interpreter
    compiler
    data types
    Boolean
    integers
    floating-point numbers
    strings
    scientific notation
    binary numeral system
    octal numeral system
    decimal numeral system
    hexadecimal numeral system
    variables
    naming conventions
    PEP-8
    numeric operators
    string operators
    assignment operators
    bitwise operators
    Boolean operators
    relational operators
    type casting
    print() function
    input() function
    int() function
    float() function
    conditional statements
    if statement
    else statement
    elif statement
    while loops
    for loops
    range() function
    in operator
    pass instruction
    break statement
    continue statement
    lists
    tuples
    dictionaries
    indexing
    slicing
    len() function
    append() method
    insert() method
    index() method
    sorted() function
    del instruction
    list comprehensions
    immutability
    keys() method
    items() method
    values() method
    user-defined functions
    generators
    recursion
    return keyword
    None keyword
    parameters
    arguments
    positional arguments
    keyword arguments
    default parameter values
    name scopes
    global keyword
    BaseException
    Exception
    SystemExit
    KeyboardInterrupt
    ArithmeticError
    LookupError
    IndexError
    KeyError
    TypeError
    ValueError
    try-except statement

    CertSafari is not affiliated with, endorsed by, or officially connected to Pythoninstitute. Full disclaimer