What is the primary difference between a microprocessor and a microcontroller?
a. Microcontrollers have more processing power.
b. Microcontrollers have built-in memory and peripherals.
c. Microprocessors are typically used in embedded systems.
d. Microprocessors are larger in physical size.
b. Microcontrollers have built-in memory and peripherals.
Which microcontroller is commonly used in Arduino boards?
a. PIC16F877A
b. ATmega328
c. Raspberry Pi
d. ESP8266
b. ATmega328
What is the architecture of the ATmega328 microcontroller used in Arduino Uno?
a. 16-bit architecture
b. 32-bit architecture
c. 8-bit architecture
d. 64-bit architecture
c. 8-bit architecture
How many bits is the ATmega328 microcontroller?
a. 4 bits
b. 8 bits
c. 16 bits
d. 32 bits
b. 8 bits
Which tool is commonly used for programming Arduino boards?
a. Raspberry Pi
b. Arduino IDE
c. Python
d. Java
b. Arduino IDE
What is the primary function of the Arduino IDE?
a. To program Android apps
b. To program Arduino boards
c. To design graphics
d. To create web applications
b. To program Arduino boards
What is Tinkercad primarily used for in the context of Arduino?
a. 3D printing
b. Arduino simulation and circuit design
c. Mechanical engineering design
d. Robotics programming
b. Arduino simulation and circuit design
Which of the following is not a basic component of Arduino programming?
a. Structures
b. Variables
c. Constants
d. Operating System
d. Operating System
In Arduino programming, which data type is used to represent whole numbers?
a. float
b. char
c. int
d. bool
c. int
Which Arduino function is used to control digital output pins?
a. digitalWrite()
b. digitalRead()
c. analogWrite()
d. analogRead()
a. digitalWrite()
Which keyword is used in Arduino programming to define a constant?
a. const
b. constant
c. def
d. define
a. const
What does the "void loop()" function in Arduino code represent?
a. Setup function
b. Main execution loop
c. Initialization of variables
d. Condition checking loop
b. Main execution loop
In Arduino programming, what is the function of the "delay()" function?
a. To stop the program
b. To pause execution for a specified time
c. To skip a loop
d. To increase the program speed
b. To pause execution for a specified time
Which Arduino board is often used for IoT (Internet of Things) projects due to its built-in Wi-Fi capability?
a. Arduino Uno
b. Arduino Mega
c. Arduino Due
d. NodeMCU
d. NodeMCU
What is the maximum number of analog pins available on an Arduino Uno board?
a. 4
b. 6
c. 8
d. 10
b. 6
Which Arduino function is used to read the state of a digital input pin?
a. digitalWrite()
b. digitalRead()
c. analogWrite()
d. analogRead()
b. digitalRead()
What is the purpose of the "analogWrite()" function in Arduino programming?
a. To read analog values
b. To write digital values
c. To generate PWM signals on a pin
d. To control the serial communication speed
c. To generate PWM signals on a pin
In Arduino, which function is used to send data over serial communication?
a. print()
b. read()
c. display()
d. scan()
a. print()
In Arduino, how is a comment line indicated?
a. // This is a comment
b. This is a comment
c. "This is a comment"
d. /* This is a comment */
a. // This is a comment
What does the "serial.begin()" function do in Arduino programming?
a. Initiates a phone call
b. Initializes serial communication with a specified baud rate
c. Begins a loop
d. Stops the program
b. Initializes serial communication with a specified baud rate
Smallest change which a sensor can detect is ____________
a) Resolution
b) Accuracy
c) Precision
d) Scale
b) Accuracy
Sensor is a type of transducer.
a) True
b) False
a) True
Arduino shields are also called as ________
A) Extra peripherals
B) Add on modules
C) Connectivity modules
D) Another Arduinos
B) Add on modules
Which is the software or a programming language used for controlling of Arduino?
A) Assembly Language
B) C Languages
C) JAVA
D) Any Language
B) C Languages
How many digital pins are there on the UNO board?
A) 14
B) 12
C) 16
D) 20
A) 14