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

    What is the expected output of the following code?

    A. [1, 10, 3, 20, 5, 30, 7, 40, 9, 50, 60]
    B. [1, 2, 10, 20, 30, 40, 50, 60]
    C. The code is erroneous.
    D. [10, 2, 20, 4, 30, 6, 40, 8, 50, 60]

  • Question 172:

    You develop a Python application for your company.

    A list named employees contains 200 employee names, the last ve being company management. You need to slice the list to display all employees excluding management.

    Which code segments can you use? (Choose two.)

    A. employees[1:-5]
    B. employees[0:-5]
    C. employees[:-5]
    D. employees[0:-4]
    E. employees[1:-4]

  • Question 173:

    You work for a company that distributes media for all ages.

    You are writing a function that assigns a rating based on a user's age. The function must meet the following requirements:

    1.

    Anyone 18 years old or older receives a rating of A.

    2.

    Anyone 13 or older, but younger than 18 receives a rating of T.

    3.

    Anyone 12 years old or younger receives a rating of C.

    4.

    If the age is unknown, the rating is set to C.

    Which of the following should you insert on Line-3 to Line-6?

    A. Option A
    B. Option B
    C. Option C
    D. Option D
    E. Option E
    F. Option F

  • Question 174:

    What is the expected output of the following code?

    A. ****
    B. ***
    C. *
    D. **

  • Question 175:

    DRAG DROP

    Arrange the code boxes in the correct positions to form a conditional instruction which guarantees that a certain statement is executed when the speed variable is less than 50.0.

    Select and Place:

  • Question 176:

    You are designing a decision structure to convert a student's numeric grade to a letter grade. The program must assign a letter grade as speci ed as followed:

    For example, if the user enters a 90, the output should be Your letter grade is A. Likewise, if a user enters an 89, the output should be Your letter grade is B.

    Which of the following should you insert on Line-3, Line-5, Line-7 and Line-9?

    A. Option A
    B. Option B
    C. Option C
    D. Option D

  • Question 177:

    DRAG DROP

    Assuming that the phonc_dir dictionary contains namemumber pairs, arrange the code boxes to create a valid line of code which retrieves Martin Eden's phone number, and assigns it to the number variable.

    Select and Place:

  • Question 178:

    You are creating a Python script to evaluate input and check for upper and lower case. Code segment 1:

    Code segment 2:

    Code segment 3:

    Code segment 4:

    Code segment 5:

    Code segment 6:

    Which four code segments should you use to develop the solution?

    A. Code segment 3 Code segment 6 Code segment 5 Code segment 2
    B. Code segment 1 Code segment 3 Code segment 5 Code segment 6
    C. Code segment 3 Code segment 6 Code segment 5 Code segment 4
    D. Code segment 3 Code segment 6 Code segment 5 Code segment 1

  • Question 179:

    What is the expected output of the following code?

    A. 2
    B. 1
    C. The code is erroneous.
    D. 3
    E. 4

  • Question 180:

    The most important difference between integer and oating-point numbers lies in the fact that:

    A. they are stored differently in the computer memory
    B. they cannot be used simultaneously
    C. integers cannot be literals, while oats can

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.