Question: 1 3 . Given an array int ( operatorname { arr } [ 3 ] = { 1 0 , 2 0

13. Given an array int \(\operatorname{arr}[3]=\{10,20,30\}\); what value does \(\operatorname{arr}[1]\) hold?
- A)10
- B)20
- C)30
- D)0
14. Which function is used to include an external library in an Arduino sketch?
- A)\#include
- B) import
- C) load
- D) use
15. What is the purpose of the Servo library in Arduino?
- A) To read sensor data
- B) To control servo motors
- C) To manage digital input/output pins
- D) To handle interrupts
16. Which command will install a new library using the Arduino IDE?
- A) Tools > Add Library
- B) Sketch \(>\) Include Library \(>\) Manage Libraries
- C) File \(>\) Import Library
- D) Edit \(>\) Add Library
17. Which function is used to attach an interrupt to a digital pin in Arduino?
- A) attachInterrupt (pin, function, mode)
- B) interrupt (pin, function, mode)
- C) enableInterrupt (pin, function)
- D) pinInterrupt (pin, function, mode)
18. Which of the following is a valid interrupt mode in Arduino?
- A) Low
- B) HIGH
- C) change
- D) UP
1 3 . Given an array int \ ( \ operatorname { arr

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!