
Python function quiz
Authored by Martin Highmore
Other Sciences, Computers
2nd Grade - University
Used 394+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
15 questions
Galaxy Review
Quiz
•
6th - 8th Grade
20 questions
SOAL PBO KELAS XII RPL
Quiz
•
2nd Grade
20 questions
2324tx6
Quiz
•
9th - 12th Grade
20 questions
QUIZ BAB 4: SISTEM OPERASI
Quiz
•
8th Grade - University
15 questions
# REVIEW 1 DATA TYPES
Quiz
•
10th Grade
17 questions
Computer
Quiz
•
3rd Grade
20 questions
KELAS 7 1
Quiz
•
9th - 12th Grade
20 questions
Pengolah Gambar Pada Ms Word Kelas 3 SD
Quiz
•
3rd Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Other Sciences
20 questions
Place Value
Quiz
•
KG - 3rd Grade
10 questions
Reflexive Pronouns
Quiz
•
KG - 5th Grade
10 questions
Long i- igh, ie, and y Quiz
Quiz
•
KG - 3rd Grade
12 questions
Quarter Past, Half Past, and Quarter To
Quiz
•
KG - 12th Grade
10 questions
Ada Twist Scientist Comprehension
Quiz
•
KG - 2nd Grade
20 questions
Disney
Quiz
•
KG - 3rd Grade
25 questions
DEFINITE AND INDEFINITE ARTICLES IN SPANISH
Quiz
•
KG - University
20 questions
Rhyming Words
Quiz
•
KG - 3rd Grade