Weekend Special Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: simple70

Pass the Python Institute PCEP - Certified Entry-Level Python Programmer PCEP-30-02 Questions and answers with ValidTests

Viewing page 1 out of 1 pages
Viewing questions 1-10 out of questions
Questions # 1:

What is the expected output of the following code?

Question # 1

Options:

A.

The code is erroneous and cannot be run.

B.

ppt

C.

213

D.

pizzapastafolpetti

Expert Solution
Questions # 2:

What is the expected result of the following code?

Question # 2

Options:

A.

5

B.

2

C.

1

D.

The code will cause an unhandled

Expert Solution
Questions # 3:

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.

Question # 3

Options:

Expert Solution
Questions # 4:

What is the expected output of the following code?

Question # 4

Options:

A.

1

B.

The code raises an unhandled exception.

C.

False

D.

('Fermi ', '2021', 'False')

Expert Solution
Questions # 5:

What is the expected output of the following code?

Question # 5

Options:

A.

2

B.

0

C.

3

D.

1

Expert Solution
Questions # 6:

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

Question # 6

Options:

Expert Solution
Questions # 7:

Drag and drop the literals to match their data type names.

Question # 7

Options:

Expert Solution
Questions # 8:

What happens when the user runs the following code?

Question # 8

Options:

A.

The program outputs three asterisks ( *** )to the screen.

B.

The program outputs one asterisk ( * ) to the screen.

C.

The program outputs five asterisks ( ***** ) to the screen.

D.

The program enters an infinite loop.

Expert Solution
Questions # 9:

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

Question # 9

Options:

Expert Solution
Viewing page 1 out of 1 pages
Viewing questions 1-10 out of questions