Search Header Logo

RobotC Quiz

Authored by Robert Greer

Computers

9th Grade - University

Used 105+ times

RobotC Quiz
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What programming language does RobotC use?

CC

C++

C#

C

2.

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

3.

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 VEX 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 VEX components

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is NOT an acceptable example of an infinite loop?

while(true)

while(1==1)

while(not false)

while(55==55)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does 'vexRT' mean?

VEX Remote Controller

VEX Router

VEX Remote Transmission

VEX Routine Transmission

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What do '#Pragma config()' statements do?

They show you da wae

They go on pizza

They configure settings which live in their own section of flash memory that is outside of your program code. They are available as soon as the microcontroller gets power, regardless where they are written in your code. This is important because sometimes they are needed before your program is executed.

They touch-a your spaghet

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A pragma config command for VEX robot motors contain either 5 or 6 arguments. Which is NOT a one of these arguments?

port type

button or channel

component type

component orientation

component name

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?