Independence Day Special 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: exams65

PCEP - Certified Entry-Level Python Programmer Question and Answers

PCEP - Certified Entry-Level Python Programmer

Last Update Jul 15, 2024
Total Questions : 30

We are offering FREE PCEP-30-02 Python Institute exam questions. All you do is to just go and sign up. Give your details, prepare PCEP-30-02 free exam questions and then go for complete pool of PCEP - Certified Entry-Level Python Programmer test questions that will help you more.

PCEP-30-02 pdf

PCEP-30-02 PDF

$35  $99.99
PCEP-30-02 Engine

PCEP-30-02 Testing Engine

$42  $119.99
PCEP-30-02 PDF + Engine

PCEP-30-02 PDF + Testing Engine

$56  $159.99
Questions 1

What is the expected output of the following code?

Options:

A.  

1

B.  

The code raises an unhandled exception.

C.  

False

D.  

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

Discussion 0
Questions 2

Which of the following functions can be invoked with two arguments?

A)

B)

C)

D)

Options:

A.  

Option A

B.  

Option B

C.  

Option C

D.  

Option D

Discussion 0
Questions 3

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]

Discussion 0
Questions 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:

Discussion 0
Questions 5

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

Options:

Discussion 0
Questions 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.)

Options:

Discussion 0
Questions 7

What happens when the user runs the following code?

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.

Discussion 0
Questions 8

Assuming that the following assignment has been successfully executed:

Which of the following expressions evaluate to True? (Select two expressions.)

Options:

A.  

the_List.index {"1"} in the_list

B.  

1.1 in the_list |1:3 |

C.  

len (the list [0:2]} <3

D.  

the_list. index {'1'} -- 0

Discussion 0
Questions 9

What is the expected result of the following code?

Options:

A.  

The code is erroneous and cannot be run.

B.  

20

C.  

10

D.  

30

Discussion 0