What is the expected output of the following code?
A. 3
B. 13
C. The code is erroneous.
D. 42
What is the expected output of the following code?
A. 22
B. 6
C. 15
D. 14
What would you insert instead of ???, so that the program prints TRUE to the monitor?
A. a < b
B. a <= b
C. a == b
D. a > b
How many stars will the following snippet send to the console?
A. three
B. two
C. one
The ABC Video company needs a way to determine the cost that a customer will pay for renting a DVD. The cost is dependent on the time of day the DVD is returned. However, there are also special rates on Thursdays and Sundays. The fee
structure is shown in the following list:
?The cost is $1.59 per night.
?If the DVD is returned after 8 PM, the customer will be charged an extra day. ?If the video is rented on a Sunday, the customer gets 30% off for as long as they keep the video. ?If the video is rented on a Thursday, the customer gets 50% off
for as long as they keep the video.
You need to write code to meet the requirements.
What should you insert instead of XXX, YYY and ZZZ?
A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
How many stars will the following code print to the monitor?
A. two
B. one
C. The snippet will enter an in nite loop.
D. zero
How many stars will the following code send to the monitor?
A. one
B. two
C. three
D. zero
How many stars (*) will the following code output to the screen?
A. one
B. six
C. two
D. three
How many stars will the following code print to the monitor?
A. two
B. one
C. four
D. eight
How many stars will the following snippet print to the monitor?
A. three
B. zero
C. one
D. two
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.