MCQOPTIONS
Saved Bookmarks
This section includes 5 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 times can a variable declared const be fed a value in any program? |
| A. | 1 |
| B. | 26 |
| C. | 30 |
| D. | 0 |
| Answer» B. 26 | |
| 2. |
Which of the sizes of data given below require us to shut off all interrupts while inputting them into a volatile variable? |
| A. | 1 bit |
| B. | 2 bit |
| C. | 2 bytes |
| D. | 0.5 bytes |
| Answer» D. 0.5 bytes | |
| 3. |
From which memory does the compiler revert to if a variable is declared volatile? |
| A. | RAM |
| B. | Storage Register |
| C. | ROM |
| D. | EEPROM |
| Answer» B. Storage Register | |
| 4. |
If a program has 4 functions then will all of them be able to access the data held by a global variable? |
| A. | Yes |
| B. | No |
| Answer» B. No | |
| 5. |
What functions are a static variable visible to? |
| A. | Only Static Functions |
| B. | All Types of Functions |
| C. | Only Functions with a return type |
| D. | Only Non Static Functions |
| Answer» B. All Types of Functions | |