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
10 questions
Constant of Proportionality, y=kx

Flashcard
•
8th Grade
10 questions
box and whisker plots

Flashcard
•
8th Grade
10 questions
Unit 3 Post-Project Practice Test

Flashcard
•
7th Grade
14 questions
CMU CS Academy Unit 1 Checkpoint

Flashcard
•
6th - 8th Grade
16 questions
JavaScript

Flashcard
•
7th - 8th Grade
10 questions
📓Lesson 9 Flashcard- Sprite Properties and Functions

Flashcard
•
6th - 8th Grade
16 questions
Unit 3 - Game Lab, Shapes, Var, Sprites (1 - 8)

Flashcard
•
8th Grade
10 questions
Code HS Tracy Phyton Flashcard

Flashcard
•
6th - 8th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Computers
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade