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).
Functions in RobotC

Quiz
•
Science, Computers, Instructional Technology
•
7th - 11th Grade
•
Medium
Ina Kirsten
Used 14+ times
FREE Resource
22 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
19 questions
Parameters and Return Review

Quiz
•
9th - 12th Grade
20 questions
Functions With Parameters and Returns

Quiz
•
9th - 12th Grade
20 questions
Very Basic Programming

Quiz
•
10th - 12th Grade
20 questions
Unit 2.2 Programming Techniques MCQs L2

Quiz
•
10th Grade
20 questions
Functions

Quiz
•
9th - 12th Grade
18 questions
Code.org Express Course Vocab

Quiz
•
6th - 8th Grade
17 questions
Gaming Lesson 3

Quiz
•
6th - 7th Grade
19 questions
GCSE J277 - Sub-Programs Keyword Quiz

Quiz
•
7th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Science
45 questions
Final Review (Part 1)

Quiz
•
8th Grade
37 questions
ESRT Review

Quiz
•
7th - 10th Grade
80 questions
Wave Interactions and Properties

Quiz
•
6th - 8th Grade
138 questions
Science 7 Final Exam Review

Quiz
•
7th Grade
21 questions
8th grade Final Exam Part 2 of 2

Quiz
•
8th Grade
50 questions
Earth Science Regents Review 819

Quiz
•
9th Grade
17 questions
Amplify Rock Transformation

Quiz
•
8th Grade
44 questions
Living Environment Regents Review

Quiz
•
9th Grade