

MCQOPTIONS
Saved Bookmarks
This section includes 4 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 difference between the INPUT and INPUT_PULLUP arguments in the pinMode() function? |
A. | They are both the same |
B. | INPUT supports only analog voltages while INPUT_PULLUP supports only digital voltage readings |
C. | INPUT takes the default reading as 0 while INPUT_PULLUP takes default reading as 1023 |
D. | INPUT takes the default reading as 1023 while INPUT_PULLUP takes the default reading as 0 |
Answer» D. INPUT takes the default reading as 1023 while INPUT_PULLUP takes the default reading as 0 | |
2. |
What are the voltage levels that can be detected if a pin is set to OUTPUT using the pinMode() method and the analogRead() method is used, in the Arduino Uno? |
A. | 0 and 5V |
B. | 0 to 5.1V |
C. | 0 to 5V |
D. | 0 to 10V |
Answer» D. 0 to 10V | |
3. |
What are the two modes that the pinMode() method sets for a particular pin? |
A. | DIGITAL and ANALOG |
B. | INPUT and OUTPUT |
C. | TX and RX |
D. | READ and WRITE |
Answer» C. TX and RX | |
4. |
What type of signal does the analogWrite() method generate when a pin is set to OUTPUT mode? |
A. | Digital Signal |
B. | Pulse Code Modulated Signal |
C. | Pulse amplitude Modulated Signal |
D. | Pulse Width Modulated Signal |
Answer» E. | |