Winter Special Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: dumps65

Python Institute PCEP-30-02 Dumps

Page: 1 / 3
Total 30 questions

PCEP - Certified Entry-Level Python Programmer Questions and Answers

Question 1

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.

as

Options:

Question 2

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.

as

Options:

Question 3

Insert the code boxes in the correct positions in order to build a line of code which asks the user for a float value and assigns it to the mass variable.

(Note: some code boxes will not be used.)

as

Options:

Question 4

Assuming that the following assignment has been successfully executed:

My_list – [1, 1, 2, 3]

Select the expressions which will not raise any exception.

(Select two expressions.)

Options:

A.

my_list[-10]

B.

my_list|my_Li1st | 3| I

C.

my list [6]

D.

my_List- [0:1]

Question 5

Python Is an example of which programming language category?

Options:

A.

interpreted

B.

assembly

C.

compiled

D.

machine

Question 6

What is the expected output of the following code?

as

Options:

A.

The code produces no output.

B.

* * *

C.

* *

D.

*

Question 7

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.)

as

Options:

Question 8

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

as

Options:

A.

one

B.

zero (the code outputs nothing)

C.

five

D.

three

Question 9

Insert the code boxes in the correct positions in order to build a line of code which asks the user for an integer value and assigns it to the depth variable.

(Note: some code boxes will not be used.)

as

Options:

Page: 1 / 3
Total 30 questions