MCQOPTIONS
Saved Bookmarks
This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Arduino knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
How many pins are available for interrupt functions in the Arduino Uno? |
| A. | No pins |
| B. | All pins except pin 2 and 3 |
| C. | Only pin 2 |
| D. | Only pins 2 and 3 |
| Answer» C. Only pin 2 | |
| 2. |
How many pins are available for interrupt functions in the Arduino Zero? |
| A. | No pins |
| B. | All pins except pin 4 |
| C. | Only pin 4 |
| D. | Only pin 3 |
| Answer» C. Only pin 4 | |
| 3. |
What is the use of the detachInterrupt() function? |
| A. | To turn off interrupt |
| B. | To turn on interrupt |
| C. | To disable interrupt functions for the remaining ON time. |
| D. | To turn off the Arduino |
| Answer» B. To turn on interrupt | |
| 4. |
What is the use of the interrupt mode? |
| A. | Decides which type of transition to trigger on |
| B. | Decides when to turn off interrupts |
| C. | Decides which pin to turn off |
| D. | Decides when to turn off the Arduino Board |
| Answer» B. Decides when to turn off interrupts | |
| 5. |
When does the Interrupt Handler execute it’s assigned code? |
| A. | After all the codes executed in the program |
| B. | Before any code is executed in the program |
| C. | Blocks the code from getting executed at any time in the program |
| D. | When the interrupt is in effect |
| Answer» E. | |
| 6. |
What is the use of pin change interrupts? |
| A. | To change pins during interrupts |
| B. | To use more pins for interrupts |
| C. | To disable pin usage during interrupts |
| D. | To enable pin usage during interrupts |
| Answer» C. To disable pin usage during interrupts | |
| 7. |
Will the delay() function work inside an interrupt routine? |
| A. | Yes |
| B. | No |
| Answer» C. | |
| 8. |
What is the use of the attachInterrupt() function? |
| A. | To enable ISR usage |
| B. | To enable ISR usage, but only on certain Arduino Boards |
| C. | To decommission ISR usage for a particular Arduino Board |
| D. | To translate pin numbers |
| Answer» B. To enable ISR usage, but only on certain Arduino Boards | |
| 9. |
What is the use of the digitalPinToInterrupt() function? |
| A. | To create an Interrupt Object |
| B. | To delete an Interrupt Object |
| C. | To map the Arduino Pin to the Interrupt pin |
| D. | To invoke the Interrupt Service Routine |
| Answer» D. To invoke the Interrupt Service Routine | |
| 10. |
What is the use of the Interrupt Service Routine in an Arduino? |
| A. | To automate functions |
| B. | To boot up the arduino |
| C. | To make more memory |
| D. | To exit any code that is running |
| Answer» B. To boot up the arduino | |