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 - 12th Grade
23 questions
Підсумковий тест 7 Python

Quiz
•
10th Grade
19 questions
importing classes in python

Quiz
•
9th - 12th Grade
20 questions
LocoRobo Academy Lessons 18-21 Weekly Test

Quiz
•
9th - 12th Grade
17 questions
Python Повторення, змінні і вирази

Quiz
•
1st - 11th Grade
20 questions
Python Loops Quiz

Quiz
•
10th Grade
20 questions
Programming Basics Quiz

Quiz
•
8th Grade - University
15 questions
Computer Science Quiz: Application of Computational Thinking

Quiz
•
10th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
10 questions
Essential Lab Safety Practices

Interactive video
•
6th - 10th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade