wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Robotics Practice Exam

Total questions: 35

Worksheet time: 30mins

Name
Class
Date
1.

Which statement best differentiates a microcontroller from a single-board computer like Raspberry Pi?

a)

Microcontroller runs one task without an operating system

b)

Microcontroller uses Linux and supports full multitasking

c)

Microcontroller is primarily a general-purpose desktop computer

d)

Microcontroller requires high power and complex cooling

2.

Fill in the formula that represents Ohm’s Law.

(a)  

3.

An LED requires a voltage drop across it and is connected to a 5 V supply with a series resistor. If the LED has a forward voltage of 2 V and we want to limit the current to 20 mA, what resistor value will be needed to achieve this current?

4 lines
4.

Which description correctly distinguishes series from parallel circuits for identical components?

a)

Parallel forces different currents but equal power in each branch

b)

Series have multiple paths and constant voltage across branches

c)

Parallel uses one path and the same current everywhere

d)

Series share one path and equal current through components

5.

Plan a test to compare conductor and insulator behavior using a multimeter continuity mode. Describe setup, evidence to collect, and criteria to conclude material type.

4 lines
6.

Which breadboard feature provides vertical columns dedicated to power and ground distribution?

a)

Bus strips for power and ground

b)

Proto rails for temporary storage

c)

Socket strips for component rows

d)

Schematic strips for wire routing

7.

A push button described as momentary behaves in which way when released?

a)

Gradually ramps down current

b)

Stays on if pull‑up is enabled

c)

Turns off immediately after release

d)

Locks in the on state until reset

8.

Which sensor detects orientation by closing a circuit when a small metal ball shifts position?

a)

Potentiometer varying manual resistance

b)

LDR changing resistance with light

c)

PIR sensor detecting infrared heat

d)

Tilt sensor using a rolling ball

9.

Identify the correct LED polarity pairing.

a)

Anode positive long leg; cathode negative short leg

b)

Anode negative short leg; cathode positive long leg

c)

Anode flat side short leg; cathode round long leg

d)

Anode ground bus leg; cathode socket row leg

10.

Which output component relies on the piezoelectric effect to generate sound from vibrations?

a)

Piezo buzzer creating audible tones

b)

RGB LED mixing colored light

c)

LCD panel displaying characters

d)

Vibration motor providing haptics

11.

When increasing the frequency (Hz) driving a piezo buzzer, what happens to the perceived pitch?

a)

Pitch increases with higher frequency

b)

Pitch randomly fluctuates with frequency

c)

Pitch stays constant regardless frequency

d)

Pitch decreases with higher frequency

12.

Which actuator combines red, green, and blue diodes and uses PWM to blend colors?

a)

Piezo buzzer with tones

b)

Coreless DC vibration motor

c)

LCD with 16x2 characters

d)

RGB LED with color mixing

13.

Explain how PWM enables color blending in an RGB LED.

4 lines
14.

Fill in the blank: The LCD mentioned typically has a _____ character by _____ row configuration.

(a)  

15.

Which pairing correctly matches breadboard sections to their function?

a)

Schematic diagram shows physical location of parts

b)

Socket strips provide internal component rows

c)

Bus strips distribute power and ground

d)

Bus strips route signals between IC pins

16.

Plan a simple prototype to detect room occupancy and provide feedback using listed components. Describe the chosen sensor and actuator, and justify the wiring on a breadboard.

4 lines
17.

In an Arduino sketch, what is the primary difference between void setup() and void loop()?

a)

Both run repeatedly after reset

b)

Both run once at program start

c)

setup() runs repeatedly; loop() runs once

d)

setup() runs once; loop() runs repeatedly

18.

Which symbol must appear at the end of most C++ statements in an Arduino sketch?

a)

Semicolon

b)

Curly brace

c)

Parenthesis

d)

Double slash

19.

Select all commands that configure or control a digital pin on Arduino.

a)

digitalRead(pin)

b)

pinMode(pin, mode)

c)

digitalWrite(pin, state)

d)

analogRead(pin)

20.

Which operator checks equality in C++?

a)

=== strict equality operator

b)

= assignment operator

c)

!= inequality operator

d)

== comparison operator

21.

Complete the single precise blank: The command that prints data to the Serial Monitor on a new line is (a)   .

22.

A sensor returns LOW on pin 7. Which if-statement correctly triggers an LED HIGH only when the sensor reads HIGH?

a)

if (digitalRead(7)) { digitalWrite(LED_PIN, HIGH); }

b)

if (digitalWrite(7) == HIGH) { digitalRead(LED_PIN); }

c)

if (digitalRead(7) == HIGH) { digitalWrite(LED_PIN, HIGH); }

d)

if (digitalRead(7) = HIGH) { digitalWrite(LED_PIN, HIGH); }

23.

Which set of statements best demonstrates correct use of if-else with equality comparison and assignment?

a)

if (buttonState == HIGH) { digitalWrite(13, HIGH); } else { digitalWrite(13, LOW); }

b)

if (buttonState = HIGH) { digitalWrite(13, HIGH); } else { digitalWrite(13, LOW); }

c)

if (HIGH == 13) { buttonState = LOW; } else { buttonState = HIGH; }

d)

if (buttonState != HIGH) { digitalWrite(13, HIGH); } else { digitalWrite(13, LOW); }

24.

Explain the role of pinMode, digitalRead, and digitalWrite in building a basic button-controlled LED circuit. Describe the sequence of operations and where each line typically appears in an Arduino sketch.

4 lines
25.

Which command generates a specific pitch on a buzzer and which command stops it? Select all that apply.

a)

tone(pin, frequency); starts sound

b)

delay(ms); stops sound

c)

noTone(pin); stops sound

d)

Serial.println(data); starts sound

26.

A variable declaration requires three parts. Choose the best example that shows all required parts.

a)

int sensorValue = 0;

b)

sensorValue int 0;

c)

int sensorValue;

d)

int = 0;

27.

What is the primary function of a resistor in an electronic circuit?

a)

To amplify signals

b)

To limit current flow

c)

To store electrical energy

d)

To convert AC to DC

28.

Which component is used to measure voltage in a circuit?

a)

Ohmmeter

b)

Voltmeter

c)

Amperemeter

d)

Capacitor

29.

In Arduino programming, which function is used to read the state of a digital pin?

a)

digitalWrite()

b)

analogRead()

c)

pinMode()

d)

digitalRead()

30.

What is the purpose of a capacitor in an electronic circuit?

a)

To convert AC to DC

b)

To limit current flow

c)

To store electrical energy

d)

To amplify signals

31.

Which component is typically used to control the speed of a DC motor?

a)

Resistor

b)

Capacitor

c)

Transistor

d)

Diode

32.

In an Arduino sketch, which function is used to set a digital pin as an output?

a)

analogWrite()

b)

pinMode()

c)

digitalWrite()

d)

digitalRead()

33.

What is the primary purpose of a diode in an electronic circuit?

a)

To store electrical energy

b)

To limit voltage levels

c)

To allow current to flow in one direction

d)

To amplify signals

34.

Which function in Arduino is used to write a value to a digital pin?

a)

digitalRead()

b)

analogWrite()

c)

digitalWrite()

d)

pinMode()

35.

What is the effect of increasing resistance in a circuit on current flow?

a)

Current decreases

b)

Current fluctuates

c)

Current increases

d)

Current remains constant