Free PCEP-30-02 Mock Exam – Practice Online Confidently

Increase your chances of passing the Python Institute PCEP-30-02 exam questions on your first try. Practice with our free online PCEP-30-02 exam mock test designed to help you prepare effectively and confidently.

Exam Code: PCEP-30-02
Exam Questions: 569
Certified Entry-Level Python Programmer
Updated: 03 Apr, 2026
Question 1

What will be the output after running the following code?
dict = {}
dict[0] = 'Work'
dict['Hobby'] = ['Sport', 'Languages']
print(dict)

Options :
Answer: C

Question 2

What will be the sum of all elements in the list after the following operations?
numbers = [0, 1, 2]
numbers.insert(0, 1)
del numbers[1]

Options :
Answer: B

Question 3

What will be the output of the following code?
if '1' > 3:
        print('yes')
else:
        print('no')

Options :
Answer: D

Question 4

What will be the output after the user enters 0?
user_input = int(input('What is your value? '))
print(1/user_input)

Options :
Answer: C

Question 5

What will be the output of the following snippet?
def show_truth():
    mysterious_var = 'New Surprise!'
    print(mysterious_var)
 
mysterious_var = 'Surprise!'
print(mysterious_var)
show_truth()
print(mysterious_var)

Options :
Answer: C

Viewing Page : 1 - 57
Practicing : 1 - 5 of 569 Questions

© Copyrights FreeMockExams 2026. All Rights Reserved

We use cookies to ensure that we give you the best experience on our website (FreeMockExams). If you continue without changing your settings, we'll assume that you are happy to receive all cookies on the FreeMockExams.