Khan Academy JavaScript

Khan Academy JavaScript

8th Grade

12 Qs

quiz-placeholder

Similar activities

Python List

Python List

4th Grade - University

15 Qs

Python

Python

8th - 9th Grade

15 Qs

HEALTH AND SAFETY 9

HEALTH AND SAFETY 9

7th - 9th Grade

11 Qs

LEDs on micro:bit

LEDs on micro:bit

8th Grade

15 Qs

Encryption and Public Keys

Encryption and Public Keys

6th - 8th Grade

8 Qs

ICT Grade 8

ICT Grade 8

8th Grade

10 Qs

Recuperação PC - 8º Ano - Projeto Pega Pega Digital

Recuperação PC - 8º Ano - Projeto Pega Pega Digital

8th Grade

10 Qs

Guess The Youtuber

Guess The Youtuber

5th - 8th Grade

10 Qs

Khan Academy JavaScript

Khan Academy JavaScript

Assessment

Quiz

Computers

8th Grade

Practice Problem

Medium

Created by

Stacy Faculty

Used 43+ times

FREE Resource

AI

Enhance your content in a minute

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

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

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?

Discover more resources for Computers