WorksheetsExploring Arduino Fundamentals
Total questions: 10
Worksheet time: 5mins
What is the primary function of an Arduino board?
To replace traditional computers in all applications.
To act as a power supply for devices.
To serve as a microcontroller platform for building electronic projects.
To serve as a simple calculator for basic math operations.
Which programming language is primarily used for Arduino programming?
JavaScript
C/C++
Java
Python
What is the purpose of the Arduino IDE?
To create 3D models for printing.
To design websites and applications.
The purpose of the Arduino IDE is to facilitate the development and uploading of code to Arduino hardware.
To manage databases and server configurations.
Name one common type of sensor that can be used with Arduino.
DHT11 humidity sensor
MQ-2 gas sensor
HC-SR04 ultrasonic sensor
LM35 temperature sensor
What does PWM stand for in the context of Arduino?
Pulse Width Measurement
Pulse Wave Modulation
Power Width Modulation
Pulse Width Modulation
How do you upload a sketch to an Arduino board?
Connect the Arduino to your computer, select the board and port in the Arduino IDE, and click 'Upload'.
Connect the Arduino to your phone and use the mobile app to upload.
Select the board in the Arduino IDE and click 'Download'.
Upload the sketch via Bluetooth without connecting the Arduino to a computer.
What is a breadboard used for in Arduino projects?
A breadboard is used for storing Arduino code.
A breadboard is used for creating 3D models of circuits.
A breadboard is used for powering Arduino boards only.
A breadboard is used for prototyping and testing circuits in Arduino projects.
Explain the difference between digital and analog pins on an Arduino.
Analog pins only work with digital signals, while digital pins can read voltage levels.
Digital pins handle binary signals (HIGH/LOW), while analog pins read varying voltage levels.
Digital pins can read varying voltage levels, while analog pins handle binary signals.
Both digital and analog pins can only handle binary signals.
What is the function of the 'loop()' function in an Arduino sketch?
The 'loop()' function runs the main code repeatedly in an Arduino sketch.
The 'loop()' function stops the execution of the program.
The 'loop()' function is used to define variables in an Arduino sketch.
The 'loop()' function initializes the Arduino board.
How can you read the value from a temperature sensor using Arduino?
Use 'analogRead(pin)' to read the sensor value and convert it to temperature.
Use 'readTemperature(pin)' to get the temperature value.
Connect the sensor directly to the power supply without reading.
Use 'digitalRead(pin)' to read the sensor value.
