Quiz on Arduino If-Else Statement



1. What is the purpose of the if-else statement in Arduino?
2. Which keyword is used to start an if statement in Arduino?
3. What is the result if the condition in an if statement evaluates to false?
4. Which symbol is used to compare equality in an if condition?
5. What will happen if you omit the else block in an if-else statement?

Advertisements