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):
Khan Academy JavaScript

Flashcard
•
Computers
•
8th Grade
•
Hard
Quizizz Content
FREE Resource
Student preview

12 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
rect(100, 100, 50, 50);
2.
FLASHCARD QUESTION
Front
Which is the correct way to write a comment in JavaScript? Options: (#...#), (!...!), {{.....}}, //....
Back
//....
3.
FLASHCARD QUESTION
Front
Which of these lines of JS code are syntactically correct? Options: rect100, 100, 50, 50, rect(100 100 50 50);, rect(100, 100, 50, 50);, rect(100, 100, 50, 50):
Back
rect(100, 100, 50, 50);
4.
FLASHCARD QUESTION
Front
You want to draw a circle, which command is written correctly? Options: //circle, circle();, ellipse();, //ellipse
Back
ellipse();
5.
FLASHCARD QUESTION
Front
In the following line of code - rect(200, 150, 50, 120); What does the last number (120) stand for?
Back
H
6.
FLASHCARD QUESTION
Front
In the following line of code - rect(200, 150, 50, 120); What does the first number (200) stand for?
Back
X
7.
FLASHCARD QUESTION
Front
In the following line of code - rect(200, 150, 50, 120); What does the 3rd number(50) stand for? Options: X, Y, W, H
Back
W
Create a free account and access millions of resources
Similar Resources on Quizizz
16 questions
p5.js - shape, color, syntax

Flashcard
•
8th Grade
8 questions
Variables Warm up Code.org CSP Unit 4

Flashcard
•
9th Grade
9 questions
Graphic Programming Basics Flashcard

Flashcard
•
9th Grade
11 questions
javascript - khan academy

Flashcard
•
6th - 8th Grade
12 questions
Exploring JavaScript Canvas Art

Flashcard
•
9th Grade
9 questions
Square Roots, Cube Roots, Perfect Squares & Perfect Cubes

Flashcard
•
8th Grade
10 questions
Writing Inequalities with variables on both sides

Flashcard
•
8th Grade
11 questions
flashcardizz

Flashcard
•
7th Grade
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
20 questions
Math Review - Grade 6

Quiz
•
6th Grade
20 questions
math review

Quiz
•
4th Grade
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
15 questions
Adding and Subtracting Fractions

Quiz
•
5th Grade
10 questions
R2H Day One Internship Expectation Review Guidelines

Quiz
•
Professional Development
12 questions
Dividing Fractions

Quiz
•
6th Grade
Discover more resources for Computers
5 questions
capitalization in sentences

Quiz
•
5th - 8th Grade
10 questions
Juneteenth History and Significance

Interactive video
•
5th - 8th Grade
10 questions
Identify Slope and y-intercept (from equation)

Quiz
•
8th - 9th Grade
10 questions
Juneteenth: History and Significance

Interactive video
•
7th - 12th Grade
15 questions
Volume Prisms, Cylinders, Cones & Spheres

Quiz
•
8th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
25 questions
Argumentative Writing & Informational Text Vocabulary Review

Quiz
•
8th Grade
18 questions
Informational Text Vocabulary

Quiz
•
7th - 8th Grade