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

Exam PCAP All Questions

View all questions & answers for the PCAP exam

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: BD 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
agus007
Highly Voted 2 years ago
BD are correct. __name__ variable contains the name of a module, not of a package
upvoted 7 times
...
mplopez
Most Recent 1 year, 3 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
1 year, 4 months ago
Selected Answer: BD
BD are correct
upvoted 1 times
...
Nenggg
1 year, 11 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
2 years 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 ...