7.QZ - P5 JS Colors & Shapes Review

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

18 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What does the number 100 represent in this command? ellipse (100, 20, 50, 90)
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 Wayground
12 questions
AutoCAD CH12 ARRANGING AND PATTERNING OBJECTS

Flashcard
•
9th Grade
15 questions
Identify the shapes

Flashcard
•
KG
15 questions
CONICS FUN FOR EVERYONE!

Flashcard
•
9th - 11th Grade
16 questions
JavaScript

Flashcard
•
7th - 8th Grade
15 questions
Keplers Laws

Flashcard
•
9th Grade
14 questions
Excel simple formula

Flashcard
•
9th Grade
15 questions
Kepler's 1st Law of Planetary Motion

Flashcard
•
9th Grade
18 questions
CSOD Study Guide Questions

Flashcard
•
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
20 questions
Digital Citizenship

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

Quiz
•
8th - 9th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
20 questions
Hardware vs. Software Quiz

Quiz
•
7th - 10th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade