Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Robotics

Total questions: 55

Worksheet time: 28mins

Name
Class
Date
1.

When a condition in a "for" loop becomes ___, the loop ends

a)

true

b)

false

c)

maybe

d)

sometimes

2.

The ___ is one integrated electronic transducers, DC voltage supply, widely used in computers, printers, copiers, alarm, electronic toys, automotive electronic equipment, elephones, timers, and other electronic products for sound devices

a)

Light dependent resistor

b)

pulse width modulator

c)

ultrasonic sensor

d)

piezzoelectric buzzer

3.

Which statement will mute the buzzer?

a)

digitalWrite(buzzer, LOW);

b)

analogWrite(buzzer, 0);

c)

all of the above

d)

none

4.

What is defined as the duration of "on time"

a)

Pulse width

b)

delay

c)

PWM

d)

digitalWrite

5.

What is NOT a PWM pin on most Arduino boards?

a)

8

b)

9

c)

10

d)

11

6.

A form of electronic communication sent as signals of varying frequency instead of ON or OFF like a digital data transmission

a)

HIGH

b)

LOW

c)

analog

d)

digital

7.

What component can be driven by an oscillating electronic circuit or other audio signal source?

a)

piezzo buzzer

b)

speaker

c)

indicator

d)

bell

8.

When the button is not being pressed it becomes what is called a ___ pin - it is not connected to anything

a)

stray

b)

null

c)

free

d)

floating

9.

What does the command 'buttonState = digitalRead(buttonPin);' do?

a)

check the condition of the tact switch

b)

initiate the code

c)

order the LED to turn on/off

d)

loops the code until buttonState is true

10.

Pauses the program for the amount of time (in milliseconds) specified as parameter

a)

delay(ms)

b)

delay(s)

c)

delay(ml)

d)

delay(

11.

It is a simple knob that provides a variable resistance, which we can read into the Arduino board as an analog value

a)

motor driver shield

b)

bluetooth shield

c)

potentiometer

d)

line sensor

12.

A device having a designed resistance to the passage of an electric current

a)

diode

b)

capacitor

c)

resistor

d)

transistor

13.

Arduino grammar is built on the basis of ___ grammar

a)

Python

b)

SQL

c)

Java

d)

C

14.

This code happens over and over again

a)

loop ()

b)

setup()

c)

void()

d)

set()

15.

A method of emulating an analog signal through a digital

a)

analogWrite

b)

analogRead

c)

PWM

d)

analogSet

16.

No electrical signal present (0V). Also OFF or False in boolean logic

a)

HIGH

b)

LOW

c)

input

d)

output

17.

A type of serial protocol between two devices

a)

serial monitor

b)

serial available

c)

serial buffer

d)

serial communication

18.

A component that can open of close an electrical circuit

a)

insulator

b)

conductor

c)

switch

d)

resistor

19.

A datatype that stores values which are likely to change as your program runs

a)

character

b)

variable

c)

constant

d)

integer

20.

Where should the MIDDLE PIN of the pontentiometer be connected to?

a)

SV

b)

GND

c)

analog pin

d)

digital pin

21.

what kind of value does the photoresistor collect?

a)

digital

b)

analog

c)

both

d)

none

22.

___ is a useful C component that allows the programmer to give a name to a constant value before the program is compiled

a)

#define

b)

#include

c)

#set

d)

#library

23.

Syntax used to end a statement

a)

:

b)

;

c)

++

d)

}

24.

A function used to initialize variables, pin modes, start using libraries, etc.

a)

loop()

b)

setup()

c)

void()

d)

Serial.begin()

25.

Fill in the blanks

a)

OUTPUT; INPUT

b)

INPUT;INPUT

c)

INPUT;OUTPUT

d)

OUTPUT;OUTPUT

26.

Locate the erroneous line in the following block of code

a)

line 5

b)

line 2&4

c)

line 1

d)

none

27.

Reads the value from a specified digital pin, either HIGH or LOW

a)

digitalWrite

b)

digitalRead

c)

analogWrite

d)

analogRead

28.

The ability of a material to hold an electrical charge

a)

resistance

b)

capacitance

c)

tolerance

d)

charge

29.

A named identifier that cannot change its value in a program

a)

character

b)

variable

c)

constant

d)

integer

30.

What sensor is designed for mobile robot line tracking applications?

a)

ultrasonic sensor

b)

light dependent resistor

c)

potentiometer

d)

line sensor

31.

The ___ statement is used to repeat a block of statements enclosed in curly braces

a)

for

b)

else

c)

while

d)

do while

32.

____ signals OFF or no electrical signal is present

a)

LOW

b)

HIGH

c)

input

d)

output

33.

Allows you to get readings from analog sensors or interfaces that have more than two states

a)

analogWrite

b)

analogRead

c)

digitalWrite

d)

digitalRead

34.

Assign a HIGH or LOW value to a pin already declared as an

a)

analogWrite

b)

analogRead

c)

digitalWrite

d)

digitalRead

35.

Which of the following displays the correct syntax?

a)

Serial.println("Hello World!")

b)

Serial.println("Hello World!");

c)

Serial.println(Hello World!)

d)

Serial.println(Hello World!);

36.

It is designed for mobile robot line tracking applications, in three or five IR reflective sensors that will reliably detect dark lines printed over light colored surface

a)

ultrasonic sensor

b)

light dependent resistor

c)

potentiometer

d)

line sensor

37.

The function of a ___ is to take a low-current control signal and then turn it into a higher-current signal that can drive a motor

a)

transformer

b)

motor driver

c)

potentiometer

d)

line sensor

38.

The process of going through a circuit or code, and finding errors, until the expected behavior is achieved

a)

assessment

b)

troubleshooting

c)

debugging

d)

integer

39.

A datatype used to represent a fraction which entails the use of decimal points for floating point numbers

a)

float

b)

integer

c)

character

d)

constant

40.

The brains of Arduino, this is a small computer that you will program to listen for, process, and display information

a)

integrated circuit

b)

microcontroller

c)

chip

d)

zero

41.

A ___ loop will loop continuosly, and infinitely, until the expression inside the parenthesis, () becomes false

a)

for

b)

if else

c)

while

d)

do while

42.

The ___ statement checks for a condition and excuses the proceeding statement or set of statements if the condition is true

a)

for

b)

if else

c)

while

d)

do while

43.

A potentiometer returns an analog value between ___ and ___

a)

0, 123

b)

0, 255

c)

0, 1023

d)

0, 1203

44.

A way to stimulate a varying static voltage

a)

PWM

b)

resistance

c)

conductance

d)

insulation

45.

A component that measures one form of energy and converts it into voltage or current

a)

converter

b)

sensor

c)

analog

d)

digital

46.

This shows you what line number your cursor is on. It is useful since the compiler gives error messages with a line number

a)

line number

b)

sketch editor

c)

text console

d)

serial monitor

47.

Before your program "code" can be sent to the board, it needs to be converted into instructions that the board understands. This process is called...

a)

sketching

b)

initialization

c)

uploading

d)

compiling

48.

A function often used to set pinmode to input or output

a)

setup ()

b)

void()

c)

loop()

d)

set()

49.

___ signals ON or electrical signal is present

a)

LOW

b)

HIGH

c)

output

d)

input

50.

Write a HIGH or a LOW value to a digital pin

a)

digitalWrite

b)

digitalRead

c)

analogWrite

d)

analogRead

51.

___ sensor output voltage linear relationship between the Celsius temperature scale

a)

LM35

b)

LM31

c)

LM25

d)

LM45

52.

Generates a square wave of the specified frequency (and 50% duty cycle) on a pin

a)

tone()

b)

pulseln

c)

noTone()

d)

char()

53.

Where should the legs of an LM35 be connected to? (left to right)

a)

ANALOG, 5V, GROUND

b)

5V, ANALOG, GROUND

c)

GROUND, ANALOG, 5V

d)

GROUND, 5V, ANALOG

54.

What does an LM35 measure?

a)

light

b)

movement

c)

voltage

d)

temperature

55.

LED stands for

a)

Light Emitting Diode

b)

Light Electric Display

c)

Light Emitting Display

d)

Light Electric Diode