Free Python Institute PCEP-30-02 Exam Questions

Become Python Institute Certified with updated PCEP-30-02 exam questions and correct answers

Page:    1 / 114      
Total 569 Questions | Updated On: Aug 13, 2025
Add To Cart
Question 1

Assuming that the following assignment has been successfully executed:Which of the following expressions evaluate to True? (Select two expressions.)  


Answer: C,D
Question 2

What will be the output of the following code snippet?dict1 = {'one': 1, 'two': 2, 'three': 3}dict2 = {'one': 1, 'two': 5, 'four': 8}dict3 = dict(dict1)dict4 = dict(dict2)dict3.update(dict2)dict4.update(dict1)print(dict3 == dict4)


Answer: C
Question 3

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


Answer: C
Question 4

What will be the output of the following code?def get_number():    for i in []:        yield i print(next(get_number()))


Answer: B
Question 5

What will be the output after running the following code?print(8 % 3 ** 4 // 3 + 2)


Answer: C
Page:    1 / 114      
Total 569 Questions | Updated On: Aug 13, 2025
Add To Cart

© Copyrights DumpsCertify 2025. All Rights Reserved

We use cookies to ensure your best experience. So we hope you are happy to receive all cookies on the DumpsCertify.