Javascript Drawing

Javascript Drawing

8th - 12th Grade

15 Qs

quiz-placeholder

Similar activities

Test on Python Function

Test on Python Function

11th - 12th Grade

12 Qs

Программирование массивов, сортировка, удаление и вставка элементов

Программирование массивов, сортировка, удаление и вставка элементов

8th Grade

20 Qs

10 câu kiểu xâu tiết 1

10 câu kiểu xâu tiết 1

11th Grade

10 Qs

scratch

scratch

11th - 12th Grade

10 Qs

Administrasi Sistem jaringan KD1

Administrasi Sistem jaringan KD1

1st - 10th Grade

20 Qs

Mid-Tern Exam's Review

Mid-Tern Exam's Review

8th Grade

15 Qs

Clase de Computación: Excel

Clase de Computación: Excel

11th Grade

12 Qs

Dasar Kompetensi Keahlian IPv6

Dasar Kompetensi Keahlian IPv6

10th Grade

15 Qs

Javascript Drawing

Javascript Drawing

Assessment

Quiz

Computers

8th - 12th Grade

Hard

Used 54+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ellipse(212, 206, 283, 318);
ellipse(212, 235, 100, 73);
ellipse(150, 150, 30, 30);
ellipse(278, 150, 30, 30);
The code above represents a snowman with two eyes and a nose. The code that represents the nose is:

ellipse(150, 150, 30, 30);
ellipse(212, 206, 283, 318);
ellipse(212, 235, 100, 73);
ellipse(212, 235, 100, 73);

2.

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

3.

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

How do you turn off the outline around the shapes?

noStroke();

stroke("transparent");

noFill();

noOutline();

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

When drawing in Javascript, the coordinates for the top left of the screen is:

0,400
0,0
400,0
400,400

6.

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

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

ellipse(212, 206, 283, 318);
ellipse(212, 235, 100, 73);
ellipse(150, 150, 30, 30);
ellipse(278, 150, 30, 30);
The code above represents a snowman with two eyes and a nose. The code that represents the nose is:

ellipse(150, 150, 30, 30);
ellipse(212, 206, 283, 318);
ellipse(212, 235, 100, 73);
ellipse(212, 235, 100, 73);

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?