Search Header Logo

Khan Academy JS

Authored by Rebecca Summers

5th - 12th Grade

Used 23+ times

Khan Academy JS
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The command: ellipse( 200,100, 20, 20) will draw:

an ellipse that is 100 pixels wide and 100 pixels high
a circle whose center is 200 pixels across and 100 pixels down
a rectangle that is 200 pixels by 100 pixels wide
a circle that is 200 pixels in diameter

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct order of parameters in rect()?

rect(x, y, width, height);

rect(y, x, width, height);

rect(x, y, height, width);

rect(width, height, x, y);

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Color is defined by these three colors

Red, purple, orange

Red, Blue, Green

Green, Blue, Orange

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What command colors a shape?

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

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does var stand for?

Variant
Variable
Varies

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

To draw an oval with its center at the origin, width 100, height 150, which one is correct?

ellipse(0, 0, 100, 150);

ellipse (150, 0, 0, 100);

ellipse (100, 150, 0, 0);

ellipse (0, 100, 0, 150);

7.

MULTIPLE CHOICE QUESTION

30 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)

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?