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

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

Page: 1 / 3
Total 30 questions

PCEP - Certified Entry-Level Python Programmer Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$42  $119.99

PDF Study Guide

  • Product Type: PDF Study Guide
$36.75  $104.99
Question 1

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.

Options:

Question 2

What is the expected output of the following code?

Options:

A.

2

B.

0

C.

3

D.

1

Question 3

What is the expected result of running the following code?

Options:

A.

The code prints 1 .

B.

The code prints 2

C.

The code raises an unhandled exception.

D.

The code prints 0

Question 4

Arrange the code boxes in the correct positions in order to obtain a loop which executes its body with the level variable going through values 5, 1, and 1 (in the same order).

Options:

Question 5

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 6

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

Options:

A.

one

B.

zero (the code outputs nothing)

C.

five

D.

three

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

Options:

Question 8

Python Is an example of which programming language category?

Options:

A.

interpreted

B.

assembly

C.

compiled

D.

machine

Question 9

What is the expected output of the following code?

Options:

A.

The code produces no output.

B.

* * *

C.

* *

D.

*

Page: 1 / 3
Total 30 questions