Certified Entry-Level Python Programmer PCEP-30-01 Exam Questions

Certified Entry-Level Python Programmer PCEP-30-01 Exam Questions

Certified Entry-Level Python Programmer PCEP-30-01 Exam Questions are the best way for your preparation. PCEP – Certified Entry-Level Python Programmer certification (Exam PCEP-30-01) is a professional credential that measures the candidate’s ability to accomplish coding tasks related to the essentials of programming in the Python language. Studying PCEP-30-01 Exam Questions will help you test skills in Data Types, Evaluations, and Basic I/O Operations, Control Flow – loops and conditional blocks, Data Collections – Lists, Tuples, and Dictionaries and Functions. You should take this PCEP-30-01 exam before December 31, 2022.

Test PCEP-30-01 practice exam below.

Page 1 of 4

1. What is the expected output of the following code?

def func(text, num):

while num > 0:

print(text)

num = num - 1

func('Hello', 3)

2. What is the expected output of the following code?

def fun():

return True

x = fun(False)

print(x)

3. 1.What are the four fundamental elements that make a language?

4. A complete set of known commands is called:

5. Strings in Python are delimited with:

6. What is the output of the following program if the user enters kangaroo at the first prompt and 0 at the second prompt?

try:

first_prompt = input("Enter the first value: ")

a = len(first_prompt)

second_prompt = input("Enter the second value: ")

b = len(second_prompt) * 2

print(a/b)

except ZeroDivisionError:

print("Do not divide by zero!")

except ValueError:

print("Wrong value.")

except:

print("Error.Error.Error.")

7. What is the expected output of the following code?

x = 1 // 5 + 1 / 5

print(x)

8. UTF-8 is ...

9. The ** operator:

10. The value thirty point eleven times ten raised to the power of nine should be written as:


 

Share this post

Leave a Reply

Your email address will not be published. Required fields are marked *