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

Exam PCAP-31-03 All Questions

View all questions & answers for the PCAP-31-03 exam

Exam PCAP-31-03 topic 1 question 1 discussion

Actual exam question from Python Institute's PCAP-31-03
Question #: 1
Topic #: 1
[All PCAP-31-03 Questions]

What is true about Python packages? (Choose two.)

  • A. a code designed to initialize a package’s state should be placed inside a file named init.py
  • B. a package’s contents can be stored and distributed as an mp3 file
  • C. __pycache__ is a folder that stores semi-compiled Python modules
  • D. the sys.path variable is a list of strings
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
SMMTechie
1 month ago
C & D since init.py is not correct. _init_.py is the proper name. Google "init.py vs __init__.py" for confirmation.
upvoted 1 times
...
jarun2024
1 month, 4 weeks ago
ANS: A&D
upvoted 1 times
...
DKAT2023
3 months, 4 weeks ago
sorry, only C and D are corrects , for A the correct file name is _init_.py not init.py
upvoted 2 times
...
DKAT2023
4 months ago
A, C and D
upvoted 1 times
...
Damon54
4 months, 3 weeks ago
A C e D are correct !!
upvoted 1 times
...
surendrapattipati
5 months ago
A. a code designed to initialize a package’s state should be placed inside a file named init.py
upvoted 1 times
...
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 ...