Khan Academy JavaScript

Khan Academy JavaScript

8th Grade

12 Qs

quiz-placeholder

Similar activities

Micro:bit Refresher

Micro:bit Refresher

7th - 8th Grade

14 Qs

Scratch Loops and patterns

Scratch Loops and patterns

7th - 9th Grade

16 Qs

Unit 1 Quiz - Bootstrap: Algebra

Unit 1 Quiz - Bootstrap: Algebra

6th - 12th Grade

10 Qs

Javascript Drawing

Javascript Drawing

8th - 12th Grade

15 Qs

Programming - Variables/Animation

Programming - Variables/Animation

6th - 8th Grade

11 Qs

Python Programming with Tracy the Turtle

Python Programming with Tracy the Turtle

6th - 8th Grade

10 Qs

Programming - Drawing Basic Shapes/Coloring

Programming - Drawing Basic Shapes/Coloring

6th - 8th Grade

15 Qs

Drawing in Game Lab

Drawing in Game Lab

7th - 8th Grade

10 Qs

Khan Academy JavaScript

Khan Academy JavaScript

Assessment

Quiz

Computers

8th Grade

Medium

Created by

Stacy Faculty

Used 43+ times

FREE Resource

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these lines of JS code are syntactically correct?

rect(100, 100, 50, 50);

rect(100 100 50 50);

rect[100, 100, 50, 50];

rect(100, 100, 50, 50):

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which is the correct way to write a comment in JavaScript?

(#...#)

(!...!)

{{.....}}

//....

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of these lines of JS code are syntactically correct?

rect100, 100, 50, 50

rect(100 100 50 50);

rect(100, 100, 50, 50);

rect(100, 100, 50, 50):

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

You want to draw a circle, which command is written correctly?

//circle

circle();

ellipse();

//ellipse

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In the following line of code - rect(200, 150, 50, 120); What does the last number (120) stand for?

X

Y

W

H

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In the following line of code - rect(200, 150, 50, 120); What does the first number (200) stand for?

X

Y

W

H

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

In the following line of code - rect(200, 150, 50, 120); What does the 3rd number(50) stand for?

X

Y

W

H

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?