Comments documentation coding

Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Joe Rowe
Used 2+ times
FREE Resource
8 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
// Why add comments to code?
// more than one is true!
retain the code tips for yourself
explain code to others
disable code for a moment of problem solving
All true:
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Syntax: Leave a comment in code by starting the line with _____
//
blanks
indent
$
3.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Programmers use comments to:
debug issues in code
document how code was written for other programmers to use
decide which components are important to use
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
An advantage to using comments in your code is:
It makes your code run better
It runs the code in slow motion, step by step
it describes parts of your code so others can understand it or improve it
comments are necessary in order to call a function
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Comments show the exact location of bugs.
Comments are optional
Comments can disable code temporarily.
// comment
var x = 0;
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Form of program documentation written into the program to be read by people.
Comment
Documentation
Input
Output
7.
FILL IN THE BLANK QUESTION
1 min • 1 pt
What did the grey hair person put in their code?
This explains the finished project.
The answer is: comments
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Giving variables clear names creates code that documents what is happening and helps other programmers understand your code
False
True
Decoy
do not click me
Similar Resources on Wayground
10 questions
S3 SDD Unit 2 - 6. Evaluation

Quiz
•
9th Grade
10 questions
Python Basics

Quiz
•
8th - 10th Grade
10 questions
Evolution of Computer Programming

Quiz
•
10th Grade
13 questions
App design

Quiz
•
12th Grade
10 questions
CS II Honors NEGH

Quiz
•
12th Grade
6 questions
50. Programming 1 : Meaningful identifiers

Quiz
•
9th Grade
10 questions
SOAL CODING DMI SEM 2

Quiz
•
9th - 12th Grade
10 questions
Unit 3 Vocabulary

Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World

Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
20 questions
ELA Advisory Review

Quiz
•
7th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns

Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
30 questions
Computer Terminology Exercise #1 ( Fill Ins)

Quiz
•
9th Grade
15 questions
MLA Formatting

Quiz
•
9th Grade
20 questions
Typing Practice

Quiz
•
7th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
20 questions
Google Sheets Quiz

Quiz
•
9th Grade