Lo2 part 1

A user has connected the below circuit. What is wrong with the circuit connected to pin D2?
A. There is no current limiting resistor for the LED.
B. The LED is inserted backwards
C. Pin D2 may not be used to drive LEDs.
D. You should not use an orange wire to connect a red LED.
An Arduino programmer wants to compute the average of 5 analog input readings. He or She produces the code shown below. Assume that this code snippet is part of the loop function and that all other necessary parts of an Arduino sketch are included in the code that is not shown. Which of the following choices best describes the code?
A. This code snippet contains an error, and will not compile.
B. The code snippet compiles, but the loop counter I does not function correctly.
C. The code snippet compiles and the sketch runs but gives an incorrect result because the voltage range of the input is not included in the computation of ave.
The DC power plug allows power to be supplied to an Arduino Uno when it is not connected to a computer. The power plug can accept
a. only 5VDC
B. any DC voltage in the range of 7 to 12 VDC
C. any DC voltage in the range of 5 to 9 VDC
D. only 9 VDC
Which of the following variable types is NOT recognized by the Arduino?
A. float
D. All of these variable types are recognized by the Arduino
b. int
C. long
What does the following box denote?
A. Decision
B. Initiation
c. Initialization
d. I/O
Actual instructions in flowcharting are represented in __________
a. circles
B. boxes
c. arrows
D. lines
The symbol denotes _______.
a. I/O
D. decision
C. Terminal start and end
B. flow
For the following flowchart structure, ___________________________
A. If the condition is true Task-A is evaluated and if it is false, then Task-B is evaluated.
B. Neither Task-A nor Task-B will be evaluated
C. Task-B will be evaluated all the time
D. None of the mentioned.
The following flowchart ______________________________________
a. Find the factorial of 10 numbers that are entered by the user.
D. None of the mentioned.
B. Determine and Output Whether Number N is Even or Odd
c. Find the sum of the numbers between 1 and 100.
Flowcharts are used to______________
a. Obtain a graphical flow for a certain program before coding
b. Obtain a common understanding of the process among programmers.
c. Identify areas of improvement and enhance program efficiency.
D. All of the mentioned.
What does the below line of code do? analogRead(pin);
A. Reads data from the serial monitor and stores it in the variable temp.
D. None of the mentioned
B. Reads the value from the specified analog pin.
C. This is not a legal statement in the Arduino language
What does the below line of code do? if ( Serial.available()> 0)
A. Reads data from the serial monitor and stores it in the variable temp.
D. None of the above
B. Returns the number of characters (i.e. Bytes of data. That have arrived in the serial buffer.
c. This is not a legal statement in the Arduino language
What does the below line of code do? Int temp = Serial.read();
A. Read data from the serial monitor and stores in the variable temp.
B. Print temp in the serial monitor
c. This is not a legal statement in the Arduino language
d. None of the above
What does the below line of code do? Counter--;
a. Increments counter by an amount that depends on its definition
C.. This is not a legal statement in the Arduino language
B. Subtracts 1 to the variable counter
D. None of the above
Before your program “code” can be sent to the board, it needs to be converted into instructions that the board understands. This process is called_____________.
A- Stop
B. Compile
D. Serial Monitor
C. Create Sketch
It starts with a /* and continues until a */ what does this do?
A. Loads a sketch
D. Makes stars appear
B. Makes comments
C. Compiles quicker
How did you specify the version of the Arduino you are using in the Arduino programming environment?
How did you specify the serial port the Arduino is connected to in the software?
What voltage does the main processor on the Arduino run at? If it draws 10mA, what is the power usage in Watts?
If the value of reading is found to be 859, what is the input voltage of the signal entering the Arduino? Show your work!
{"name":"Lo2 part 1", "url":"https://www.quiz-maker.com/QPREVIEW","txt":"A user has connected the below circuit. What is wrong with the circuit connected to pin D2?, An Arduino programmer wants to compute the average of 5 analog input readings. He or She produces the code shown below. Assume that this code snippet is part of the loop function and that all other necessary parts of an Arduino sketch are included in the code that is not shown. Which of the following choices best describes the code?, The DC power plug allows power to be supplied to an Arduino Uno when it is not connected to a computer. The power plug can accept","img":"https://www.quiz-maker.com/3012/CDN/89-4310007/question-1-2-.jpg?sz=1200-01783000000782805300"}
Make your own Survey
- it's free to start.