JavaScript Practice

Quiz
•
Computers
•
8th Grade
•
Easy
Wayground 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
Similar Resources on Wayground
10 questions
AV2a - Pensamento Computacional - Explorando o p5.js

Quiz
•
2nd Grade - University
10 questions
Pygame

Quiz
•
6th - 8th Grade
12 questions
Tracy 🐢 CodeHS

Quiz
•
5th - 8th Grade
15 questions
Unit 3: Interactive Animations and Games - Lessons 3-6

Quiz
•
6th Grade - University
12 questions
Scratch Basics

Quiz
•
5th - 8th Grade
11 questions
Youtube

Quiz
•
4th Grade - University
10 questions
Debugging Summative Practice

Quiz
•
7th - 8th Grade
11 questions
Python strings

Quiz
•
8th - 9th Grade
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
15 questions
Acceptable Use Policy (Quiz)

Quiz
•
6th - 8th Grade
25 questions
Career Vs. Job

Quiz
•
6th - 8th Grade
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
30 questions
Introduction to Computers

Quiz
•
8th - 9th Grade
20 questions
Copyright and Fair Use

Quiz
•
6th - 8th Grade
15 questions
Computer Components Video

Interactive video
•
8th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade