Why do we put a comment at the beginning of each program?
Python - Objective 1.1

Quiz
•
Computers
•
7th - 8th Grade
•
Hard

Sarah Allott
Used 7+ times
FREE Resource
11 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
To print out the name of the program.
It won't work without one.
This program doesn't have a comment at the beginning.
So that we know what the program does.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the structure called OutputText()?
Brackets.
A subroutine.
A variable.
A comment.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What line number (look on the very right of the code) does the program start on?
1
4
5
8
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the names of the two variables in this program?
Discount and Total
Rate and Discount
Total and Rate
Rate and return
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of Rate?
50
60
0.5
60, 50
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is this program for?
To calculate the flow rate of the heart
To calculate how much blood is in the heart
To calculate the age of a person
To calculate the volume of a cuboid
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the name of the subroutine?
Volume
Time
Heart
FlowRate
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
Programming Essentials Revision

Quiz
•
6th - 8th Grade
10 questions
Flowcharting

Quiz
•
6th - 11th Grade
16 questions
algorithms and programming

Quiz
•
8th - 10th Grade
8 questions
Small Basic Mid Point Review

Quiz
•
6th - 12th Grade
15 questions
Algorithms

Quiz
•
8th - 10th Grade
16 questions
Programming Intro YR10

Quiz
•
7th - 8th Grade
16 questions
Code.org Discoveries Unit 3

Quiz
•
7th - 10th Grade
15 questions
Snap! Computer Programming Quiz

Quiz
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
11 questions
Decimal/fraction conversions quick check

Quiz
•
5th - 7th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade