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 129 discussion

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

With regards to the directory structure below, select the proper forms of the directives in order to import module_b. (Choose two.)

  • A. from pyback.upper import module_b
  • B. import pyback.upper.module_b
  • C. import upper.module_b
  • D. import module_b
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

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
macxsz
Highly Voted 2 years, 6 months ago
Selected Answer: A
A. from pyback.upper import module_b B. import pyback.upper.module_b
upvoted 12 times
...
seaverick
Most Recent 9 months, 4 weeks ago
Selected Answer: A
import pypack.upper.module_b #True #import upper.module_b #ModuleNotFoundError: No module named 'upper' from pypack.upper import module_b #import module_b #ModuleNotFoundError: No module named 'module_b' Ans -> AB
upvoted 1 times
...
DezzoPalYeah
1 year, 1 month ago
Answer is AB.
upvoted 1 times
...
ivanbicalho
1 year, 9 months ago
It should be AB, the question is asking us to choose two, but the system is considering a solo answer wrongly.
upvoted 1 times
...
Nenggg
1 year, 11 months ago
Selected Answer: A
A. from pyback.upper import module_b B. import pyback.upper.module_b
upvoted 1 times
...
rotimislaw
2 years ago
Selected Answer: B
A. from pyback.upper import module_b B. import pyback.upper.module_b
upvoted 2 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 ...