What is the expected output of the following code?
A. ace
B. bdf
C. abcdef
D. An empty line.
What is the default return value for a function that does not explicitly return any value?
A. void
B. Null
C. public
D. None
E. int
A function de nition starts with the keyword:
A. fun
B. def
C. function
The function body is missing.
What snippet would you insert in the line indicated below:
A. print('number')
B. return 'number'
C. print(number)
D. return number
What is the expected output of the following code?
A. ****
B. The code is erroneous.
C. **
D. *
If a list passed into a function as an argument, deleting any of its elements inside the function using the del instruction:
A. will not affect the argument
B. will cause a runtime error
C. will affect the argument
What is the output of the following code snippet?
A. 2 3
B. The code is erroneous.
C. 3 2
D. 1 3
E. 3 3
isalnum() checks if a string contains only letters and digits, and this is:
A. A module
B. A function
C. A method
What is the output of the following snippet?
A. 9
B. The snippet is erroneous.
C. 0
D. 3
What is the expected output of the following code?
A. 0
B. False
C. The program will cause an error.
D. True
E. 1
Nowadays, the certification exams become more and more important and required by more and more enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare for the exam in a short time with less efforts? How to get a ideal result and how to find the most reliable resources? Here on Vcedump.com, you will find all the answers. Vcedump.com provide not only Python Institute exam questions, answers and explanations but also complete assistance on your exam preparation and certification application. If you are confused on your PCEP-30-02 exam preparations and Python Institute certification application, do not hesitate to visit our Vcedump.com to find your solutions here.