What value will be assigned to the x variable?
A. 0
B. True
C. False
D. 1
What is the expected output of the following code?
x = 1 // 5 + 1 / 5
print(x)
A. 0
B. 0.2
C. 0.0
D. 0.4
An operator able to check whether two values are not equal is coded as:
A. <>
B. !=
C. =/=
D. not ==
The result of the following addition: 123 + 0.0
A. cannot be evaluated
B. is equal to 123
C. is equal to 123.0
What will be the output of the following code snippet? print(3 / 5)
A. None of the above.
B. 0
C. 0.6
D. 6/10
What will be the output of the following code snippet?
A. 1
B. 4
C. 2
D. 3
E. None
What is the expected output of the following code?
x = 1 / 2 + 3 // 3 + 4 ** 2
print(x)
A. 17
B. 17.5
C. 8.5
D. 8
You develop a Python application for your company. You have the following code.
Which of the following expressions is equivalent to the expression in the function?
A. (a + b) * (c - d)
B. (a + (b * c)) - d)
C. (a + ((b * c) - d)
D. None of the above.
What is the output of the following code?
A. The output cannot be predicted.
B. 2
C. The program will cause an error.
D. 1
What is the expected output of the following code?
x = 28
y = 8
print(x / y)
print(x // y)
print(x % y)
A. 1 | 3.0 2 | 3 3 | 2
B. 1 | 3.5 2 | 3 3 | 4
C. 1 | 3 2 | 3.5 3 | 4
D. 1 | 3.5 2 | 3.5 3 | 2
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.