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

Unlimited Access

Get Unlimited Contributor Access to the all ExamTopics Exams!
Take advantage of PDF Files for 1000+ Exams along with community discussions and pass IT Certification Exams Easily.

Exam PCAP topic 1 question 79 discussion

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

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

  • A. a package is a single file whose name ends with the pa extension
  • B. a package is a group of related modules
  • C. the __name__ variable always contains the name of a package
  • D. the pyc extension is used to mark semi-compiled Python packages
Show Suggested Answer Hide Answer
Suggested Answer: BC 🗳️
Reference:
https://docs.python.org/3/tutorial/modules.html

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
agus007
Highly Voted 1 year, 5 months ago
BD are correct. __name__ variable contains the name of a module, not of a package
upvoted 7 times
...
mplopez
Most Recent 8 months ago
Selected Answer: BD
The B is correct because a Package is s a group of related modules, and D it's a semi-compiled python packages.
upvoted 2 times
...
jaimebb
9 months, 2 weeks ago
Selected Answer: BD
BD are correct
upvoted 1 times
...
Nenggg
1 year, 4 months ago
Selected Answer: BD
B. a package is a group of related modules D. the pyc extension is used to mark semi-compiled Python packages
upvoted 4 times
...
rotimislaw
1 year, 5 months ago
Selected Answer: BC
BC is the correct answer The rest is wrong because: A: Packages doesn't need to end with a *.pa suffix D: *.pyc are compiled already, not pre-compiled
upvoted 3 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 ...