Question 1
(Computer Programming and Python Fundamentals)What is the output of the following code? print(2 + 3 * 2)
Select an option, then click Submit answer.
- ○ 8
- ○ 10
- ○ 12
- ○ 7
Showing 1–10 of 10 questions
Select an option, then click Submit answer.
Select an option, then click Submit answer.
Select an option, then click Submit answer.
Select an option, then click Submit answer.
Select an option, then click Submit answer.
Select an option, then click Submit answer.
Select an option, then click Submit answer.
Select an option, then click Submit answer.
Select an option, then click Submit answer.
Select an option, then click Submit answer.
This page holds a free practice test for the Certified Entry-Level Python Programmer (PCEP-30-03) certification from Python Institute. You will find 10 free questions, drawn from the full Study4Pass practice set of 80 questions for this exam. The questions follow the same topic balance as the real exam: Computer Programming and Python Fundamentals; Control Flow: Conditional Blocks and Loops; Data Collections: Lists, Tuples, Sets, Dictionaries, and Strings; Functions and Exceptions; File Handling and Module Imports.
Pick an answer for each question and check it straight away — the correct answer and a full explanation appear under the question. There is no time limit and nothing to sign up for. When an explanation is not enough, use Ask AI: this is an AI-Enabled practice test, and Ask AI explains the concept behind the question in plain language. Ready for more? The full 80-question set adds a timed Exam Simulation mode, topic training for your weak areas, and a flagged-question review.
Covers how Python programs are structured and executed, including syntax and semantics, keywords, indentation and comments. It also covers literals, variables, operators and expressions, basic input and output, and type conversions between common types.
Writing correctly indented Python code, using literals, variables and operators, performing input and output, and converting values between int, float, str and bool.
Covers decision-making with if, if-else and if-elif-else blocks, including nested and compound conditionals. It also covers while loops, for loops with range(), nested loops, the break, continue and pass statements, and the walrus operator.
Building conditional branches, writing while and for loops with range(), controlling loops with break and continue, and using the walrus operator in expressions.
Covers constructing, indexing, slicing and modifying lists, including multidimensional lists, together with tuples, sets and dictionaries and their core operations. It also covers string construction, common string methods and formatting, including f-strings.
Creating and slicing lists, tuples, sets and dictionaries, applying list and string methods, and formatting output with f-strings.
Covers defining and calling user functions, including returning values and organising code into reusable blocks. It also covers positional, keyword, default and variable-length arguments, variable scope, and handling errors with try and except blocks.
Defining and calling functions with positional, keyword, default and variable-length arguments, managing variable scope, and handling exceptions with try/except.
Covers reading, writing and appending text files in Python, including safe file handling with context managers. It also covers working with CSV data via the csv module, importing modules, and using selected functions from the math and random modules.
Reading, writing and appending text files, processing CSV files with the csv module, importing modules, and using selected math and random functions.
Yes — the 10 questions on this page are completely free, with no signup and no payment details needed.
80 questions. The 10 free questions above are a sample of that full set, in the same style and topic balance.
Yes — every question shows the correct answer with an explanation, and Ask AI can explain the concept behind a question in plain words if you want to go deeper.