Programming Concepts

Programming Concepts

9th Grade

20 Qs

quiz-placeholder

Similar activities

Technological Systems

Technological Systems

9th Grade

19 Qs

Measurement Overview

Measurement Overview

9th - 12th Grade

20 Qs

Foundations of Engineering Final Spring 2025

Foundations of Engineering Final Spring 2025

9th - 12th Grade

20 Qs

Cryptography and Security Quiz

Cryptography and Security Quiz

8th Grade - University

15 Qs

S3ME QUIZ MODULE 3

S3ME QUIZ MODULE 3

2nd Grade - University

16 Qs

PLTW EOC Eng Ess Test Review 3

PLTW EOC Eng Ess Test Review 3

9th - 12th Grade

20 Qs

Intro to Robotics Review

Intro to Robotics Review

9th - 12th Grade

20 Qs

Programming Concepts

Programming Concepts

Assessment

Quiz

Engineering

9th Grade

Practice Problem

Hard

Created by

Wayground Content

FREE Resource

AI

Enhance your content in a minute

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

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?