
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
10 questions
hardware and software(g3)
Quiz
•
2nd - 10th Grade
10 questions
6.sınıf Deneme Sınavı
Quiz
•
6th Grade
10 questions
DBMS- CLASS8 CBSE
Quiz
•
7th - 10th Grade
10 questions
JSPS Competition Hackathon - Scratch Language - Grade 1
Quiz
•
2nd Grade - University
20 questions
COMPUTER TEST
Quiz
•
1st - 7th Grade
20 questions
SensorOne Quiz 2 - Digital Systems- TE4-7DI
Quiz
•
7th Grade
10 questions
Anime
Quiz
•
KG - University
10 questions
QBASIC Programming
Quiz
•
5th - 10th Grade
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
