
course2 lesson10
Authored by Academy OneSpace
Computers
2nd Grade
Used 9+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
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
10 questions
Pseudo code Practice 1
Quiz
•
1st - 3rd Grade
10 questions
Virus Informáticos
Quiz
•
1st - 10th Grade
10 questions
Java Strings
Quiz
•
1st Grade - Professio...
10 questions
Mreža sedmaši
Quiz
•
1st - 5th Grade
10 questions
Python
Quiz
•
1st - 10th Grade
10 questions
Coding - Computer Programming
Quiz
•
KG - University
10 questions
Information Technology Safety
Quiz
•
2nd Grade
10 questions
Code.org Course D - Sequencing Quiz (1)
Quiz
•
2nd - 4th 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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Computers
22 questions
Equal Groups and Arrays
Quiz
•
2nd Grade
10 questions
Life Cycle of a Frog
Quiz
•
1st - 2nd Grade
10 questions
Exploring Rosa Parks and Black History Month
Interactive video
•
1st - 5th Grade
20 questions
Counting Coins
Quiz
•
2nd Grade
20 questions
Place Value
Quiz
•
KG - 3rd Grade
30 questions
DA Math Mania Bowl - Primary
Quiz
•
2nd Grade
19 questions
Subject-Verb Agreement
Quiz
•
2nd - 5th Grade
10 questions
Harriet Tubman
Quiz
•
2nd - 3rd Grade