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
13 questions
Mars

Quiz
•
6th - 7th Grade
19 questions
Distance-time Graph Practice

Quiz
•
8th - 9th Grade
15 questions
SCIENCE PROCESS SKILLS

Quiz
•
6th Grade
21 questions
Types of Energy

Quiz
•
8th Grade
20 questions
Describing Matter

Quiz
•
6th - 9th Grade
15 questions
McGaughey - Volume, Mass, Weight

Quiz
•
5th - 6th Grade
12 questions
Seasons & Day/Night

Quiz
•
4th - 5th Grade
15 questions
1.3 Sains T5

Quiz
•
11th - 12th 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