Free Python Institute PCEP-30-02 Exam Questions

Absolute Free PCEP-30-02 Exam Practice for Comprehensive Preparation 

  • Python Institute PCEP-30-02 Exam Questions
  • Provided By: Python Institute
  • Exam: Certified Entry-Level Python Programmer
  • Certification: PCEP
  • Total Questions: 569
  • Updated On: Dec 08, 2025
  • Rated: 4.9 |
  • Online Users: 1138
Page No. 1 of 114
Add To Cart
  • Question 1
    • What will be the output when the user provides the number 6?
      num = int(input('give a number: '))
      if num > 2:
          if num < 5:
              print('A')
          else:
              print('B')
      else:
          print('C')

      Answer: A
  • Question 2
    • What will be the output of the following code?
      def func(a):
      global x
      b = x + a
      return b
      x = 2
      print(func(4))

      Answer: C
  • Question 3
    • What will happen after the following code snippet is run?
      names = {'Tom': 10, 'Mary': 20}
      names[20]

      Answer: C
  • Question 4
    • What will be the output after the following code snippet is executed?
      a = 5 // 3 * 2
      print(A)

      Answer: D
  • Question 5
    • Assuming that the following assignment has been successfully executed:

      Which of the following expressions evaluate to True? (Select two expressions.)  


      Answer: C,D
PAGE: 1 - 114
Add To Cart

© Copyrights DumpsEngine 2025. All Rights Reserved

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