Search Header Logo

Conditionals & Input (code.org)

Authored by Tammy Miller

Computers

7th Grade

Used 8+ times

Conditionals & Input (code.org)
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What does keyDown do?

Checks for a key being pressed repeatedly

Checks for a key being pressed one time

Checks for a key being released one time

Checks for a key being released repeatedly

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What does keyWentDown do?

Checks for a key being pressed repeatedly

Checks for a key being pressed one time

Checks for a key being released one time

Checks for a key being released repeatedly

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Media Image

What does keyWentUp do?

Checks for a key being pressed repeatedly

Checks for a key being pressed one time

Checks for a key being released one time

Checks for a key being released repeatedly

4.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

What can mouseDown do?

Check if the left mouse button is pressed

Check if the right mouse button is pressed

Check if boh mouse buttons are pressed at the same time

Check if the mouse is flipped over

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

What does mouseX return?

True if a mouse is connected

The current x position of the mouse

The current y position of the mouse

The current x and y positions of the mouse

6.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

Media Image

What does mouseX return?

True if a mouse is connected

The current x position of the mouse

The current y position of the mouse

The current x and y positions of the mouse

7.

MULTIPLE SELECT QUESTION

1 min • 1 pt

Media Image

Which are true about frameRate?

It must be between 1 and 60, and the default value is 30

It is the number of times per second that the screen is refreshed and that a draw loop runs

It is the number of times per minute that the screen is refreshed and that a draw loop runs

It is the number of times per hour that the screen is refreshed and that a draw loop runs

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?