Comments documentation coding

Comments documentation coding

9th - 12th Grade

8 Qs

quiz-placeholder

Similar activities

Abhyudaya coding class -  Grade 7

Abhyudaya coding class - Grade 7

6th Grade - University

10 Qs

NHTW Programming

NHTW Programming

9th Grade

10 Qs

Scratch!

Scratch!

4th Grade - Professional Development

8 Qs

Internet Technologies

Internet Technologies

12th Grade

10 Qs

ICT_LU3-Computer Software_League2

ICT_LU3-Computer Software_League2

10th - 12th Grade

10 Qs

Create a Website 1

Create a Website 1

KG - University

10 Qs

Computer safety

Computer safety

6th - 9th Grade

10 Qs

Wee Word Intro

Wee Word Intro

7th - 12th Grade

12 Qs

Comments documentation coding

Comments documentation coding

Assessment

Quiz

Computers

9th - 12th Grade

Medium

Created by

Joe Rowe

Used 2+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

When creating a program, how does the use of comments help a computer scientist debug problems?

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

Media Image

What did the grey hair person put in their code?
This explains the finished project.
The answer is: comments

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?