Leads4pass > Python Institute > Python Institute Certifications > PCEP-30-02 > PCEP-30-02 Online Practice Questions and Answers

PCEP-30-02 Online Practice Questions and Answers

Questions 4

Take a look at the snippet, and choose the true statements: (Choose two.)

A. nums is longer than vals

B. nums and vals are of the same length

C. vals is longer than nums

D. nums and vals refer to the same list

Buy Now
Questions 5

What is the expected output of the following code?

A. efg

B. abc

C. def

D. The code is erroneous.

E. abcde

F. None of the above.

Buy Now
Questions 6

What is the expected output of the following code?

A. 4

B. 2

C. 10

D. 0

E. 1

F. 3

Buy Now
Questions 7

What would you insert instead of ???, so that the program prints True to the monitor?

A. x < y

B. x is not y

C. x is y

D. x != y

Buy Now
Questions 8

What is the result of the following code?

A. 1

B. 2

C. 5

D. 3

Buy Now
Questions 9

What is true about compilation? (Choose two.)

A. The code is converted directly into machine code executable by the processor

B. It tends to be faster than interpretation

C. It tends to be slower than interpretation

D. Both you and the end user must have the code

Buy Now
Questions 10

What is the expected output of the following code?

A. 4

B. The code is erroneous.

C. 2

D. 1

Buy Now
Questions 11

Which of the following items are present in the function header?

A. function name

B. return value

C. parameter list

D. function name and parameter list

Buy Now
Questions 12

What is the expected output of the following code? print(chr(ord('p') + 3))

A. q

B. r

C. t

D. s

Buy Now
Questions 13

What is the expected output of the following code?

A. 3

B. 4

C. 1

D. 2

Buy Now
Exam Code: PCEP-30-02
Exam Name: PCEP - Certified Entry-Level Python Programmer
Last Update: Dec 28, 2024
Questions: 420
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$49.99

VCE

$55.99

PDF + VCE

$65.99