Functions in RobotC
Quiz
•
Science, Computers, Instructional Technology
•
7th - 11th Grade
•
Practice Problem
•
Medium
Ina Kirsten
Used 14+ times
FREE Resource
Enhance your content in a minute
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
True or False: Functions save time and space by allowing common behaviors to be written as functions, and then run together as a single statement (rather than re-typing all the individual commands).
True
False
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
True or False: Functions must be created and then run separately.
True
False
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Separating behaviors into different functions allows your code to follow your planning more easily (one function per behavior or even sub-behavior).
True
False
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
True or False: Through the use of ____________, multiple related (but not identical) tasks can be handled with a single, intuitive function.
semicolons
curly brackets
parameters
()
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A function is created by “_______” it, and run by “calling” it.
initializing
declaring
creating
naming
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Declare the function by using the word “_______”, followed by the name you wish to give to the function. It’s helpful to give the function a name that reflects the behavior it will perform.
par
int
var
void
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Within the function’s ________ , write the commands exactly as you would normally. When the function is called, it will run the lines between its braces in order, just like task main does with the code between its own braces.
( )
[ ]
{curly braces}
;
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
18 questions
12AIT - All About W3C <3
Quiz
•
10th Grade - University
20 questions
PAS IPA KELAS VIII
Quiz
•
8th Grade
17 questions
Reflection and Mirrors
Quiz
•
8th Grade
17 questions
Ecosystems & Interactions topics 1-3
Quiz
•
7th Grade
19 questions
¿Qué es un sistema operativo?
Quiz
•
10th Grade
20 questions
DPS Jorhat - Robotics Skill Assessment
Quiz
•
6th - 8th Grade
20 questions
Latihan PSAS Kelas 9
Quiz
•
9th Grade - University
20 questions
General knowledge
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Science
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
20 questions
Balanced and Unbalanced Forces
Quiz
•
6th - 8th Grade
20 questions
Galaxies
Quiz
•
8th Grade
20 questions
genetics, punnett squares, heredity
Quiz
•
7th Grade
22 questions
Plate Tectonics
Lesson
•
6th - 8th Grade
10 questions
Unit 2: LS.Bio.1.5-LS.Bio.2.2 Power Vocab
Quiz
•
9th - 12th Grade
