WorksheetsBUG BASH
Total questions: 45
Worksheet time: 25mins
1-Arduino Uno is based on which microcontroller?
ATmega16
ATmega328P
ATmega2560
ATtiny85
How many digital I/O pins are there in Arduino Uno?
10
12
14
16
Operating voltage of Arduino Uno is:
3.3 V
5 V
9 V
12 V
Which function is used to set a pin as INPUT or OUTPUT?
digitalWrite()
pinMode()
analogRead()
setPin()
5-A buzzer connected to Arduino is a(n):
Input device
Sensor
Output device
Microcontroller
6-GND stands for:
Gate Node
Ground
Gain
Grid
7-Arduino programs are uploaded using:
Keil
Proteus
Arduino IDE
MATLAB
8-Arduino Uno is best described as a:
Microprocessor
Microcontroller board
PLC
CPU
How many analog input pins does Arduino Uno have?
4
5
6
8
Which pin is used to reset Arduino manually?
5V
GND
What is the function of setup()?
Runs repeatedly
Runs only once
Stops program
Resets Arduino
Which board is smaller than Arduino Uno?
Mega
Due
Nano
Leonardo
What does the onboard LED do when pin 13 is set HIGH?
Turns OFF
Blinks automatically
Turns ON
Burns out
Which function is used to stop execution temporarily?
stop()
wait()
delay()
pause()
How many PWM pins are there on Arduino Uno?
4
5
6
7
16-Which pin is used to send data to Serial Monitor?
A) A0
B) TX (Pin 1)
C) RX (Pin 0)
D) GND
Which device is used to give input to Arduino?
LED
Buzzer
Push button
Relay
18-Arduino sketches are written in:
Python
Assembly only
C/C++ based language
Java
19-PWM pins on Arduino are marked with:
#
~
*
!
20-VIN pin is used to:
Give 5V output
Give 3.3V output
Accept external voltage
Ground
Which of the following pins can be used for PWM output?
Pin 2
Pin 4
Pin 6
Pin 8
Which function must be called before using Serial Monitor?
Serial.print()
Serial.read()
Serial.begin()
Serial.write()
What happens if OUTPUT pin is shorted directly to GND?
Nothing
LED glows
Excess current flows
Voltage increases
What happens if pinMode() is not defined?
Compile error
Pin defaults to INPUT
Pin defaults to OUTPUT
Board resets
What is the error in the following code? void setup() {
pinMode(13, HIGH);}
void loop() {
digitalWrite(13, HIGH);
}
digitalWrite() used incorrectly
pinMode() second argument is wrong
Missing delay()
Pin number incorrect
What is the error in the following code? void setup() { pinMode(8, OUTPUT) } void loop() { digitalWrite(8, HIGH); }
Wrong pin number
Missing semicolon
Wrong function used
Braces mismatch
Why will the LED not blink?
void loop() {
digitalWrite(13, HIGH);
delay(1000);
digitalWrite(13, HIGH);
delay(1000);
}
Which of the following is the issue in the given scenario?
int x = 0;
void loop() {
if (x = 1) {
digitalWrite(13, HIGH);
}
}
Variable not declared
Missing pinMode
Assignment instead of comparison
Wrong data type
28-int x = 0; void loop() { if (x = 1) { digitalWrite(13, HIGH); } }
Variable not declared
Missing pinMode
Assignment instead of comparison
Wrong data type
29-void setup() { pinMode(7, INPUT); } void loop() { int val = digitalRead(7); }
digitalRead() returns wrong value
Floating input pin
Wrong pinMode
Missing delay
30-Why is the output not visible?
PWM pin not used
Delay too small for human eye
Wrong pinMode
LED damaged
Why will the buzzer not work?
void setup() {
pinMode(9, INPUT);
}
void loop() {
digitalWrite(9, HIGH);
}
Buzzer needs analog signal
Wrong pin number
Pin set as INPUT instead of OUTPUT
Missing delay
Which of the following can damage your Arduino board?
Wrong baud rate
Shorting 5V to GND
Uploading wrong code
Using delay()
What is the REAL purpose of the onboard voltage regulator?
Increase voltage
Stabilize input voltage to safe level
Generate PWM
Protect ADC
Which statement about Arduino I/O pins is TRUE?
All pins can supply unlimited current
All pins are identical internally
Each pin has maximum current limit
Pins work only in digital mode
Why is AREF pin rarely used by beginners?
It is optional
It needs external reference voltage knowledge
It works only in Mega
It is deprecated
Why does Arduino Uno still use an external crystal oscillator?
For cost reduction
For better timing accuracy
For faster ADC
For more memory
Why do analog pins work as digital pins but not vice versa?
A) Analog pins are faster
B) Analog pins have extra circuitry
C) Digital pins lack ADC hardware
D) It’s a software limitation
Arduino Uno’s 3.3V pin can supply only ~50 mA because:
Software limitation
USB limitation
Onboard regulator limitation
ADC limitation
Which situation is MOST likely to permanently damage an Arduino?
Floating input pin
Reverse polarity on VIN
Uploading large sketch
Wrong baud rate
Why does Arduino sometimes behave unpredictably with long jumper wires?
Code execution slows
Clock drifts
Noise and EMI pickup
Memory corruption
What is the clock frequency of Arduino UNO?
8 MHz
12 MHz
16MHz
20 MHz
Which pins are used for I²C communication on Arduino UNO?
2 & 3
A4 (SDA) AND A5 (SCL)
10 & 11
12 &13
Which memory stores the bootloader in Arduino UNO?
SRAM
EEPROM
CACHE
FLASH
What does PWM stand for in Arduino?
Pulse Width Mode
Pulse Width Modulation
Power Width modulation
Phase Width Modulation
