Explore topic-wise MCQs in Arduino.

This section includes 7 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.

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
4.

How many arguments does the analogRead() function have?

A. 1
B. 2
C. 3
D. 4
Answer» B. 2
5.

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.
6.

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
7.

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