MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Arduino knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
What happens to the output if the analogReadResolution() function is invoked with a resolution higher than the board’s ADC can physically handle? |
| A. | The output is padded with zeros |
| B. | The output is not obtained as an error is thrown during compile time |
| C. | The output is not obtained as an error is thrown during run time |
| D. | The output is padded with ones |
| Answer» B. The output is not obtained as an error is thrown during compile time | |
| 2. |
On which of the following Arduino Boards does the analogReadResolution() function not work? |
| A. | Arduino Zero |
| B. | Arduino MKR Vidor 4000 |
| C. | Arduino Due |
| D. | Arduino Uno |
| Answer» E. | |
| 3. |
How many errors are present in the code given below if it is made to run on an Arduino Uno? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4View Answer |
| Answer» C. 3 | |
| 4. |
What is the use of the analogReference() function? |
| A. | To change the digital signal reference value |
| B. | To change the analog signal reference value |
| C. | To print the analog signal reference voltage |
| D. | To print the digital signal reference voltage |
| Answer» C. To print the analog signal reference voltage | |
| 5. |
How many arguments does the analogRead() function have? |
| A. | 1 |
| B. | 2 |
| C. | 3 |
| D. | 4 |
| Answer» B. 2 | |
| 6. |
What is the output of the program if the input to pin1 is 3.3V on the Arduino Due? |
| A. | Digital HIGH Detected! |
| B. | Digital LOW Detected! |
| C. | Runtime Error |
| D. | NullView Answer |
| Answer» B. Digital LOW Detected! | |
| 7. |
Can the analogRead() function be used from any digital pin? |
| A. | No, it cannot |
| B. | Yes, it can, but only on certain Arduino Boards |
| C. | Yes, it can |
| D. | Yes, it can, but only through certain pins |
| Answer» E. | |
| 8. |
What is the resolution of analog readings on the Arduino Uno? |
| A. | 5V/1023 |
| B. | 3.3V/1024 |
| C. | 5V/1024 |
| D. | 3.3V/100 |
| Answer» D. 3.3V/100 | |
| 9. |
What type of signal does the analogWrite() function output? |
| A. | Pulse Width Modulated Signal |
| B. | Pulse Code Modulated Signal |
| C. | Pulse Amplitude Modulated Signal |
| D. | Frequency Modulated Signal |
| Answer» B. Pulse Code Modulated Signal | |