Khan Academy JavaScript

Khan Academy JavaScript

8th Grade

12 Qs

quiz-placeholder

Similar activities

Small Basic Quiz

Small Basic Quiz

7th - 9th Grade

12 Qs

Unit 3 code.org

Unit 3 code.org

6th - 8th Grade

15 Qs

W6-L4

W6-L4

6th - 8th Grade

15 Qs

Practice Exam CS0 - Unit1

Practice Exam CS0 - Unit1

8th - 9th Grade

10 Qs

Unit 3, Lessons 3 & 4

Unit 3, Lessons 3 & 4

6th - 8th Grade

10 Qs

JavaScript Practice

JavaScript Practice

8th Grade

12 Qs

p5.js - shape and color

p5.js - shape and color

8th Grade

17 Qs

Hour of Code - Drawing with Code

Hour of Code - Drawing with Code

6th - 12th Grade

15 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?