RobotC- While loops and if-else statements

RobotC- While loops and if-else statements

10th Grade

49 Qs

quiz-placeholder

Similar activities

ÔN TẬP KIỂM TRA HK 1 ĐỊA LÍ 10

ÔN TẬP KIỂM TRA HK 1 ĐỊA LÍ 10

10th Grade

52 Qs

ICT in society

ICT in society

5th Grade - University

50 Qs

Software Design Models: Waterfall and Iterative

Software Design Models: Waterfall and Iterative

8th Grade - University

44 Qs

MS Word Preliminary Examination

MS Word Preliminary Examination

10th Grade - University

47 Qs

ASESMEN MATRIKULASI

ASESMEN MATRIKULASI

10th Grade

50 Qs

3rd Preliminary Exam - TLE-ICT_CSS_2025

3rd Preliminary Exam - TLE-ICT_CSS_2025

10th Grade

45 Qs

Moderate Binary to other bases

Moderate Binary to other bases

7th - 12th Grade

50 Qs

Java Basics Self-Check

Java Basics Self-Check

9th - 12th Grade

46 Qs

RobotC- While loops and if-else statements

RobotC- While loops and if-else statements

Assessment

Quiz

Computers

10th Grade

Easy

Created by

Richard Montejo

Used 3+ times

FREE Resource

AI

Enhance your content in a minute

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

49 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

1.  What punctuation mark signals the end of a simple statement?    

:
)
!
;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Value of touch sensor when pressed

0

1

63

127

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The speed of motor is affected by battery power. 

True
False

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do we make a program loop indefinitely? 

if/else statements
task main ()
while (1==1)
SensorValue ()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What programming language does RobotC use?

CC

C++

C#

C

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the line 'task main() followed by { }'?

It's a comment used to define the main scope

Sets up multitasking

Sets up a program's main task only

Sets up a program's main task and scope

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the purpose of the 'while(true)' statement?

creates a finite loop to check for changes in your NXT components a number of times

creates an infinite loop to check for mistakes in the program functions

creates a finite loop to check for mistakes in the program functions

creates an infinite loop to continually check for changes in your NXT components

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?