
Functions in RobotC
Authored by Ina Kirsten
Science, Computers, Instructional Technology
7th - 11th Grade
Used 14+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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}
;
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
20 questions
CSS 10 - QUIZ
Quiz
•
10th Grade
20 questions
Tecnología y Digitalización 1ºESO - Vistas 1
Quiz
•
9th Grade
20 questions
Bài tập BTH (1)
Quiz
•
9th Grade
21 questions
Y9 Creative iMedia RO81 Quiz Part 1
Quiz
•
9th Grade
20 questions
Limbah
Quiz
•
10th Grade
21 questions
BIOMOLECULES
Quiz
•
10th Grade
20 questions
Repaso TIC- 1º-bach
Quiz
•
11th Grade
18 questions
Evaluación diagnostica biología 2do medio
Quiz
•
9th 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
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
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Science
33 questions
Grade 6 Quarter 3 PMA 5 Review
Quiz
•
6th - 8th Grade
85 questions
Midpoint D1 Review
Quiz
•
8th Grade
12 questions
Ecological Succession
Quiz
•
7th Grade
12 questions
Newton's Laws of Motion
Lesson
•
6th - 8th Grade
10 questions
Exploring the Rock Cycle: Types and Formation
Interactive video
•
6th - 8th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade
20 questions
Pure Substances & Mixtures
Quiz
•
8th Grade
28 questions
Genes and Heredity
Lesson
•
8th Grade