PCAP-31-03
Quiz
•
Information Technology (IT)
•
12th Grade
•
Practice Problem
•
Hard
hend business
FREE Resource
Enhance your content in a minute
33 questions
Show all answers
1.
MULTIPLE SELECT QUESTION
1 min • 5 pts
What is true about Python packages? (Select two answers)
the __name__ variable content determines the way in which the module was run
a package can be stored as a tree of sub-directories/sub-folders
__pycache__ is the name of a built-in variable
hashbang is the name of a built-in Python function
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
A Python module named pymod.py contains a variable named pyvar. Which of the following snippets will let you access the variable?
import pyvar from pymod pyvar = 1
from pymod import pyvar = 1
from pymod import pyvar pyvar()
import pymod pymod.pyvar = 1
3.
MULTIPLE SELECT QUESTION
1 min • 5 pts
Assuming that the code below has been executed successfully, which of the following expressions will always evaluate to True? (Select two answers)
len(random.sample([1,2,3],2)) > 2
v1 == v2
random.choice([1,2,3]) >=1
v1 >= 1
4.
MULTIPLE SELECT QUESTION
1 min • 5 pts
With regards to the directory structure below, select the proper forms of the directives in order to import module_a. (Select two answers)
import pypack.module_a
import module_a from pypack
import module_a
from pypack import module_a
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Which one of the platform module functions should be used to determine the underlying platform name?
platform.uname()
platform.platform()
platform.python_version()
platform.processor()
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
What is the expected output of the following code?
True
0
False
None
7.
MULTIPLE SELECT QUESTION
1 min • 5 pts
What is true about the following snippet? (Select two answers)
Option A
Option B
Option C
Option D
Create a free account and access millions of resources
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
30 questions
Cryptography Methods Quiz
Quiz
•
8th Grade - University
30 questions
NumPy Basics Quiz
Quiz
•
12th Grade - University
30 questions
CSC1313 QUIZ 1
Quiz
•
7th Grade - University
35 questions
Kuis Akhir Semester Informatika
Quiz
•
12th Grade
30 questions
Server Side Scripting (PHP)
Quiz
•
12th Grade
32 questions
Information and Communication Technology Skills
Quiz
•
9th Grade - University
35 questions
System Analysis and Design - Implementation
Quiz
•
12th Grade - University
33 questions
MIL 1st Quarter
Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
34 questions
Geometric Terms
Quiz
•
9th - 12th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
16 questions
Proportional Relationships And Constant Of Proportionality
Quiz
•
7th - 12th Grade
10 questions
DNA Replication Concepts and Mechanisms
Interactive video
•
7th - 12th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
20 questions
Food Chains and Food Webs
Quiz
•
7th - 12th Grade
15 questions
Identify Triangle Congruence Criteria
Quiz
•
9th - 12th Grade
