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
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
20 questions
Simple Machines
Quiz
•
6th - 12th Grade
12 questions
Assessment | Fingerprints
Quiz
•
9th - 12th Grade
16 questions
2017 PSSA Science Grade 4
Quiz
•
4th Grade
20 questions
My Carefully Arranged Science questions 1 (MCAS)
Quiz
•
6th - 8th Grade
12 questions
Nuclear Fusion Review
Quiz
•
5th - 8th Grade
20 questions
Sains Tahun 4
Quiz
•
4th Grade
17 questions
EM Waves
Quiz
•
6th - 9th Grade
13 questions
Mr. Putman 8th Grade Science Chapter 18
Quiz
•
8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Other Sciences
14 questions
States of Matter
Lesson
•
KG - 3rd Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
7 questions
Natural Resources
Quiz
•
KG - 2nd Grade
15 questions
Pronouns
Quiz
•
KG - 3rd Grade
10 questions
Dichotomous Key
Quiz
•
KG - University
25 questions
Integer Operations
Quiz
•
KG - University
10 questions
Asexual vs. Sexual Reproduction
Quiz
•
KG - 8th Grade
20 questions
Subtraction within 20
Quiz
•
KG - 2nd Grade
