Python Institute PCAP - Certified Associate in Python Programming Exam
Page: 1 / 29
Total 141 questions
Question #1 (Topic: Single Topic)
What will be the value of the i variable when the while e loop finishes its execution?


A. 1
B. 0
C. 2
D. the variable becomes unavailable
Answer: A
Question #2 (Topic: Single Topic)
And operator able to perform bitwise shifts is coded as (Choose two.)
A. --
B. ++
C. <<
D. >>
Answer: CD
Question #3 (Topic: Single Topic)
What will the value of the i variable be when the following loop finishes its execution?


A. 10
B. the variable becomes unavailable
C. 11
D. 9
Answer: D
Question #4 (Topic: Single Topic)
The following expression

is:

is:
A. equal to 1
B. invalid
C. equal to 2
D. equal to -1
Answer: D
Question #5 (Topic: Single Topic)
A compiler is a program designed to (Choose two.)
A. rearrange the source code to make it clearer
B. check the source code in order to see of itג€™s correct
C. execute the source code
D. translate the source code into machine code
Answer: BD