3 Ways to Comment Out Code In Arduino

Interactive Video
•
Engineering
•
University
•
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
Similar Resources on Wayground
11 questions
Tone Library Continued: Arduino Course 6.6

Interactive video
•
University
4 questions
Tutorial 04: Understanding Arduino Syntax: Arduino Course for Absolute Beginners (ReM)

Interactive video
•
University
2 questions
Python 3 for Beginners: Comments in Python - Documenting Your Code

Interactive video
•
University
8 questions
Tutorial 04: Understanding Arduino Syntax: Arduino Course for Absolute Beginners (ReM)

Interactive video
•
University
8 questions
Learn and Master C Programming - Using '#define' To Define Symbolic Constants

Interactive video
•
University
2 questions
Bash Shell Scripting- Writing Comments for a Shell Script

Interactive video
•
University
5 questions
Tone Library Continued: Arduino Course 6.6

Interactive video
•
University
6 questions
Learn and Master C Programming - #error' preprocessor directive

Interactive video
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
36 questions
Unit 5 Key Terms

Quiz
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
15 questions
Properties of Equality

Quiz
•
8th Grade - University
38 questions
WH - Unit 3 Exam Review*

Quiz
•
10th Grade - University
21 questions
Advise vs. Advice

Quiz
•
6th Grade - University
12 questions
Reading a ruler!

Quiz
•
9th Grade - University