
3 Ways to Comment Out Code In Arduino
Interactive Video
•
Engineering
•
University
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Read more
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the main purpose of commenting out code in Arduino programs?
To temporarily disable code
To change the color of the code
To permanently delete code
To highlight important code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which symbol is used for single-line comments in Arduino?
//
/*
#
--
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the keyboard shortcut for commenting out a line of code on a Mac?
Alt + /
Command + /
Ctrl + /
Shift + /
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do you start a multiline comment in Arduino?
#
--
//
/*
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why can't the keyboard shortcut be used to uncomment multiline comments?
It adds more comments instead
It only works for single-line comments
It deletes the code
It changes the code color
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What symbol is used to start a preprocessor directive in Arduino?
//
/*
#
--
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What value should be used in a preprocessor directive to exclude code?
True
False
0
1
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?