
PCAP-31-03
Authored by hend business
Information Technology (IT)
12th Grade

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
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
Already have an account?
Similar Resources on Wayground
35 questions
System Analysis and Design - Implementation
Quiz
•
12th Grade - University
30 questions
Cryptography Methods Quiz
Quiz
•
8th Grade - University
32 questions
UH KKA 2 BLOCKLY GAMES KELAS 7
Quiz
•
7th 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
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
27 questions
7.2.3 Quadrilateral Properties
Quiz
•
9th - 12th Grade
7 questions
Amoeba Sisters Dihybrid Cross Punnett Square
Interactive video
•
9th - 12th Grade
10 questions
The Holocaust: Historical Overview
Interactive video
•
9th - 12th Grade
10 questions
Key Features of Quadratic Functions
Interactive video
•
8th - 12th Grade
11 questions
Exponent Quotient Rules A1 U7
Quiz
•
9th - 12th Grade