New Year Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 70percent

Python Institute PCEP-30-02 PCEP - Certified Entry-Level Python Programmer Exam Practice Test

Demo: 9 questions
Total 30 questions

PCEP - Certified Entry-Level Python Programmer Questions and Answers

Question 1

What is the expected output of the following code?

Options:

A.

The code produces no output.

B.

* * *

C.

* *

D.

*

Question 2

Arrange the binary numeric operators in the order which reflects their priorities, where the top-most position has the highest priority and the bottom-most position has the lowest priority.

Options:

Question 3

How many hashes (+) does the code output to the screen?

Options:

A.

one

B.

zero (the code outputs nothing)

C.

five

D.

three

Question 4

Which of the following are the names of Python passing argument styles?

(Select two answers.)

Options:

A.

keyword

B.

reference

C.

indicatory

D.

positional

Question 5

Drag and drop the code boxes in order to build a program which prints Unavailable to the screen.

(Note: one code box will not be used.)

Options:

Question 6

What is the expected result of the following code?

Options:

A.

The code is erroneous and cannot be run.

B.

20

C.

10

D.

30

Question 7

What is the expected output of the following code?

Options:

A.

5

B.

4

C.

6

D.

The code raises an exception and outputs nothing.

Question 8

What happens when the user runs the following code?

Options:

A.

The code outputs 3.

B.

The code outputs 2.

C.

The code enters an infinite loop.

D.

The code outputs 1.

Question 9

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.

Options:

Demo: 9 questions
Total 30 questions