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
20 questions
Basic Circuits
Quiz
•
4th - 12th Grade
16 questions
Water & Watershed
Quiz
•
6th - 8th Grade
20 questions
Scientists
Quiz
•
8th - 12th Grade
20 questions
U4 Sun, Earth, & Moon Review
Quiz
•
6th - 8th Grade
16 questions
Variables and Graphing Review
Quiz
•
7th - 8th Grade
19 questions
Microscope Review
Quiz
•
7th Grade
20 questions
6th Unit 8 Test Review
Quiz
•
KG - University
19 questions
Test EOG Science
Quiz
•
KG - 5th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Other Sciences
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
10 questions
Christmas/Winter
Quiz
•
KG - 2nd Grade
10 questions
Christmas Characters
Quiz
•
KG - 3rd Grade
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Christmas Movies
Quiz
•
KG - 12th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
KG - 3rd Grade
10 questions
Christmas Trivia
Quiz
•
KG - 4th Grade
