Practice Python Institute PCAP-31-03 Exam Questions
Page: 1/29 Total 144 Questions
Question No 1
What is true about Python packages? (Select two answers)
Question No 2
A Python module named pymod.py contains a variable named pyvar.
Which of the following snippets will let you access the variable? (Select two answers)
Question No 3
Assuming that the code below has been executed successfully, which of the following expressions
will always evaluate to True? (Select two answers) import random
v1 = random. random()
v2 = random. random()
Question No 4
With regards to the directory structure below, select the proper forms of the directives in order to import module_ a. (Select two answers)
Question No 5
Which one of the platform module functions should be used to determine the underlying platform
name?