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 · OpenEDG voucher store
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. For a PCEP-30-02 voucher, follow the PCEP-30-02 exam page and version-specific 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. 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 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.
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.
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.
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.
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.
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, 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
- Confirm the exam code before buying. The PCEP-30-03 single-attempt voucher is listed at $69 USD. OpenEDG also lists preparation and retake options.
- Read the PCEP TestNow policies and requirements. Check the browser, internet connection, webcam, microphone, ID, and room requirements before launching. Plan for the session without scheduled breaks.
- 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.
- After a failed attempt, wait seven days to retake the exam. Check whether your voucher already includes another attempt.
After PCEP, consider 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.
