Functions in RobotC

Functions in RobotC

7th - 11th Grade

22 Qs

quiz-placeholder

Similar activities

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

CHỦ ĐỀ A. MÁY TÍNH VÀ XÃ HỘI TRÍ THỨC P1

10th Grade

20 Qs

Is it a biological claim?

Is it a biological claim?

11th - 12th Grade

20 Qs

Komunikasi dalam Jaringan

Komunikasi dalam Jaringan

10th - 12th Grade

21 Qs

Quiz 4 Plate Tectonics and Landforms

Quiz 4 Plate Tectonics and Landforms

10th Grade

20 Qs

kiểm tra tin 8

kiểm tra tin 8

8th Grade

20 Qs

Evaluación diagnostica biología 2do medio

Evaluación diagnostica biología 2do medio

9th Grade

18 Qs

CSS 10 - QUIZ

CSS 10 - QUIZ

10th Grade

20 Qs

Pengetahuan Am *remastred*

Pengetahuan Am *remastred*

7th Grade

20 Qs

Functions in RobotC

Functions in RobotC

Assessment

Quiz

Science, Computers, Instructional Technology

7th - 11th Grade

Practice Problem

Medium

Created by

Ina Kirsten

Used 14+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?