RobotC- While loops and if-else statements

RobotC- While loops and if-else statements

10th Grade

49 Qs

quiz-placeholder

Similar activities

Python Programming Certification Exam

Python Programming Certification Exam

9th - 12th Grade

46 Qs

AP Computer Science Principles Units 1, 2 & 3

AP Computer Science Principles Units 1, 2 & 3

10th - 12th Grade

44 Qs

software dev

software dev

9th - 12th Grade

50 Qs

Tynker Python 101 Unit Test

Tynker Python 101 Unit Test

8th - 12th Grade

50 Qs

Python For Loops

Python For Loops

10th Grade

50 Qs

General Review Grade 8

General Review Grade 8

7th - 12th Grade

50 Qs

Robòtica 4t ESO

Robòtica 4t ESO

9th - 12th Grade

44 Qs

Express Course 11-15

Express Course 11-15

3rd - 12th Grade

52 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

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?