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

Home > Python Institute > PCEP > PCEP-30-02

PCEP-30-02 PCEP - Certified Entry-Level Python Programmer Question and Answers

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

Full Access
Question # 5

What is the expected output of the following code?

A.

1

B.

The code raises an unhandled exception.

C.

False

D.

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

Full Access
Question # 6

Python Is an example of which programming language category?

A.

interpreted

B.

assembly

C.

compiled

D.

machine

Full Access
Question # 7

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

(Select two answers.)

A.

keyword

B.

reference

C.

indicatory

D.

positional

Full Access
Question # 8

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

A.

lexis

B.

syntax

C.

semantics

D.

dictionary

Full Access
Question # 9

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

Full Access