
Module 2.2
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Harry Riley
Used 13+ times
FREE Resource
Enhance your content in a minute
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def lowCase(wordsIn):
....return wordsIn.lower()
Choose the correct output of calling the function above using the following code:
wordsLower = lowCase("Return THIS lower")
print(wordsLower)
"Return THIS lower"
No Output
"return this lower"
An Error
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Python Function return values must be stored in variables.
True
False
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
def addNum(num1 = 10):
....return num1 + num1
Choose the correct output of calling the function above using the following code:
print(addNum(100))
20
100
200
an error
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many spaces should the second line of a function be indented?
a tab
five spaces
four spaces
it should not be indented
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
If I define a function with the three parameters how many arguments will I need to input when I run the code?
Please enter a number value.
1
3
2
4
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What must go at the initial line in the defining of a function?
semicolon
colon
double periods
parenthesis
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of a return?
print a value
comeback another time
return a value
to reverse the program
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the basic block of code in Python that can be shared and called later?
variable
string
boolean!
function
Similar Resources on Wayground
9 questions
Internet Protocols
Quiz
•
10th - 11th Grade
10 questions
Quiz TLJ - VoIP
Quiz
•
12th Grade
10 questions
Empowerment Technologies Quiz 2
Quiz
•
11th Grade
10 questions
Review I-PM Ujikom Multimedia
Quiz
•
12th Grade
10 questions
Powerpoint Quiz
Quiz
•
9th - 12th Grade
10 questions
Computer Applications Q3
Quiz
•
10th Grade
10 questions
สร้าง AI ด้วย designer.microsoft ฺBy k.juthamas
Quiz
•
10th Grade
10 questions
Getting to Know Excel!
Quiz
•
11th Grade
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Halloween Trivia
Quiz
•
6th - 8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
4 questions
Activity set 10/24
Lesson
•
6th - 8th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
30 questions
October: Math Fluency: Multiply and Divide
Quiz
•
7th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
20 questions
Six Weeks Test 2 Review
Lesson
•
9th - 12th Grade
12 questions
Overview of Mexico Part 1
Lesson
•
9th - 12th Grade
16 questions
Lesson 3.5 - If Structures Practice
Quiz
•
11th Grade
10 questions
Exploring Computer Hardware and Software Components
Interactive video
•
6th - 10th Grade
