# PCEP Exam Guide 2026: Python Institute PCEP-30-03

> Prepare for the OpenEDG Python Institute PCEP-30-03 exam with the current five-section syllabus, worked Python examples, and a study plan. Compare PCEP-30-02 while both versions are available.

- Canonical: https://open-exam-prep.com/blog/openedg-pcep-certified-entry-level-python-programmer-exam-guide-2026
- Published: 2026-04-23
- Updated: 2026-11-26
- Author: Ran Chen, EA, CFP®
- Publisher: OpenExamPrep, free exam prep

## Key facts

- PCEP-30-03 is the OpenEDG Python Institute entry-level Python exam. It has 35 questions in 50 minutes, with a 70% passing score.
- PCEP-30-03 has no prerequisites and awards a credential valid for five years.
- The OpenEDG Store lists the PCEP-30-03 single-attempt TestNow voucher at $69 USD.
- PCEP-30-02 remains available through November 30, 2027 and awards a lifetime credential. It has 30 questions in 40 minutes, plus five minutes for the NDA and tutorial.
- The PCEP-30-03 blueprint weights are Fundamentals 17%, Control Flow 23%, Data Collections 26%, Functions and Exceptions 20%, and File Handling and Module Imports 14%.
- PCEP-30-03 explicitly includes sets, f-strings, text files, CSV, and selected math and random functions.
- The PCEP testing policies require a seven-day wait before retaking a failed exam.

The **OpenEDG Python Institute Certified Entry-Level Python Programmer (PCEP)** exam tests whether you can read, trace, and write short Python programs. **PCEP-30-03 has 35 questions in 50 minutes, a 70% passing score, and no prerequisites.** The single-attempt voucher is listed at **\$69 USD**, and the credential is valid for **five years**. [Python Institute certification page](https://pythoninstitute.org/pcep) · [OpenEDG voucher store](https://ums.edube.org/products/0-pi-pcep-e)

If you learned with older material, keep practicing branches, loops, collections, and functions. Alongside those skills, PCEP-30-03 tests **sets, text and CSV files, module imports, and selected `math` and `random` functions**. Use the exam code on your voucher to choose the right syllabus.

## PCEP-30-03 vs. PCEP-30-02

| Detail | PCEP-30-03 | PCEP-30-02 |
| --- | --- | --- |
| Availability | Released October 31, 2026 | Available through November 30, 2027 |
| Questions | 35 | 30 |
| Exam time | 50 minutes | 40 minutes, plus 5 minutes for the NDA and tutorial |
| Passing score | 70% | 70% |
| Credential validity | 5 years | Lifetime |
| Blueprint | Five sections with an explicit files and imports section | Four blocks |
| Delivery | OpenEDG TestNow | OpenEDG TestNow |

Existing PCEP-30-02 credentials retain their original lifetime validity. The embedded companion video is labeled PCEP-30-02. Use the version table above for the current exam details. For the current five-section outline, follow the [PCEP-30-03 syllabus](https://pythoninstitute.org/pcep-exam-syllabus). For a PCEP-30-02 voucher, follow the [PCEP-30-02 exam page](https://pythoninstitute.org/pcep-30-02) and [version-specific syllabus](https://pythoninstitute.org/pcep-30-02-exam-syllabus).

## PCEP-30-03 Blueprint and Study Priorities

| Section | Scoring weight | Questions | What to practice |
| --- | --- | --- | --- |
| Computer Programming and Python Fundamentals | 17% | 6 | Syntax, indentation, literals, operators, console I/O and conversion |
| Control Flow: Conditional Blocks and Loops | 23% | 8 | Branch order, nested conditions, while, for, range, break, continue and pass |
| Data Collections | 26% | 9 | Lists, tuples, sets, dictionaries, strings and formatting |
| Functions and Exceptions | 20% | 7 | Argument binding, return values, scope and matching handlers |
| File Handling and Module Imports | 14% | 5 | Text files, CSV, imports, math and random |

The labels and weights follow the [November 2, 2026 blueprint](https://pythoninstitute.org/pcep-exam-syllabus). The scoring percentages and question counts are separate. Use the official 70% passing score directly when comparing exam versions. Start with [free PCEP practice questions](https://open-exam-prep.com/practice/pcep) to see how well you can trace familiar code; plan separate hands-on practice where your notes are thin.

### 1. Computer programming and Python fundamentals

**Lexis** concerns valid tokens, **syntax** concerns how those tokens form valid code, and **semantics** concerns what that code does. In CPython, a script is compiled to bytecode before the interpreter executes it. A syntax error in the script can prevent execution from starting. A valid statement such as `1 / 0` can raise an exception when reached.

Practice indentation, keywords, identifiers, and `#` comments. Recognize literals such as `0b101` for binary 5, `0o10` for octal 8, `0x10` for hexadecimal 16, and `3e2` for the float 300.0. Then trace where an expression performs arithmetic, compares values, or combines strings.

```python
print(2 ** 3 ** 2)
print(-7 // 2, -7 % 2)
print('2' * 3, int('2') * 3, sep=' | ')
```

The first line prints `512` because exponentiation groups from right to left. The second prints `-4 1` because floor division rounds down and the remainder satisfies `-7 == (-4 * 2) + 1`. The third prints `222 | 6`. A successful `input()` call gives you text, so convert it before doing arithmetic.

### 2. Control flow

Within one `if`/`elif`/`else` chain, only the first matching branch runs. Separate `if` statements can both run. A `while` loop tests its condition before each iteration. A `for` loop visits items in an iterable. In `range(start, stop, step)`, the stop value is excluded regardless of step direction.

```python
total = 0
for n in range(8, 1, -2):
    if n == 6:
        continue
    if n == 2:
        break
    total += n
print(total)
```

The range supplies 8, 6, 4, and 2. The loop adds 8, skips the addition on 6, adds 4, and exits on 2 before adding it. The result is `12`. In nested loops, `break` exits the innermost loop that contains it. `pass` does nothing and execution continues to the next statement in the current suite.

### 3. Data collections

| Collection | Choose it for | Common mistake |
| --- | --- | --- |
| List | Ordered data you can edit | Assignment aliases the same list. `append(x)` adds one item, while `extend(x)` adds each item from an iterable. |
| Tuple | A fixed sequence of items | `(5,)` is a tuple with one item. A tuple can contain a mutable object such as a list. |
| Set | Membership and distinct hashable items | Use `set()` for an empty set. Sets have no positional indexing. |
| Dictionary | Lookup by a hashable key | `key in data` checks keys. `data[key]` raises `KeyError` if the key is missing. |
| String | Immutable text with indexing and slicing | Methods such as `strip()` produce a result you must use or assign. |

Slices exclude the stop index. Assignment and slice copies also behave differently. In `b = a`, both names refer to the same object. In `b = a[:]`, the outer lists are different and any nested objects are still shared. Practice tracing `grid[row][column]` one index at a time.

```python
scores = {'Ada': 8, 'Bo': 5}
both = {'Ada', 'Cy'} & set(scores)
name = ' Ada '.strip()
print(len(both), f'{name}: {scores.get(name, 0):02d}')
```

The intersection contains Ada alone. `strip()` removes the surrounding spaces, and the f-string formats the score with at least two digits, so the output is `1 Ada: 08`. Practice `split()`, `join()`, `find()`, `replace()`, and case conversion. Recognize `str.format()` and `%` formatting as well as f-strings.

### 4. Functions and exceptions

A call binds positional arguments by order and keyword arguments by parameter name. Defaults apply to omitted arguments. In a definition, `*args` collects extra positional arguments as a tuple and `**kwargs` collects extra keyword arguments as a dictionary. Python evaluates a default when it defines the function. Use a default of `None` and create a list inside the body when each call needs its own empty list.

```python
def scale(text, factor=2):
    value = int(text)
    return value * factor

try:
    print(scale('4', factor=3))
    print(scale('four'))
except ValueError:
    print('enter digits')
```

The first call returns `12`. The second raises `ValueError` during conversion and the handler prints `enter digits`. Follow the call, locate where execution stops, and look for the first matching handler. A function that reaches its end without an explicit `return` returns `None`. A local assignment ordinarily changes the function’s own binding. Use `global` to rebind a module-level name from inside a function when needed.

### 5. File handling and module imports

| File mode | What it does |
| --- | --- |
| `r` | Opens an existing file for reading. A missing path can raise `FileNotFoundError`. |
| `w` | Creates a file or truncates an existing file when opened. |
| `a` | Creates a file or writes at the end of an existing file. |

A `with open(...) as f:` block closes the file when control leaves the suite. `write()` writes the supplied text and does not add a newline by itself. For real CSV records, let `csv.reader` and `csv.writer` handle quoting and comma-separated fields. Open the file with `newline=''` and use explicit conversion for numeric data read with default settings.

```python
import csv
from math import floor

with open('scores.csv', 'w', newline='', encoding='utf-8') as f:
    csv.writer(f).writerow(['Ada', 8])

with open('scores.csv', newline='', encoding='utf-8') as f:
    name, score = next(csv.reader(f))
    print(name, floor(int(score) / 3))
```

The file contains one record. The reader gives the name `'Ada'` and score `'8'` as strings. The code converts the score, divides it by 3, and prints `Ada 2`.

In module questions, check the name the import makes available. `import math` lets you call `math.floor()`. `from math import floor` lets you call `floor()` directly. For negative values, `floor(-2.7)` gives `-3`, while `ceil(-2.7)` and `trunc(-2.7)` give `-2`. `sqrt(9)` returns `3.0`. In `random`, `random()` produces a float in `[0.0, 1.0)`, `seed()` initializes the generator for repeatable runs under the same conditions, `choice()` selects one element, and `sample()` selects positions without replacement.

## Four-Week PCEP Study Plan

| Week | Focus | Practice you can check |
| --- | --- | --- |
| 1 | Fundamentals and conditionals | Trace expressions, then build a price calculator that reads and converts text and selects a result with if/elif/else. |
| 2 | Loops and collections | Hand-trace positive and negative ranges. Count words in a dictionary, then use a set to count distinct words. |
| 3 | Functions and exceptions | Put the calculation in a function with a default parameter. Try valid input and invalid input and predict the return or handler each time. |
| 4 | Files, imports and timed review | Write and reopen a CSV file, parse numeric strings, and trace an example using math and random. Complete a timed mixed practice set covering the five sections. |

Start with [Python Essentials 1 on Edube](https://edube.org/study/pe1), then use the current syllabus to fill any gaps. The course gives you a foundation in syntax, control flow, collections, and functions. Give the explicitly assessed file and module topics their own practice time. For pacing, 50 minutes for 35 questions averages about **86 seconds per question**. Use that as a practice benchmark and adjust for items that take more reading.

## Registration, Test Day and Retakes

1. Confirm the exam code before buying. The [PCEP-30-03 single-attempt voucher](https://ums.edube.org/products/0-pi-pcep-e) is listed at \$69 USD. OpenEDG also lists preparation and retake options.
2. Read the [PCEP TestNow policies and requirements](https://pythoninstitute.org/pcep-testing-policies). Check the browser, internet connection, webcam, microphone, ID, and room requirements before launching. Plan for the session without scheduled breaks.
3. Sign in to the OpenEDG testing account, redeem the voucher, and follow TestNow’s check-in instructions and exam rules. The official PCEP-30-03 format includes single-select, multiple-select, interactive, and scenario-based items.
4. After a failed attempt, wait **seven days** to retake the exam. Check whether your voucher already includes another attempt.

After PCEP, consider [PCAP](https://pythoninstitute.org/pcap) when you want an associate-level challenge in areas such as modules, exceptions, and object-oriented programming. Practice reading and explaining your own short programs before moving on.

## Practice and References

- [PCEP practice questions](https://open-exam-prep.com/practice/pcep) and [PCEP study guide](https://open-exam-prep.com/study-guides/pcep)
- [PCEP-30-03 exam syllabus](https://pythoninstitute.org/pcep-exam-syllabus) and [the official candidate comparison guide](https://openedg.org/assets/6aec777b9e9e6373633142.pdf)
- [Python Tutorial](https://docs.python.org/3/tutorial/index.html), [CSV module](https://docs.python.org/3/library/csv.html), [math module](https://docs.python.org/3/library/math.html), and [random module](https://docs.python.org/3/library/random.html)

## FAQ

### What is the OpenEDG PCEP exam?

PCEP is the Python Institute’s Certified Entry-Level Python Programmer certification. PCEP-30-03 tests how you read, trace, and write simple Python 3 code, including basic file and module operations. It has no formal prerequisites.

### How much does PCEP cost in 2026?

The OpenEDG Store lists a single PCEP-30-03 attempt at $69 USD. Exam, retake, and preparation options have separate prices. Confirm the version and terms on the store page before buying.

### How many questions are on PCEP-30-03 and how much time do I get?

PCEP-30-03 has 35 questions in 50 minutes. The Python Institute lists single-select, multiple-select, interactive, and scenario-based questions.

### What is the passing score for PCEP?

The Python Institute lists 70% for both PCEP-30-03 and PCEP-30-02. It publishes section scoring weights separately from item counts for PCEP-30-03.

### What are the PCEP-30-03 sections and weights?

Fundamentals is 17%, Control Flow 23%, Data Collections 26%, Functions and Exceptions 20%, and File Handling and Module Imports 14%.

### Does PCEP certification expire?

PCEP-30-03 certification is valid for five years. PCEP-30-02 awards a lifetime credential, and that exam remains available through November 30, 2027. Existing PCEP-30-02 credentials retain their original validity.

### How should I study for PCEP?

Use the free Python Essentials 1 course to learn the basics. For PCEP-30-03, use the latest syllabus to supplement sets, string formatting, text modes, CSV, and the specified math and random functions. Trace examples by hand before running them.

### What happens if I fail PCEP?

Wait seven days before retaking a failed exam. You may need to buy another voucher unless your bundle includes a retake.

### PCEP vs PCAP — which should I take?

Choose PCEP to demonstrate beginner Python skills. Consider PCAP when you are comfortable with more advanced work, including modules and packages, exceptions, and object-oriented programming. They are entry and associate credentials in the same pathway.

### Can I take PCEP from home?

Yes. PCEP-30-03 is available through TestNow, the OpenEDG Testing Service. Review the check-in rules and system requirements, including a supported desktop or laptop browser, a working webcam and microphone, and a quiet private room.

### Do I need a Python Essentials 1 completion certificate to take PCEP?

No. The course is a free preparation option and PCEP-30-03 has no prerequisites. Use the PCEP-30-03 syllabus to check preparation coverage.

## Study free on OpenExamPrep

- OpenEDG PCEP — Certified Entry-Level Python Programmer: [Practice questions](https://open-exam-prep.com/practice/pcep) · [Study guide](https://open-exam-prep.com/study-guides/pcep) · [Flashcards](https://open-exam-prep.com/flashcards/pcep) · [Cheat sheet](https://open-exam-prep.com/cheat-sheet/pcep)
