What is the expected output of the following code?
x = 1 + 1 // 2 + 1 / 2 + 2
print(x)
A. 3
B. 4.0
C. 4
D. 3.5
What value will be assigned to the x variable?
A. False
B. 0
C. 1
D. True
What is the expected output of the following code? print(1 / 1)
A. 1
B. 1.0
C. This can not be predicted.
D. This can not be evaluated.
What is the expected output of the following code?
A. 1 | False 2 | False
B. 1 | True 2 | True
C. 1 | False 2 | True
D. 1 | True 2 | False
What is the expected output of the following code? print(3 * 'abc' + 'xyz')
A. 3abcxyz
B. abcabcxyzxyz
C. abcabcabcxyz
D. abcxyzabcxyzabcxyz
What is the expected output of the following code?
A. 1 | True 2 | False 3 | True 4 | False
B. 1 | False 2 | False 3 | True 4 | True
C. 1 | False 2 | True 3 | True 4 | True
D. 1 | False 2 | True 3 | False 4 | True B
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
What is the expected output of the following code?
A. 1 2 3
B. 1 2 2
C. 3 2 1
D. 2 1 3
What is the expected output of the following code?
A. 1
B. 2
C. 4
D. 3
What is the data type of x, y, z after executing the following snippet?
A. int, int, int
B. x is int, y and z are invalid declarations
C. int, str, int
D. int, str, str
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.