LO13 Lesson 6

Quiz
•
Computers, Instructional Technology, Other
•
10th Grade
•
Medium
Samantha Cassia
Used 2+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A Python module file can be imported into another Python file.
True
False
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A Python file cannot contain variables.
True
False
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
A Python file cannot contain runnable code.
True
False
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
You can create your own modules.
True
False
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Provides a means of reuse of program code
Provides a means of dividing up tasks
Provides a means of reducing the size of the program
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Suppose a function called add() is defined in a module called adder.py.
Which of the following code snippets correctly shows how to import and use the add() function?
import add from adder
result = add(2, 3)
from adder import add
result = add(2, 3)
from adder import add
result = adder.add(2, 3)
import add
result = adder.add(2, 3)
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Python Programming Quiz

Quiz
•
9th Grade - University
14 questions
Latihan PRA PAS 2021

Quiz
•
10th Grade
20 questions
[2/2566] ว30280 : แบบทดสอบกลางภาค

Quiz
•
9th - 12th Grade
20 questions
AQA GCSE Computer Science Paper 1

Quiz
•
9th - 11th Grade
14 questions
Работа с файлами

Quiz
•
10th Grade
20 questions
Lógica - Python - 1

Quiz
•
10th Grade
14 questions
Python_valoda

Quiz
•
9th - 12th Grade
14 questions
циклы в Python

Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade