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 09, 2025

Python Institute Python Institute Certifications PCEP-30-02 Questions & Answers

  • Question 311:

    Consider the following Python code:

    What are the types of the variables distance, amount and country?

    A. oat, int, str

    B. oat, str, str

    C. double, str, oat

    D. oat, oat, str

  • Question 312:

    What is the expected output of the following code? print('x', 'y', 'z', sep='sep')

    A. x y z

    B. xyz

    C. xsepysepzsep

    D. xsepysepz

  • Question 313:

    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 314:

    Consider the following code.

    Which of the following codes will print the right output?

    A. Option A

    B. Option B

    C. Option C

    D. Option D

  • Question 315:

    Consider the following code.

    Which of the inputs below would produce the specified output?

    A. Option A

    B. Option B

    C. Option C

    D. Option D

  • Question 316:

    The following code: print( oat("1, 3"))

    A. prints 13

    B. prints 1.3

    C. prints 1,3

    D. raises a ValueError exception.

  • Question 317:

    What is the expected output of the following code if the user enters 4 and 7?

    A. 7777

    B. 28

    C. 47

    D. 4444444

  • Question 318:

    The following code reads two numbers.

    Which of the following is the correct input for the code?

    A. 3, 4

    B. 3 4

    C. None of the above.

    D.

    3 4

  • Question 319:

    The value thirty point eleven times ten raised to the power of nine should be written as:

    A. 30.11E9.0

    B. 30E11.9

    C. 30.11*10^9

    D. 30.11E9

  • Question 320:

    What is the expected output of the following code?

    A. 1*1*1

    B. 1 1 1

    C. x*y*z

    D. The code is erroneous.

    E. 111*

    F. x y z

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.