Python Functions
Quiz
•
Other Sciences
•
2nd Grade - University
•
Practice Problem
•
Medium
Charles Martinez
Used 8+ times
FREE Resource
Enhance your content in a minute
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output
def greeting(name):
print ('hello ' + name)
print (greeting('Daddy'))
answer
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output
def adder(x, y):
print x + y
print (adder(1, 2))
answer
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output
def adder(x, y):
print x + y
print (adder("1","2"))
answer
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output
x = 67
if x != 67:
print "x is not equal to 67"
else:
print 'x is equal to 67'
answer
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output
def hello():
print ('hello')
def start():
print("start")
start()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output?
x = "This is a string"
def hello():
x = "hello"
print x
print hello()
x in hello and x out side hello
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output
x = 'asa '
print x*3
answer
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
14 questions
Bill Nye - Earthquakes
Quiz
•
6th - 8th Grade
15 questions
Motion Graphs: Speed, Distance, Time 1/25
Quiz
•
6th Grade
19 questions
Impact of Technology
Quiz
•
6th - 8th Grade
12 questions
Winds
Quiz
•
7th - 8th Grade
19 questions
Collecting and Interpreting Data
Quiz
•
6th - 8th Grade
20 questions
Energy
Quiz
•
5th - 6th Grade
20 questions
Measurement
Quiz
•
6th - 8th Grade
18 questions
Energy Transformations
Quiz
•
7th Grade
Popular Resources on Wayground
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Comparing Fractions
Quiz
•
4th Grade
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Latin Bases claus(clois,clos, clud, clus) and ped
Quiz
•
6th - 8th Grade
22 questions
fractions
Quiz
•
3rd Grade
7 questions
The Story of Books
Quiz
•
6th - 8th Grade
Discover more resources for Other Sciences
8 questions
2 Step Word Problems
Quiz
•
KG - University
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Subject Verb Agreement
Quiz
•
KG - 2nd Grade
10 questions
14.2 Independent/Dependent Variables
Quiz
•
KG - University
16 questions
CHARACTERIZATION
Quiz
•
KG - 8th Grade
18 questions
Great Lakes States
Quiz
•
KG - University
55 questions
Disney Characters
Quiz
•
KG - 5th Grade
27 questions
Capitalization Quiz
Quiz
•
KG - 12th Grade
