Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

MULTIPLE CHOICE Choose the one alternative that best completes the statement or

ID: 3349237 • Letter: M

Question

MULTIPLE CHOICE Choose the one alternative that best completes the statement or answers the question 1) Where does the Arduino store its program (sketch)? A) on-board ROM B) external flash C) EEPROM D) on-board SRAM 2) Whidh of the following is used as a basic data type for number storage using one bytes? A) in B) boolean C) float D) byte 3) Long variables reguire how much memory? B) 32 bytes A) 4 bits C) 4 byes D) 1 byte 5 What is the duty cycle of the PWM output for the following A)29% B)50% C)75% D) 128% what is used to configure a digital pin? B) pinmodel) C) alamode D) both A and B 6 Whlidh of the fillowing io a valid use of the string object? A) sringrH B) stringf) C) string31) D) all are valid how many times does the setup function run after each power up of the Arduino? A) once C)-2 is on average B) at the beginning of each loop) D) none of the above 8) What does the "if statement seguire B) condition D) then Wiich allws for multiple tests to be preformed? 4) it B) else if C) if wlo D) else analogReadOhas#ount value of 512 what lothr voltage value at thr A/D pin? A) 375 v 10) 8) 125V 0)25V D) 40 v )-in device ised to commnicate with the Arduino? 1)Wich o thoi ond to end dets to the serial monitor 13) Whst is one way to deternsii th is floating point ys an inleget A) uglond B) serial monitor D) all are valid methods C) keyboand A) prin A) the oon on C) monitor) D) both A and B ) prindn C) decimal point D) none of the above B)higher off lin 4-1

Explanation / Answer

1.B) External Flash (program space) is where the aurdino sketch is stored.

2.D) Byte Byte is a data type with size 1byte.

3.C) Usually a Long data type is 4bytes.

4.B) Duty cycle of a PWM output varies from 0-255. For 128,it is 50% Duty cycle

5.A) pinMode(pin,Input), It will set pin to Input

6.A) string("Hi")

7.A) The setup function will only run once, after each power up or reset of the board.

8.B) if statement requires condition.

9.B) else if performs multiple tests.

10.C) (512/1024)*5=2.5V.

11.B) Serial monitor

12.D) Both of them can be used.

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote