
Understanding Python Comments

Quiz
•
Computers
•
7th Grade
•
Medium
Rashad Robinson
Used 4+ times
FREE Resource
9 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the purpose of adding comments in your code?
To make the code run faster
To add notes or explanations for yourself or others
To increase the file size
To confuse other programmers
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The ________ is the software that displays web pages.
Google Chrome
Web Browser
Gmail
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why might you add a comment to your code?
To make the code look more colorful
To explain what needs to be coded next
To hide errors in the code
To make the code harder to read
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which of the following is a correct way to write a comment in Python?
// This is a comment
/* This is a comment */
# This is a comment
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one benefit that is provided by CodeTrek in CodeSpace? (Mission 2, Objective 7)
Detailed information about lines of code you need to write.
Write clear and concise comments
Avoid using comments altogether
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the best way to run your code? (Mission 2, Objective 8)
Using the "Run" button that's in the image.
Code Editor
Text Editor
Mission Bar
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The CodeX has four ______ LEDs along the top edge of the Code-X that uses which three colors? (Mission 3, Objective 1)
Red, Green, Blue
Red, Green, Brown
Red, White, Blue
Yellow, Orange, Black
8.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the two commands that are used to Clear our Code X device? (Hint: It's on Monday's handout)
from codex import *
display.fill (BLACK)
from codex import *
CLEAR
from codex import *
display.show(pics.HAPPY)
from codex import *
pixels.set (0, RED)
9.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the difference between the text editor and the digital textbook in Codespace?
The digital textbook provides instructions throughout the mission. The text editor is where users type their code.
The textbook works just like our math book. The Text Editor colors the text.
Similar Resources on Wayground
14 questions
Python Syntax

Quiz
•
6th - 12th Grade
11 questions
Micro:bit

Quiz
•
7th - 10th Grade
10 questions
GCSE J277 - Languages and IDEs Keyword Quiz

Quiz
•
7th Grade
10 questions
Scratch Lesson 1

Quiz
•
7th Grade
11 questions
Quiz#2

Quiz
•
6th - 8th Grade
10 questions
3.4 Microbit RETRIEVAL PRACTICE

Quiz
•
6th - 9th Grade
10 questions
Intro to Python

Quiz
•
KG - University
12 questions
Intro to Small Basic

Quiz
•
7th - 9th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th 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
18 questions
Company Logos

Quiz
•
6th - 8th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
16 questions
Clovis Unified Student Use of Technology

Quiz
•
4th - 8th Grade
11 questions
Technology Acceptable Use

Quiz
•
6th - 8th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
15 questions
Student Technology Agreement

Quiz
•
6th - 8th Grade
10 questions
Acceptable Use of Technology

Quiz
•
7th - 8th Grade