1 Flashcards

1
Q

What does Arduino primarily serve as?

A

A microcontroller platform for building digital devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

True or False: Arduino can only be programmed in C++.

A

False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Fill in the blank: The main programming environment for Arduino is called the __________.

A

Arduino IDE.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the function of the setup() method in Arduino programming?

A

It initializes variables and settings before the main loop runs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What type of board is an Arduino Uno?

A

A microcontroller board based on the ATmega328P.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following is NOT an Arduino board? (A) Arduino Mega (B) Arduino Nano (C) Arduino Raspberry

A

Arduino Raspberry.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

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

A

It contains the code that runs repeatedly after setup().

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

True or False: Arduino boards can only be powered via USB.

A

False.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What does PWM stand for in Arduino?

A

Pulse Width Modulation.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Fill in the blank: Digital pins on an Arduino can be set to either HIGH or __________.

A

LOW.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the typical voltage range for an Arduino board?

A

5V to 12V.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the purpose of a resistor in an Arduino circuit?

A

To limit the current flowing through the circuit.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

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

A

digitalRead().

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

True or False: You can connect multiple sensors to the same Arduino board.

A

True.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What communication protocol is often used for Arduino to communicate with other devices?

A

I2C.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Fill in the blank: The Arduino board can be connected to a computer using a __________ cable.

17
Q

What does the term ‘sketch’ refer to in Arduino programming?

A

A program written for Arduino.

18
Q

Which library would you include to use an LCD display with Arduino?

A

LiquidCrystal.

19
Q

True or False: Arduino sketches must end with a semicolon.

20
Q

What is the primary function of the analogRead() function?

A

To read the value from an analog pin.

21
Q

What is the maximum number of digital pins on an Arduino Uno?

22
Q

Fill in the blank: The Arduino community provides a platform for sharing __________ and projects.

23
Q

True or False: You can use Arduino to control motors.

24
Q

What is a common use for the Arduino Ethernet Shield?

A

To connect Arduino to the internet.

25
Q

What does the term ‘shield’ refer to in the context of Arduino?

A

A board that can be plugged on top of an Arduino to add functionality.

26
Q

Which function is used to delay the execution of code in Arduino?

27
Q

What is the purpose of the ‘void’ keyword in Arduino functions?

A

It indicates that the function does not return a value.