Which of the following statements are true? (Choose two.)
A. The result of the / operator is always an integer value.
B. The ** operator uses right-sided binding.
C. The right argument of the % operator cannot be zero.
D. Addition precedes multiplication.
Which of the following statements is false?
A. The right argument of the % operator can not be zero.
B. The ** operator has right-to-left associativity.
C. Multiplication precedes addition.
D. The result of the / operator is always an integer value.
What is the expected output of the following code? print(1 // 2 * 3)
A. 4.5
B. 0.16666666666666666
C. 0.0
D. 0
What is the expected output of the following code?
A. True True
B. True False
C. False False
D. False True
The ** operator:
A. performs duplicated multiplication
B. does not exist
C. performs oating-point multiplication
D. performs exponentiation
Only one of the following statements is true - which one?
A. addition precedes multiplication
B. multiplication precedes addition
C. neither statement can be evaluated
The += operator, when applied to strings, performs:
A. Subtraction
B. Concatenation
C. Multiplication
What is the expected output of the following code?
A. 8
B. 7.0
C. 8.0
D. 9.0
Consider the following code.
The value eventually assigned to x is equal to:
A. 1
B. 0
C. True
D. False
What is the output of the following code?
A. The program will cause an error.
B. False
C. None
D. True
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.