What does the number 100 represent in this command? ellipse (100, 20, 50, 90)
7.QZ - P5 JS Colors & Shapes Review

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

18 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Back
x-position
Answer explanation
In the command ellipse(100, 20, 50, 90), the number 100 represents the x-position of the ellipse's center. The first parameter always indicates the horizontal position, making it the correct choice.
2.
FLASHCARD QUESTION
Front
Which command colors the background of your canvas?
Back
background( ... )
Answer explanation
The command background( ... ) is used to set the color of the canvas's background. Other commands like stroke( ... ) and fill( ... ) affect the outline and fill color of shapes, not the canvas background.
3.
FLASHCARD QUESTION
Front
What color intensity does 100 represent? fill(100,150,75)
Back
Red
Answer explanation
In the fill(100,150,75) function, the first parameter represents the red color intensity. Therefore, 100 corresponds to the intensity of red, making 'Red' the correct answer.
4.
FLASHCARD QUESTION
Front
What does the number 100 represent in this command? ellipse (20, 50, 90, 100)
Back
height
Answer explanation
In the command ellipse(20, 50, 90, 100), the number 100 represents the height of the ellipse. The parameters are x-position, y-position, width, and height, respectively, making 100 the height.
5.
FLASHCARD QUESTION
Front
Which command sets the color for the outline of a shape?
Back
stroke( ... )
Answer explanation
The command 'stroke( ... )' is used to set the color of the outline of a shape in graphics programming. In contrast, 'fill( ... )' sets the interior color, while 'background( ... )' and 'color( ... )' do not affect outlines.
6.
FLASHCARD QUESTION
Front
Which one of the following symbols is used for JavaScript comments? \ ^ ? //
Back
//
Answer explanation
In JavaScript, single-line comments are indicated by the symbol '//'. This allows developers to add notes or disable code without affecting the execution of the program.
7.
FLASHCARD QUESTION
Front
What does the number 100 represent in this command? ellipse (20, 50, 100, 90)
Back
width
Answer explanation
In the command ellipse(20, 50, 100, 90), the number 100 represents the width of the ellipse. The parameters are defined as x-position, y-position, width, and height, respectively.
Create a free account and access millions of resources
Similar Resources on Quizizz
13 questions
Cardiovascular Fitness

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

Flashcard
•
8th Grade
12 questions
Code.Org: Unit 3, Lessons 3-5 Flashcard

Flashcard
•
8th - 10th Grade
21 questions
Javascript in Khan 1116

Flashcard
•
10th Grade
15 questions
Keplers Laws

Flashcard
•
9th Grade
15 questions
Ellipses and Kepler's Laws

Flashcard
•
8th Grade
15 questions
Kepler's First Law

Flashcard
•
9th Grade
15 questions
Keplers Laws

Flashcard
•
9th 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
25 questions
Spanish preterite verbs (irregular/changed)

Quiz
•
9th - 10th 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
8 questions
"Keeping the City of Venice Afloat" - STAAR Bootcamp, Day 1

Quiz
•
9th - 12th Grade
26 questions
June 19th

Quiz
•
4th - 9th Grade
27 questions
STAAR English 1 Review

Quiz
•
9th Grade
20 questions
Understanding Linear Equations and Slopes

Quiz
•
9th - 12th Grade