PYTHON INSTITUTE certification preparation

PCEP-30-02 Practice Questions

Practice exam-style questions, check your answers, and review explanations and source references where they are available.

Exam
PCEP-30-02
Provider
PYTHON INSTITUTE
Full set
548 questions
Last Update Check

Be thoroughly prepared for how you will be tested on the actual Python Institute exam with our authentic, exam-emulating PCEP-30-02 questions. You can try our free practice questions directly on this page. When you finish answering the PCEP – Certified Entry-Level Python Programmer questions, we show you the correct choices along with detailed explanations for why each answer is right or wrong. To unlock our complete question bank, you can simply purchase our premium preparation package.

The following list is given:
Answer options
What is the output of the following code? num = 10 while num >= 0: num -= 2 print(num)
Answer options
What is local scope?
Answer options
We need to check if at least one element of the iterable object evaluates to the truth. What built-in function can you use for this?
Answer options
This question is a tricky one. What is the result of the following code snippet? numbers = [1, 2, 3, 4, 5] result = [] for number in numbers: result.append(numbers.pop()) print(result)
Answer options

Please fill the blank field(s) in the statement with the right words. Set makes use of ______ Dictionary makes use of _______

DRAG DROP Insert the code boxes in the correct positions in order to build a line of code which asks the user for a float value and assigns it to the mass variable. (Note: some code boxes will not be used.) Python PCEP 30 02 question

Drag and drop answer
What is the purpose of the continue statement in Python?
Answer options

DRAG DROP Arrange the binary numeric operators in the order which reflects their priorities, where the top-most position has the highest priority and the bottom-most position has the lowest priority. Python PCEP 30 02 question

Drag and drop answer

DRAG DROP Assuming that the phonc_dir dictionary contains namemumber pairs, arrange the code boxes to create a valid line of code which retrieves Martin Eden's phone number, and assigns it to the number variable. Python PCEP 30 02 question

Drag and drop answer
Question 1 of 10

Source context

How this practice set is maintained

Maintained by the CertMage content team, this page loads questions from the exam dataset connected to its preparation resource. When an answer includes a supporting reference, it is shown with that answer so you can review the underlying vendor documentation.

Certification objectives, interfaces, and vendor services can change. Verify important details against the provider's current exam guide and documentation before your exam.

Scroll to Top