
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
8.
FLASHCARD QUESTION
Front
What color will the circle be in the code: `circle.setColor(Color.blue);`?
Back
Blue
9.
FLASHCARD QUESTION
Front
How do you define the text "Hello World" in the program?
Back
`var text = new Text("Hello World");`
Similar Resources on Wayground
10 questions
Purpose Clauses
Flashcard
•
10th - 11th Grade
10 questions
Adding Integer Word problems
Flashcard
•
7th - 8th Grade
8 questions
Advantages of Being Bilingual
Flashcard
•
9th Grade
8 questions
Understanding Heat Radiation
Flashcard
•
KG
10 questions
PUBLIC FACILITIES
Flashcard
•
8th Grade
10 questions
Output Devices
Flashcard
•
10th Grade
8 questions
Lesson 3 - Internet Concepts
Flashcard
•
KG
6 questions
Covalent Bonds and Structures
Flashcard
•
9th Grade
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade