Python Functions

Quiz
•
Other Sciences
•
2nd Grade - University
•
Medium
Charles Martinez
Used 4+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
def greeting(name):
print ('hello ' + name)
print (greeting('Daddy'))
answer
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
def adder(x, y):
print x + y
print (adder(1, 2))
answer
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
def adder(x, y):
print x + y
print (adder("1","2"))
answer
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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
def hello():
print ('hello')
def start():
print("start")
start()
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
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
x = 'asa '
print x*3
answer
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
EM Spectrum and Light Waves

Quiz
•
6th Grade
14 questions
Fingerprint Pattern

Quiz
•
9th - 12th Grade
20 questions
Set 1 Sains Tahun 5

Quiz
•
3rd - 4th Grade
20 questions
Unit 2 Part 2 Test

Quiz
•
6th - 10th Grade
20 questions
Sig Fig Math Practice

Quiz
•
9th - 12th Grade
20 questions
Significant Digits

Quiz
•
9th - 12th Grade
20 questions
Chemistry Calculations Significant Figures

Quiz
•
9th - 12th Grade
13 questions
Natural Selection and Adaptation

Quiz
•
7th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other Sciences
18 questions
Hispanic Heritage Month

Quiz
•
KG - 12th Grade
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Place Value

Quiz
•
KG - 3rd Grade
10 questions
MTSS - Attendance

Quiz
•
KG - 5th Grade
12 questions
Continents and Oceans

Quiz
•
KG - 8th Grade
12 questions
Doubles and Near Doubles

Quiz
•
KG - 2nd Grade
15 questions
Pronouns

Quiz
•
KG - 3rd Grade
20 questions
Punctuation Pre & Post Test

Quiz
•
KG - 2nd Grade