RobotC- While loops and if-else statements

RobotC- While loops and if-else statements

10th Grade

49 Qs

quiz-placeholder

Similar activities

Exam revision

Exam revision

1st - 12th Grade

47 Qs

Algoritmika 1.

Algoritmika 1.

10th Grade - University

50 Qs

Data Security and Excel

Data Security and Excel

9th - 10th Grade

50 Qs

Ôn tập KTGK2 Tin 11

Ôn tập KTGK2 Tin 11

9th - 12th Grade

50 Qs

#3 CIW Data Analyst - Certification Prep

#3 CIW Data Analyst - Certification Prep

9th Grade - University

54 Qs

ECS Semester 1 Review 24/25

ECS Semester 1 Review 24/25

9th - 12th Grade

45 Qs

Movies

Movies

2nd Grade - Professional Development

44 Qs

K10 - Giữa HK II

K10 - Giữa HK II

10th Grade

50 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?