10 Questions
True or false: Any line in a program starting with // is meant to be read by the user only and is ignored by the Arduino?
True
True or false: The code between the curly brackets, {}, will run once when the program starts?
True
True or false: The open curly bracket, {, begins the setup code?
True
True or false: The loop() statement will run once the Arduino is powered on and then repeat until it is powered off?
True
True or false: The statement 'This tells the Arduino to set led' is incomplete in the given text?
True
True or false: The mention of 'led' in the sketch will refer to pin 13?
True
True or false: The setup code will run once when the program starts?
True
True or false: The code 'This tells the Arduino that pin 13 is an output pin' indicates that pin 13 is an input pin?
False
True or false: The loop() statement will repeat until the Arduino is powered off?
True
True or false: The code 'This is a comment' is meant to be read by the Arduino?
False
Test your knowledge of Arduino programming by identifying different components and functions in a given sketch. This quiz will help you understand how to create comments, and learn about the importance of commenting in your code.
Make Your Own Quizzes and Flashcards
Convert your notes into interactive study material.
Get started for free