Why is it important to add comments to code?
S3 Code Comments & Variables

Passage
•
Computers
•
9th Grade
•
Medium
Martin McCormack
Used 3+ times
FREE Resource
62 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To make the code run faster
To add more lines of code
To improve the readability of code
To change the functionality of the code
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What can happen as programs grow and expand?
They can become easier to read
They require fewer comments
They can become complicated to read
They become shorter
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of comments in code?
To cause errors in the program
To be executed as part of the program
To explain what the program is doing and how it is doing it
To change the flow of the program
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Who benefits from comments in the code?
The computer
The programmer and others reading the code
External devices interacting with the code
The program's execution speed
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is NOT a function of comments in code?
Ignored by the computer
Highlights important sections of code
Can remind the programmer of how their code works
Increases the execution speed of the program
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Where is it considered good practice to insert multi-line comments in a program?
At the bottom of the program
In the middle of the program
At the top of the program
Outside the program file
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What information should multi-line comments contain?
Only the name of the program
Only the author's name and date
The name of the program, author, date, and description of what the program will do
Random notes and reminders
Create a free account and access millions of resources
Similar Resources on Quizizz
62 questions
Computer Science Principles

Quiz
•
9th - 12th Grade
60 questions
QUIZBEE TLE 7 INDUSTRIAL ARTS

Quiz
•
7th Grade - University
64 questions
U1 Fund

Quiz
•
9th - 12th Grade
59 questions
HTML, CSS, and Design

Quiz
•
6th - 12th Grade
60 questions
CSD Unit 3 Review

Quiz
•
9th - 12th Grade
62 questions
CSP CMU Unit 2 - Student Created Questions

Quiz
•
9th - 12th Grade
60 questions
Technology Quiz Bee JHS Department

Quiz
•
9th - 12th Grade
59 questions
ICT Quiz for Grade 9 and 10

Quiz
•
9th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade