Search Header Logo

APCSP 3.7 Debugging

Authored by Teresa Elmore

Computers

9th - 12th Grade

Used 57+ times

APCSP 3.7 Debugging
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

If you want to see each line of code highlighted as your program runs, you should ...

move the slider to the rabbit and flip the code to block mode.

move the slider to the rabbit and flip the code to text mode.

move the slider to the turtle and flip the code to block mode.

move the slider to the turtle and flip the code to text mode.

2.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

Which line(s) of code will cause the code to stop running due to an error and why?

1. "screen1" is not named properly

2. The word "text" should be in quotes

4. The word "blue" should not be in quotes

5. The word "Arial" should be in quotes

3.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

What are the dimensions of a screen in app lab?

width = 2.5 inches, height = 4.25 inches

width = 320 pixels, height = 450 pixels

they vary, the screen can be resized

width = 340 mm, height = 560 mm

4.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

When should you put an onEvent block inside another onEvent block?

Only when you are playing sounds.

Anytime you want to make your code shorter.

You almost always want to do this.

You almost never want to do this.

5.

FILL IN THE BLANK QUESTION

1 min • 1 pt

What do we call the process of finding and correcting errors in our code?

(a)  

6.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Sometimes app lab can identify a bug in your code before you even run it. What symbol does app lab use to indicate a problem with your code?

a red "X"

a yellow triangle

a blue exclamation mark

a green question mark

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

There is no need to debug your code as long as it runs without producing an error.

True

False

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?