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: Sep 23, 2026
Add To Cart
Question 1

What will be the output of the following code?print(1 | 0 ^ 1 & ~0)


Answer: B
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]


Answer: B
Question 3

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 4

Assuming that the following assignment has been successfully executed:My_list – [1, 1, 2, 3]Select the expressions which will not raise any exception.(Select two expressions.)


Answer: B,D
Question 5

What will be the output of the following code?def boo(x): if x == 1: return x return x * boo(x-1) print(boo(3))


Answer: B
Page:    1 / 114      
Total 569 Questions | Updated On: Sep 23, 2026
Add To Cart

© Copyrights DumpsCertify 2026. All Rights Reserved

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