Question 10 (1 point) Listen The following image shows a sketch written for a lab similar to Lab 2 that you did involvin

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

Question 10 (1 point) Listen The following image shows a sketch written for a lab similar to Lab 2 that you did involvin

Post by answerhappygod »

Question 10 1 Point Listen The Following Image Shows A Sketch Written For A Lab Similar To Lab 2 That You Did Involvin 1
Question 10 1 Point Listen The Following Image Shows A Sketch Written For A Lab Similar To Lab 2 That You Did Involvin 1 (73.04 KiB) Viewed 52 times
Question 10 1 Point Listen The Following Image Shows A Sketch Written For A Lab Similar To Lab 2 That You Did Involvin 2
Question 10 1 Point Listen The Following Image Shows A Sketch Written For A Lab Similar To Lab 2 That You Did Involvin 2 (42.02 KiB) Viewed 52 times
Question 10 (1 point) Listen The following image shows a sketch written for a lab similar to Lab 2 that you did involving the same type of button. When the simulation begins, if the button is initially un-pressed, and then it is pressed and released. What will happen with the serial monitor immediately after the button is released? const int button Pin = 12; 2 int buttonState - digitalRead buttonFin): int old_buttonstate - buttonstate; void setup 6 pinMode(button Pan, ZNPUT); e Serial.begin(9600); 9 10 void loop 12 13 buttonstate digitalRead(buttonpin) 14 € (buttonState != old_buttonState) 15 16 dal 17 Serial.println("Change"); 20 buttonstate = digitalRead(buttons): 19 1 while button State = old buttonstate) old buttonState = buttonState: 21 24 O It displays "Change" but only twice. It displays "Change" but only once. It displays "Change" and does so repeatedly. It displays nothing
Question 13 (1 point) ✓ Saved Listen If the rest of the sketch is correct, what will we see in the serial monitor when the following portion is executed (assuming there is no outer loop)? for (i = 9; i >= 2; i = 1 - 2) {Serial.print(i): Serial.print(" ");} 09753 097531 753 07532
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply