Search Header Logo

Test Codeguppy

Authored by Alberto Citterio

Computers

7th Grade

Used 3+ times

Test Codeguppy
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to draw a circle?

rectangle()

circle()

triangle()

line()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to change the fill color?

stroke()

fill()

color()

paint()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which parameter defines the thickness of a line?

strokeWeight()

lineWidth()

thickness()

weight()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to detect collisions between sprites?

detectCollision()

collisionRect()

checkCollision()

collide()

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to increase a variable by 5?

x += 5

x =+ 5

x = 5

x + 5

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which command is used to change the direction of an object?

direction *= -1

direction = 1

direction = -1

direction += 1

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function is used to control the position of a sprite with an arrow?

controlSprite()

keyIsDown()

arrowControl()

spriteControl()

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?