Search Header Logo

RobotC SLT Pretest Quiz

Authored by Linda Morgan

Computers

7th - 8th Grade

Used 22+ times

RobotC SLT Pretest Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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