Explore topic-wise MCQs in Arduino.

This section includes 8 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 is the return type of the pulseIn() function?

A. null
B. signed byte
C. unsigned long
D. unsigned int
Answer» D. unsigned int
2.

What is the return type for the shiftOut() function?

A. double
B. null
C. long
D. int
Answer» C. long
3.

How many arguments does the shiftOut() function require?

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

How many tone() functions can be invoked to run simultaneously on an Arduino Board?

A. As many pins are present
B. Infinite number
C. Only one
D. Depending on the number of timers present
Answer» D. Depending on the number of timers present
5.

Can the tone() and noTone() functions be used for digital communications?

A. No, they cannot be used
B. Yes, they can be used but only on certain Arduino Boards
C. Yes, they can be used for all digital pins and Arduino Boards
D. Yes, they can be used but only for certain pins
Answer» D. Yes, they can be used but only for certain pins
6.

What is the use of the MSBFIRST argument in the shiftIn() function?

A. To denote the least significant bit
B. To denote the maximum number of Bits
C. To denote the most significant bit
D. To denote the minimum number of bits
Answer» D. To denote the minimum number of bits
7.

What is the purpose of the tone() function?

A. To generate a sine wave
B. To generate a cosine wave
C. To generate a stable voltage level
D. To generate a square wave
Answer» E.
8.

What is the maximum number of arguments that the pulseIn() function accepts?

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