wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

QUIZ 1 - INTRODUCTION IN ARDUINO AND SKETCHING IN CODE

Total questions: 30

Worksheet time: 10mins

Name
Class
Date
1.

What is the primary purpose of Arduino?

a)

To manufacture computer hardware

b)

To create complex software applications

c)

To make electronics more accessible to everyone

d)

To develop high-end gaming consoles

2.

Which microcontroller is used in the Arduino Uno?

a)

ATmega2560

b)

ATmega328P

c)

ATmega32

d)

ATmega128

3.

What does the Arduino IDE stand for?

a)

Integrated Development Environment

b)

Interactive Design Environment

c)

Interactive Development Editor

d)

Integrated Device Editor

4.

Which Arduino board is best suited for space-constrained projects?

a)

Arduino Nano

b)

Arduino Due

c)

Arduino Uno

d)

Arduino Mega

5.

What is the function of the reset button on an Arduino board?

a)

To power the board

b)

To change the board settings

c)

To restart the code running on the microcontroller

d)

To upload new sketches

6.

What type of pins are used to read continuous values in Arduino?

a)

Power Pins

b)

PWM Pins

c)

Analog Input Pins

d)

Digital Input/Output Pins

7.

Which of the following is NOT a feature of the Arduino platform?

a)

Extensive libraries

b)

High-level programming languages

c)

Pre-assembled boards

d)

User-friendly programming

8.

What is the purpose of the pinMode() function in Arduino?

a)

To read the value from a pin

b)

To configure a pin as input or output

c)

To write a value to a pin

d)

To delay the program execution

9.

What is the maximum number of digital I/O pins on an Arduino Mega?

a)

32

b)

14

c)

54

d)

16

10.

Which component ensures that the Arduino board receives stable voltage?

a)

Reset Button

b)

Crystal Oscillator

c)

Voltage Regulator

d)

Microcontroller

11.

What is the typical input voltage range for most Arduino boards?

a)

12-15V

b)

3-5V

c)

5-9V

d)

7-12V

12.

What does the delay() function do in an Arduino sketch?

a)

Reads input from a sensor

b)

Writes output to a pin

c)

Resets the Arduino board

d)

Pauses the program for a specified time

13.

Which of the following is a common error when uploading a sketch?

a)

Using the wrong programming language

b)

Not selecting the correct serial port

c)

Not having enough memory

d)

Using an outdated IDE

14.

What is the purpose of comments in Arduino code?

a)

To execute code faster

b)

To increase memory usage

c)

To explain the code for better understanding

d)

To create errors intentionally

15.

Which Arduino board is recommended for beginners?

a)

Arduino Mega

b)

Arduino Due

c)

Arduino Uno

d)

Arduino Nano

16.

What is the maximum voltage that can be applied to the input pins of an Arduino board?

a)

5V

b)

12V

c)

20V

d)

15V

17.

Which programming language is primarily used for writing Arduino sketches?

a)

Python

b)

C++

c)

Java

d)

JavaScript

18.

What is the purpose of the Serial.begin() function in Arduino?

a)

To initialize the serial communication

b)

To read data from a sensor

c)

To write data to a pin

d)

To reset the Arduino board

19.

What is the function of the analogRead() function in Arduino?

a)

To write a value to a pin

b)

To read the value from an analog pin

c)

To configure a pin as input or output

d)

To delay the program execution

20.

Which Arduino board has the highest number of I/O pins?

a)

Arduino Uno

b)

Arduino Mega

c)

Arduino Nano

d)

Arduino Due

21.

What is the purpose of the digitalWrite() function in Arduino?

a)

To read the value from a digital pin

b)

To write a HIGH or LOW value to a digital pin

c)

To configure a pin as input or output

d)

To initialize the serial communication

22.

What is the purpose of the analogWrite() function in Arduino?

a)

To read a value from an analog pin

b)

To write a PWM value to a pin

c)

To configure a pin as input

d)

To delay the program execution

23.

What is the maximum current that can be drawn from a single I/O pin on an Arduino?

a)

20 mA

b)

40 mA

c)

10 mA

d)

50 mA

24.

Which function is used to read the state of a digital pin in Arduino?

a)

digitalRead()

b)

analogRead()

c)

pinMode()

d)

digitalWrite()

25.

What is the purpose of the setup() function in an Arduino sketch?

a)

To initialize variables and settings

b)

To read input from sensors

c)

To execute the main program loop

d)

To upload new sketches

26.

Which of the following is a common use for the Arduino board?

a)

Building a web server

b)

Creating a simple LED blink program

c)

Developing mobile applications

d)

Designing high-performance gaming PCs

27.

What is the function of the loop() function in an Arduino sketch?

a)

To run code once at the start

b)

To continuously execute code

c)

To configure pin modes

d)

To read data from the serial port

28.

What is the function of the analogRead() function in Arduino?

a)

To write a PWM value to a pin

b)

To read a value from an analog pin

c)

To configure a pin as output

d)

To initialize the serial communication

29.

What is the purpose of the Serial.print() function in Arduino?

a)

To read data from a sensor

b)

To send data to the serial monitor

c)

To write a value to a pin

d)

To configure a pin as input

30.

Which of the following is a common sensor used with Arduino?

a)

Temperature Sensor

b)

Graphics Card

c)

Hard Drive

d)

Monitor