Weekend Sale Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

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

Question 1

What is the expected result of the following code?

Question # 1

Options:

A.

5

B.

2

C.

1

D.

The code will cause an unhandled

Question 2

What is the expected result of running the following code?

Question # 2

Options:

A.

The code prints 1 .

B.

The code prints 2

C.

The code raises an unhandled exception.

D.

The code prints 0

Question 3

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 # 3

Options:

Question 4

Python Is an example of which programming language category?

Options:

A.

interpreted

B.

assembly

C.

compiled

D.

machine

Question 5

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

Question # 5

Options:

A.

one

B.

zero (the code outputs nothing)

C.

five

D.

three

Question 6

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 # 6

Options:

Question 7

What is the expected output of the following code?

Question # 7

Options:

A.

The code is erroneous and cannot be run.

B.

ppt

C.

213

D.

pizzapastafolpetti

Question 8

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

Question # 8

Options:

Question 9

A set of rules which defines the ways in which words can be coupled in sentences is called:

Options:

A.

lexis

B.

syntax

C.

semantics

D.

dictionary

Page: 1 / 3
Total 30 questions