PCEP-30-02 Exam Details

  • Exam Code
    :PCEP-30-02
  • Exam Name
    :PCEP - Certified Entry-Level Python Programmer
  • Certification
    :Python Institute Certifications
  • Vendor
    :Python Institute
  • Total Questions
    :420 Q&As
  • Last Updated
    :May 31, 2026

Python Institute PCEP-30-02 Online Questions & Answers

  • Question 331:

    Which of the following are the names of Python passing argument styles? (Select two answers.)

    A. keyword
    B. reference
    C. indicatory
    D. positional

  • Question 332:

    The ABC company is building a basketball court for its employees to improve company morale. You are creating a Python program that employees can use to keep track of their average score. The program must allow users to enter their

    name and current scores. The program will output the user name and the user's average score.

    The output must meet the following requirements:

    1.

    The user name must be left-aligned.

    2.

    If the user name has fewer than 20 characters, additional space must be added to the right.

    3.

    The average score must have three places to the left of the decimal point and one place to the right of the decimal (xxx.x).

    What would you insert instead of ??? and ??? ?

    A. 1 | %-20f 2 | %4.1s
    B. 1 | %-20i 2 | %4.1
    C. 1 | %-20s 2 | %4.1f
    D. 1 | %-20f 2 | %1.4s
    E. 1 | %-20d 2 | %4.1f
    F. 1 | %-20s 2 | %1.4f

  • Question 333:

    What is the expected output of the following code?

    A. 7777777
    B. The code is erroneous.
    C. 49
    D. 77

  • Question 334:

    What is the expected output of the following code?

    A. ('Peter': 30, 'Paul': 31)
    B. ('Peter', 'Paul')
    C. ['Peter': 30, 'Paul': 31]
    D. ['Peter', 'Paul']

  • Question 335:

    What is the expected output of the following code? print(ord('c') ?ord('a'))

    A. 1
    B. 2
    C. 3

  • Question 336:

    What is the expected output of the following code?

    A. 4
    B. 6
    C. 5
    D. 3

  • Question 337:

    How would you remove all the items from the d dictionary? Expected output:

    Code:

    A. d.del()
    B. d.remove()
    C. del d
    D. d.clear()

  • Question 338:

    You have the following le. index.py:

    You run the le by executing the following command in the terminal. python index.py Hello What is the expected oputput?

    A. index.py
    B. ImportError
    C. IndexError
    D. Hello

  • Question 339:

    How many stars (*) will the following code output to the screen?

    A. one
    B. six
    C. two
    D. three

  • Question 340:

    What is the expected output of the following code?

    A. *
    B. The code is erroneous.
    C. ******
    D. ***

Tips on How to Prepare for the Exams

Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Python Institute exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PCEP-30-02 exam preparations and Python Institute certification application, do not hesitate to visit our Vcedump.com to find your solutions here.