Khan Academy JavaScript

Khan Academy JavaScript

8th Grade

12 Qs

quiz-placeholder

Similar activities

Code.org Unit 3 Lesson 3 and 4

Code.org Unit 3 Lesson 3 and 4

6th - 8th Grade

15 Qs

CMU CS Academy Unit 1 Checkpoint

CMU CS Academy Unit 1 Checkpoint

6th - 8th Grade

14 Qs

Unit 3 | Chapter 1 - Animations and Images (Lessons 2-4)

Unit 3 | Chapter 1 - Animations and Images (Lessons 2-4)

8th Grade

13 Qs

Coding - Mid Unit Knowledge Check

Coding - Mid Unit Knowledge Check

6th - 11th Grade

10 Qs

Processing basics (Y8)

Processing basics (Y8)

7th - 9th Grade

14 Qs

Computer Programming & JavaScript

Computer Programming & JavaScript

6th - 8th Grade

16 Qs

Khan Academy Programming

Khan Academy Programming

6th - 8th Grade

11 Qs

Khan Academy Javascript

Khan Academy Javascript

8th Grade

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