Search Header Logo

Java Script

Authored by Kate Edington

Computers

5th - 7th Grade

Used 1K+ times

Java Script
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

8 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command draws a rectangle?

rec (10, 20, 100, 200);
rect (10, 20, 100, 200)
rect (10, 20, 100, 200);
ellipse (10, 20, 40, 40)

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Which command colors the background of your canvas?

background 
endShape
var = color
fill

3.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command removes the outlines from shapes?

noOutline ();
noColor();
noBorder();
noStroke ();

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command draws a perfect circle?

ellipse (80, 60, 100, 105);
ellipse(80, 60, 100, 100);
circle (80, 60, 80, 60):
ellipse (80, 60, 105, 100);

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command colors a shape?

color (43, 255, 0);
bucket (43, 255, 0);
fill (43, 255, 0);
bucket (43, 255, 0);

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What command draws a line?

stroke (200, 220, 275, 220);
line (200, 220, 275, 220);
horizontal (200, 220,  60, 75);
pencil (200, 220, 275, 220);

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

What is at the end of a line of code?

#
;
)
>

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?