

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 do we need to do if we want to run the setup() function in an infinite loop? |
A. | Call the setup() function from a custom named function |
B. | Call the setup() function from a constructor |
C. | Call the setup() function from the loop() function |
D. | Call the setup() function from the destructor |
Answer» D. Call the setup() function from the destructor | |
2. |
Is it syntactically correct to write the loop() function over the setup() function while writing an Arduino program? |
A. | No, it is not syntactically correct |
B. | Yes, it is syntactically correct but will result in the loop() method executing first |
C. | Yes, it is syntactically correct and the setup() function will execute first |
D. | It is syntactically correct but logically wrong |
Answer» D. It is syntactically correct but logically wrong | |
3. |
Can the setup() function change the value of constant variables? |
A. | Yes, it can change |
B. | No, it cannot change |
C. | Yes, it can change but only integer values |
D. | Yes, it can change but only byte values |
Answer» C. Yes, it can change but only integer values | |
4. |
How many times does the setup() function run on every startup of the Arduino System? |
A. | 1 |
B. | 2 |
C. | 3 |
D. | 4 |
Answer» B. 2 | |