
L19 Functions Quiz
Quiz
•
Computers
•
6th - 8th Grade
•
Medium
Used 632+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
According to code.org where can you “call a function”?
Inside the draw loop
Before your code where you created the function
Anywhere in you code, except inside the draw loop
After your code where you created the function
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is a function?
A code block that creates sprite interactions
A code that holds a value that can change
A set of code that is repeated
A named group of programming instructions
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does “calling” a function mean?
Naming and creating the function for the first time
Using your function in your code with it’s name
Using the same name for all of the function you create
Using that function inside your draw loop
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
. According to code.org, where should you NOT create a function?
before you call the function
inside of the draw loop
on top of the draw loop
after you call the function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is it called when you “create” a function in your code?
calling
bouncing
defining
abstraction
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
According to code.org which of the following is NOT a reason to use a function in your code?
keeping your code readable
to create reactions with sprites
keeping your code organized
removing repetition
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following code blocks is correctly “defining” a function?
function.drawRed()
drawRed()
function drawRed(){
fill("red");
rect(100,100,50,50);
}
sprite.drawRed()
Create a free account and access millions of resources
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
12 questions
Creating Webpages
Quiz
•
6th - 8th Grade
13 questions
topologies
Quiz
•
7th - 8th Grade
10 questions
Formatting a Spreadsheet
Quiz
•
6th Grade
20 questions
Unit Test 1 Class 8 Computer
Quiz
•
8th - 9th Grade
10 questions
THE PHOTOSHOP WINDOW
Quiz
•
7th - 8th Grade
20 questions
Quiz
•
7th - 12th Grade
20 questions
M1_Final_Quiz1_2017
Quiz
•
7th - 8th Grade
13 questions
Five Nights At Freddy's: Security Breach Quiz
Quiz
•
KG - Professional Dev...
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
