
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()
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
15 questions
Excel
Quiz
•
5th - 6th Grade
12 questions
Sumatif Harian 3
Quiz
•
7th Grade
11 questions
HEALTH AND SAFETY 9
Quiz
•
7th - 9th Grade
15 questions
LEDs on micro:bit
Quiz
•
8th Grade
20 questions
Lesson 5 Sharing Information on the Web
Quiz
•
7th Grade
20 questions
Network topologies
Quiz
•
8th Grade - University
15 questions
Quiz 1
Quiz
•
1st - 12th Grade
10 questions
ICT Grade 8
Quiz
•
8th 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
