Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
 

Python Institute PCAP Exam Actual Questions

The questions for PCAP were last updated on June 28, 2024.
  • Viewing page 1 out of 36 pages.
  • Viewing questions 1-4 out of 141 questions

Topic 1 - Single Topic

Question #1 Topic 1

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
Reveal Solution Hide Solution   Discussion   23

Correct Answer: A 🗳️

Question #2 Topic 1

And operator able to perform bitwise shifts is coded as (Choose two.)

  • A. --
  • B. ++
  • C. <<
  • D. >>
Reveal Solution Hide Solution   Discussion   9

Correct Answer: CD 🗳️
Reference:
https://www.geeksforgeeks.org/basic-operators-python/

Question #3 Topic 1

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
Reveal Solution Hide Solution   Discussion   56

Correct Answer: B 🗳️
Reference:
https://www.programiz.com/python-programming/pass-statement

Question #4 Topic 1

The following expression -
is:

  • A. equal to 1
  • B. invalid
  • C. equal to 2
  • D. equal to -1
Reveal Solution Hide Solution   Discussion   12

Correct Answer: D 🗳️

Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
ex Want to SAVE BIG on Certification Exam Prep?
close
ex Unlock All Exams with ExamTopics Pro 75% Off
  • arrow Choose From 1000+ Exams
  • arrow Access to 10 Exams per Month
  • arrow PDF Format Available
  • arrow Inline Discussions
  • arrow No Captcha/Robot Checks
Limited Time Offer
Ends in