1. Which of these can an Arduino NOT be used for? (2pts) controlling servos b. a
ID: 2265833 • Letter: 1
Question
1. Which of these can an Arduino NOT be used for? (2pts) controlling servos b. a. displaying analog inputs building robots d. c. an Arduino can be used to do all of these 2. What are the Arduino's two main program structures? (2pts) setup and loop a. b. main and setup c. d. loop and main int and setup 3. How many analog ports does an Arduino have? (2pts) a. five, and they are labeled Al-A5 vb. six, and they are labeled A0-A5 c. six, and they are labeled Al-A6 d. five, and they are labeled A0-A4 4. Which of these is a digital input device? (2pts) a. pressure sensor b. servo c. button d. potentiometer 5. Which of these is an analog input device? (2pts) a. pressure sensor b. servo c. button d. LED 6. Which of these is an output device? (2pts) a. pressure sensor b. servo c. button d. potentiometer 7. What command would you use to tell the Arduino that port 9 is an output port? (2pts) a. int sensorPin 9; b. int sensorvalue 9; c. digitalWrite(9, HIGH); d. pinMode(9, OUTPUT); 8. What command would you use to light up an LED on port 5? (2pts) a. int sensorPin = A0; b. int sensorvalue = 0; c. digitalwrite(5, HIGH); d. pinMode(5, OUTPUT); 9. How would you pause a program for 2.5 seconds? (2pts) a. delay (2500) b. int sensorValue = 0; c. delay(2.5); d. pinMode(ledPin, OUTPUT);
Explanation / Answer
ans of Q. No. 1 (D) but Arduino is used for building robots also and dont mean that robot were always big automatic machine
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.