Search Header Logo

Code.org CS Discoveries U3L15 Keyboard Input

Authored by Joan Goldberg

Computers

9th Grade

Used 72+ times

Code.org CS Discoveries U3L15 Keyboard Input
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

30 sec • 1 pt

Media Image

The animation for the bug facing left begins with bug.rotation=0. If the user presses the right arrow, what should bug.rotation equal?

0

90

-90

180

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The animation for the bug facing left begins with bug.rotation=0.. If the user presses the up arrow, what should bug.rotation equal?

0

90

-90

180

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

The animation for the bug facing left begins with bug.rotation=0. If the user presses the down arrow, what should bug.rotation equal?

0

90

-90

180

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Checks if the key specified was released. Generates a single true value when the key is released, no matter how long a key is pressed.

keyWentDown(code)

keyDown(code)

keyWentUp(code)

drawSprites()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Checks if the key specified is pressed. To continually check if the key is pressed.

keyWentDown(code)

keyDown(code)

keyWentUp(code)

drawSprites()

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Checks if the key specified was pressed. Generates a single true value when the key is pressed down, no matter how long a key is pressed.

keyWentDown(code)

keyDown(code)

keyWentUp(code)

drawSprites()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

keyDown('h) is a ...

boolean variable

boolean expression

boolean function

conditional statement

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?