(PCEP) Certified Entry-Level Python Programmer Practice Test
✕
📝 PCEP Practice Tests
Bitwise Operations
Controlling loop execution
Operator Precedence and Binding
Using `sep=` and `end=` in `print()`
Using the `else` block in loops
Variable Scope and the `global` keyword
Control Flow and Functions
Data Structures
Error Handling and Debugging
Error Handling and Modules
Fundamentals of Python Programming
Numeric Types and Arithmetic
String Operations and Methods
📖 PCEP Study Guides
PCEP-30-02 Exam
🎥 PCEP Videos
PCEP Certification Guide: Python Entry-Level Programmer (2026)
PCEP (Certified Entry-Level Python Programmer) Test Guide
Videos
PCEP Practice Test
☰
(PCEP) Certified Entry-Level Python Programmer Practice Test
▶
FREE PCEP Variable Scope and the `global` keyword Questions and Answers
Free · Instant Results
What is the output of the following code? ```python var = 100 def my_func(): var = 50 print(var) my_func() print(var) ```
A
50 100
B
100 50
C
50 50
D
100 100
▶ Start Practice Test