
Graphic Programming Basics Flashcard
Flashcard
•
Computers
•
9th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

9 questions
Show all answers
1.
FLASHCARD QUESTION
Front
What does the getWidth() function return?
Back
The width of the canvas
2.
FLASHCARD QUESTION
Front
In the coordinate system, what are the coordinates of the top-left corner? Options: (100, 100), (0, 0), (200, 0), (0, 100)
Back
(0, 0)
3.
FLASHCARD QUESTION
Front
What is the correct way to create a circle with a radius of 30? Options: `var circle = new Rectangle(30);`, `var circle = new Circle(30);`, `var circle = Circle(30);`, `var circle = new Shape(30);`
Back
`var circle = new Circle(30);`
4.
FLASHCARD QUESTION
Front
What function is used to position a circle on the canvas?
Back
`circle.setPosition(x, y);`
5.
FLASHCARD QUESTION
Front
How do you add a rectangle to the canvas? Options: `add(rect);`, `draw(rect);`, `append(rect);`, `addRectangle(rect);`
Back
`add(rect);`
6.
FLASHCARD QUESTION
Front
What are the dimensions of the rectangle created with `new Rectangle(100, 50);`?
Back
100 pixels wide and 50 pixels tall
7.
FLASHCARD QUESTION
Front
What does the function `add(text)` do?
Back
Adds the text to the canvas
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
8 questions
Explanation Text
Flashcard
•
9th Grade
8 questions
Basic Principles of Photography
Flashcard
•
KG
9 questions
Trigonometric Ratios - Recap For Math Q4 W1
Flashcard
•
9th Grade
5 questions
Synthesizing Essential Information in Various Sources
Flashcard
•
8th Grade
6 questions
Fetch-Execute Cycle and CPU Registers
Flashcard
•
KG
11 questions
Monomios e Polinomios
Flashcard
•
8th Grade
7 questions
for zv patho
Flashcard
•
KG
10 questions
Noun suffixes -ness, -dom, -ship
Flashcard
•
7th - 8th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade