Search Header Logo

Rubber Duck Debugging

Authored by Ty Hillegonds

Computers

6th - 8th Grade

Used 11+ times

Rubber Duck Debugging
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be the best natural (normal) english way to say the code shown?

bird3.scale is assigned the value of 0.25

change bird3.scale is changed by 0.25

decrease bird3.scale by 0.25

none of these

Answer explanation

Remember that the = symbol assigns a value to a variable or property. Another way to say this is

"bird3.scale gets 0.25"

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of these is the best match for this statement: "bird2.y is assigned 300"

Media Image
Media Image
Media Image
Media Image

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Which of these is the best match for line two?

greenFish.x is counted down by 1

greenFish.x is counted down by 2

greenFish.x is counted down by 3

greenFish.x is counted up by 1

greenFish.x is counted up by 2

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is the coke sprite's rotation less than the pepsi sprite's rotation?

coke.rotation > pepsi.rotation

coke.rotation >= pepsi.rotation

coke.rotation < pepsi.rotation

coke.rotation == pepsi.rotation

coke.rotation != pepsi.rotation

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is the coke sprite's rotation greater than the pepsi sprite's rotation?

coke.rotation > pepsi.rotation

coke.rotation >= pepsi.rotation

coke.rotation < pepsi.rotation

coke.rotation == pepsi.rotation

coke.rotation != pepsi.rotation

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is the coke sprite's rotation greater than or the same as the pepsi sprite's rotation?

coke.rotation > pepsi.rotation

coke.rotation >= pepsi.rotation

coke.rotation < pepsi.rotation

coke.rotation == pepsi.rotation

coke.rotation != pepsi.rotation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Is the coke sprite's rotation the same as the pepsi sprite's rotation?

coke.rotation > pepsi.rotation

coke.rotation >= pepsi.rotation

coke.rotation < pepsi.rotation

coke.rotation == pepsi.rotation

coke.rotation != pepsi.rotation

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?