JavaScript Practice

JavaScript Practice

8th Grade

12 Qs

quiz-placeholder

Similar activities

Javascript Basics (Khan Academy)

Javascript Basics (Khan Academy)

6th - 8th Grade

15 Qs

CSD Unit 3 - Interactive Animations and Games (lessons 3&4)

CSD Unit 3 - Interactive Animations and Games (lessons 3&4)

6th - 8th Grade

15 Qs

Khan Academy JavaScript

Khan Academy JavaScript

8th Grade

12 Qs

Khan Academy Javascript

Khan Academy Javascript

8th Grade

12 Qs

Hour of Code - Drawing with Code

Hour of Code - Drawing with Code

6th - 12th 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

JavaScript Practice

JavaScript Practice

Assessment

Quiz

Computers

8th Grade

Easy

Created by

Quizizz Content

Used 20+ times

FREE Resource

12 questions

Show all answers

1.

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

2.

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

3.

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

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

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

(#...#)

(!...!)

{{.....}}

//....

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

If I want to add a variable for my eyes, which would be the correct line of code.

var eyeSize;

variable = eyeSize!

variable (eyeSize)

var = eyeSize

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

The "X" parameter

Moves the object left and right

moves the object up and down

changes the width

changes the height

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

When adding a background color which is the correct line of code?

bg(200, 0, 0);

background(200, 0, 0);

bckgr(200, 0, 0);

backgnd(200, 0, 0);

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?