CMU CS Academy BUGS!

CMU CS Academy BUGS!

9th - 12th Grade

9 Qs

quiz-placeholder

Similar activities

Network Security

Network Security

9th - 11th Grade

10 Qs

What is a program slides(6:16)

What is a program slides(6:16)

8th - 12th Grade

10 Qs

Basic Printf

Basic Printf

1st - 10th Grade

10 Qs

Y10 Spring Programming Audit

Y10 Spring Programming Audit

8th - 10th Grade

13 Qs

Y9 representation 3 lower

Y9 representation 3 lower

9th Grade

10 Qs

Banco de Dados - Tipos de dados Numéricos

Banco de Dados - Tipos de dados Numéricos

11th Grade

10 Qs

การเขียนโปรแกรม scratch

การเขียนโปรแกรม scratch

9th Grade

10 Qs

Scratch

Scratch

KG - Professional Development

10 Qs

CMU CS Academy BUGS!

CMU CS Academy BUGS!

Assessment

Quiz

Computers

9th - 12th Grade

Practice Problem

Easy

Created by

Maria Cruz Farooqi

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

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

9 questions

Show all answers

1.

WORD CLOUD QUESTION

3 mins • Ungraded

What is a bug?

2.

DROPDOWN QUESTION

1 min • 1 pt

Media Image

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.

code
bug
computer

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.

Python
parenthesis
nothing
find and fix

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.

runtime
rectangle
code
can not
crashes

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

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?