Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65pass65

Free PCEP - Certified Entry-Level Python Programmer Practice Questions

Exams4sure Dumps

Exam style questions across every PCEP-30-02 domain

Last Update 1 day ago
Total Questions : 42

Start with our free PCEP-30-02 practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real PCEP exam. Each PCEP-30-02 exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your Python Institute weak domains, see where you're losing marks, and build a focused study plan in minutes.

PCEP-30-02 PDF

PCEP-30-02 PDF (Printable)
$54.25
$154.99

PCEP-30-02 Testing Engine

PCEP-30-02 PDF (Printable)
$59.5
$169.99

PCEP-30-02 PDF + Testing Engine

PCEP-30-02 PDF (Printable)
$74.55
$212.99
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

Discussion 0
Question # 2

What is the expected output of the following code?

Question # 2

Options:

A.  

2

B.  

0

C.  

3

D.  

1

Discussion 0
Question # 3

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.

Question # 3

Options:

Discussion 0
Question # 4

Arrange the code boxes in the correct positions to form a conditional instruction which guarantees that a certain statement is executed when the temperature variable is equal to 0. 0.

Question # 4

Options:

Discussion 0
Question # 5

Assuming that the phone_dir dictionary contains name:number pairs, arrange the code boxes to create a valid line of code which adds Oliver Twist's phone number (5551122333) to the directory.

Question # 5

Options:

Discussion 0
Question # 6

What is true about tuples? (Select two answers.)

Options:

A.  

Tuples are immutable, which means that their contents cannot be changed during their lifetime.

B.  

The len { } function cannot be applied to tuples.

C.  

An empty tuple is written as { } .

D.  

Tuples can be indexed and sliced like lists.

Discussion 0
Question # 7

What is the expected result of the following code?

Question # 7

Options:

A.  

The code is erroneous and cannot be run.

B.  

20

C.  

10

D.  

30

Discussion 0
Question # 8

What happens when the user runs the following code?

Question # 8

Options:

A.  

The code outputs 3.

B.  

The code outputs 2.

C.  

The code enters an infinite loop.

D.  

The code outputs 1.

Discussion 0
Question # 9

A program written in a high-level programming language is called:

Options:

A.  

a binary code

B.  

machine code

C.  

the ASCI I code

D.  

a source code

Discussion 0
Question # 10

Which of the following sentences are true? (Select two answers.)

Options:

A.  

Function is obliged to return a value.

B.  

Every function must be defined before it is invoked.

C.  

It's possible to define more than one function of the same name.

D.  

A function can invoke itself.

Discussion 0

Free Exams Sample Questions