course2 lesson10

Quiz
•
Computers
•
2nd Grade
•
Hard
Academy OneSpace
Used 9+ times
FREE Resource
6 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function?
A block of reusable code to make the hero attacks the enemy
A code to make a game
A block of organized and reusable code that given a name
A block of reusable code to make the hero finds the enemy
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the right way to define the function test?
Define test():
def test():
Def test():
def test()
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What do we use functions for?
Organize a code
Reuse a code
Make the code easier to change
All of the above
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the right syntax to call this function
findAndAttackEnemy()
findandAttackEnemy()
findAndAttackEnemy():
def findAndAttackEnemy()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the right syntax to define the function heroAttack with parameter “enemy”
def hero.Attack enemy():
def heroAttack(“enemy”):
def heroAttack(enemy):
def heroAttack(enemy)
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Choose the right syntax to call this function
Similar Resources on Wayground
10 questions
Classes Abstratas e Interfaces em Python

Quiz
•
2nd Grade
10 questions
lesson 16

Quiz
•
1st - 5th Grade
6 questions
Jeux video

Quiz
•
1st - 10th Grade
5 questions
Python (Функции)

Quiz
•
1st - 5th Grade
10 questions
GDSC Technical Quiz

Quiz
•
1st - 3rd Grade
10 questions
Third Day Quiz!

Quiz
•
1st - 5th Grade
10 questions
python1

Quiz
•
KG - 4th Grade
10 questions
Functions in Python Quiz

Quiz
•
2nd 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 Computers
18 questions
Hispanic Heritage Month

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

Quiz
•
KG - University
20 questions
addition

Quiz
•
1st - 3rd Grade
20 questions
Subject and predicate in sentences

Quiz
•
1st - 3rd Grade
20 questions
Addition and Subtraction facts

Quiz
•
1st - 3rd Grade
10 questions
Human-Environment Interactions Vocab Unit 1 Grade 2 Quiz

Quiz
•
2nd Grade
20 questions
Proper and Common nouns

Quiz
•
2nd - 5th Grade
30 questions
Multiplication Facts 1-12

Quiz
•
2nd - 5th Grade