Arduino

Arduino

9th - 10th Grade

10 Qs

quiz-placeholder

Similar activities

CodeHS 5.8 HashMaps

CodeHS 5.8 HashMaps

9th - 12th Grade

10 Qs

Computer Science ALevel

Computer Science ALevel

10th - 12th Grade

15 Qs

Hummingbird Robotics

Hummingbird Robotics

6th - 9th Grade

12 Qs

Nat 5 Standard Algorithms + Predefined Functions

Nat 5 Standard Algorithms + Predefined Functions

8th - 10th Grade

10 Qs

Computer Programming_Unit 6_Test 2

Computer Programming_Unit 6_Test 2

10th Grade

5 Qs

1.1 GCSE Systems Architecture

1.1 GCSE Systems Architecture

9th - 10th Grade

15 Qs

RobotC

RobotC

9th - 11th Grade

10 Qs

CodeHS 5.3 Using Arrays

CodeHS 5.3 Using Arrays

9th - 12th Grade

11 Qs

Arduino

Arduino

Assessment

Quiz

Computers

9th - 10th Grade

Hard

Created by

chetna kachhwaha

Used 8+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

___________ are pre built circuit boards that fit on top of Android.

Sensor

Breadboard

Data Types

Sheilds

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this line of code do? counter++;

Increment counter by an amount that depends on its definition.

This is not a legal statement in the Arduino language.

Adds 1 to the variable counter

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is there anything wrong with this line of code, if yes, what? if(myVar = true) Serial.println("The light is ON");

There needs to be a space after the if keyword.

The = should be ==

There is nothing wrong.

An if statement must use braces.

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the value of foo when these lines of code are executed? foo = 12; foo = foo % 10;

1

2

1.2

None of above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does this line of code do? temp = !temp;

Sets the variable temp to its logical compliment.

Converts the variable temp to a boolean value.

The line is not a legal Arduino statement.

Preforms a factorial calculation.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the range of numbers you can store in a variable of type byte?

0 to 65535

-128 to 127

0 to 255

0 to 9

7.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

To subtract 1 from a variable counter, you can use the following statement(s) (check all that apply)

counter- = 1;

counter = counter -1;

counter--;

--counter;

None of above

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?