Search Header Logo

Programming Concepts

Authored by Wayground Content

Engineering

9th Grade

Programming Concepts
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Multi-Line Comment

Indicated by /* */ in the code.

Indicated by // in the code.

Indicated by # in the code.

Indicated by in the code.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Increment in For Loop

Executed each time through the loop when the condition is true, modifying the loop control variable.

Executed only once before the loop starts.

Executed only if the loop condition is false.

Executed at the end of the loop iteration.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

void loop()

Contains code that repeats until the sketch ends with a command or the Reset button.

Is used to define a function that runs only once.

Is a function that initializes variables before the main program runs.

Is a command that stops the execution of the program.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

prizm.setServoPosition( );

Sets angle of servo motor

Controls the speed of the motor

Turns the motor on and off

Adjusts the brightness of an LED

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Initialization in For Loop

Occurs first and only once.

Occurs every iteration of the loop.

Occurs at the end of the loop.

Is optional and can be skipped.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

delay();

Represents the number of milliseconds to pause the program.

Sets a timer for a specific event.

Increases the speed of program execution.

Halts the program indefinitely.

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Single Line Comment

Indicated by // in the code.

Indicated by /* */ in the code.

Indicated by # in the code.

Indicated by -- in the code.

Access all questions and much more by creating a free account

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

Already have an account?