WorksheetsPreliminary Exam - ITP 312L
Total questions: 50
Worksheet time: 50mins
Digital I/O works with how many states?
One
Two
Three
Unlimited
Which Arduino function is used to read digital input?
digitalWrite()
pinMode()
digitalRead()
analogRead()
The analogRead() function returns values between:
0-255
0-1
0-1023
0-500
Which device provides binary signals to Arduino?
Potentiometer
Push button
Temperature sensor
Resistor
What does PWM stand for?
Pulse Width Modulation
Power Watt Measurement
Pin Write Mode
Pulse Wave Method
An LED connected to pin 9 with analogWrite(9, 255) will:
Be off
Blink slowly
Show 50% brightness
Be fully bright
Which part of Arduino Uno handles USB communication?
ATmega328
Reset Button
ATmega16U2
Power Connector
The loop() function in Arduino code:
Runs once
Runs repeatedly
Uploads code
Compiles code
Example of a digital output device is:
Potentiometer
Buzzer
Thermistor
LDR
Tinkercad allows users to:
Compile Arduino firmware only
Create real circuits only
Drag-and-drop components and simulate
Program in Python only
Which pins on Arduino Uno can perform PWM?
All analog pins
Only pin 13
Pins with ~ symbol
None of them
A potentiometer is best described as:
A light sensor
A variable resistor
A sound detector
A switch
In digitalWrite(13, HIGH), pin 13 is:
Set as input
Set to 0V
Given 5V output
Disabled
An example of SIA application is:
Video editing software
Smart home automation
Word processor
Graphic design
The setup() function in Arduino runs:
Only once at start
Continuously forever
Only after uploading code
When USB is disconnected
Which of the following is NOT a digital input device?
Push button
Motion detector
Potentiometer
Switch
The ATmega328 on Arduino Uno is:
Programmable by the user
Only for USB communication
Non-programmable
Used for power regulation
Arduino cannot output true analog signals but simulates them using:
Resistors
Capacitors
PWM
Transistors
The symbol "~" beside Arduino pin numbers indicates:
Analog pin
Power pin
PWM capability
Digital input only
Which is NOT a feature of Arduino Uno?
ICSP
USB connector
Power connector
HDMI port
DigitalRead() function returns values:
0–1023
HIGH or LOW
0–255
True/False only
Example of analog output application:
Turning an LED ON or OFF
Controlling LED brightness
Switching a relay
Detecting button press
The reset button on Arduino Uno is used to:
Shut down computer
Restart Arduino program
Upload new code
Connect to sensors
Which voltage level represents HIGH in Arduino?
0V
1V
3.3V
5V
In Arduino coding, setup() and loop() are:
Predefined functions
Optional functions
User-defined only
Hardware components
What is variable resistor with 3 pins used for analog input?
What is the Arduino function to configure a pin’s mode?
Value range returned by analogRead().
Example of a digital output device that makes sound.
Symbol that marks PWM-capable pins on Arduino.
Function used to send HIGH or LOW signals to pins.
What is the component used to reset Arduino Uno.
Communication chip handling USB in Arduino Uno.
Arduino function used to read analog input values.
A digital input device that detects motion.
The small round button on Arduino Uno used for restarting the program is the (a) button.
Analog input values in Arduino range from 0 to (a) .
The drag-and-drop simulation tool for Arduino circuits is called (a) .
The ATmega16U2 microcontroller on Arduino Uno handles (a) communication.
The power connector is necessary when using hardware that requires more (a) .
Arduino simulates analog output using (a) .
The main programmable microcontroller in Arduino Uno is the (a) .
A switch is an example of a digital (a) device.
The function used to read digital inputs is (a) .
The command used to output PWM values to a pin is (a) .
Which Arduino Uno pin type is labeled A0–A5?
Digital output pins
Analog input pins
PWM pins
Power pins
What is the primary role of the ATmega328 microcontroller on Arduino Uno?
Power regulation
USB communication
Program execution
Network connectivity
Which Arduino feature allows safe experimentation without physical components?
Tinkercad
ICSP
Reset button
Power jack
What type of signal does Arduino use to represent analog output?
True analog signal
PWM
Serial data
Binary logic
If a potentiometer connected to pin A0 is turned halfway, what approximate value will analogRead(A0) return?
255
512
1023
768
