CMU CS Academy BUGS!

Quiz
•
Computers
•
9th - 12th Grade
•
Easy
Maria Cruz Farooqi
Used 1+ times
FREE Resource
9 questions
Show all answers
1.
WORD CLOUD QUESTION
3 mins • Ungraded
What is a bug?
2.
DROPDOWN QUESTION
1 min • 1 pt
Sometimes (a) does not work fine. When code does not work, we say it has a (b) . The reason that we call it a bug is that supposedly, a long time ago and actual bug crawled into a (c) and caused it not to work. And for that reason, we still call it a bug today.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is one kind of bug explained in the video?
Careless
Typo
Syntax Error
Runtime Error
4.
DROPDOWN QUESTION
1 min • 1 pt
A syntax error is when you are not following the rules of (a) . (In the previous video) Python says you must have a closing (b) to match the open one, and if you don't, you have a syntax error. Notice how (c) gets drawn at all even though there is nothing wrong with the lines before the error. That is because when you have a syntax error, Python will not run your code at all until you (d) your bug.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is another type of error according to the video?
Syntax Error
Spelling Error
Runtime Error
Division by zero Error
6.
DRAG AND DROP QUESTION
1 min • 1 pt
Another type of error is a (a) error. Notice that the first (b) did get drawn. That is because this is valid Python (c) so it's not a syntax error. But once it gets to line 5, when Python tries to draw our second rectangle, it (d) divide by 0. So the program stops running, it crashes. A runtime error is when your code runs but (e) while it is running.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
The third type of error that is shown in the video is?
Logical Error
Runtime Error
Syntax Error
Code Error
8.
DROPDOWN QUESTION
1 min • 1 pt
From the video in the previous question we get that it is not a syntax error because: (a) . It is not a runtime error because: (b) . But it is still an error because (c)
9.
MATCH QUESTION
1 min • 1 pt
Match the following
Runtime Error
Syntax Error
Logical Error
Similar Resources on Wayground
10 questions
Python

Quiz
•
10th - 11th Grade
9 questions
Testing

Quiz
•
9th - 11th Grade
8 questions
9.2 Physical computing Lesson 2 starter

Quiz
•
9th Grade
10 questions
KS3 GCSE Computer Science (Programming / Python)

Quiz
•
7th - 11th Grade
8 questions
Debugging Python

Quiz
•
9th - 12th Grade
10 questions
Errors in Programming

Quiz
•
9th Grade
10 questions
Gr10B Semester2

Quiz
•
10th Grade
14 questions
year 8 lesson 2 quiz - python

Quiz
•
8th - 10th Grade
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
Discover more resources for Computers
50 questions
Trivia 7/25

Quiz
•
12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade
6 questions
RL.10.1 Cite Evidence

Quiz
•
10th Grade
10 questions
Characteristics of Life

Quiz
•
9th - 10th Grade
14 questions
Algebra 1 SOL Review #1

Quiz
•
9th Grade