
Graphic Programming Basics Flashcard

Flashcard
•
Computers
•
9th Grade
•
Hard
Quizizz 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
8 questions
Shape Recognition

Flashcard
•
KG
10 questions
CIRCLES

Flashcard
•
9th Grade
14 questions
CMU Unit 2.2.4 and 7.2 Variables

Flashcard
•
9th Grade
10 questions
JavaScript e p5.js Responda

Flashcard
•
10th Grade
12 questions
Plane Shapes

Flashcard
•
KG
10 questions
Unit 3- Lesson 3 & 4 Game Lab Vocab

Flashcard
•
6th - 8th Grade
11 questions
Code.org Unit 3 Assessment Lessons 3-9

Flashcard
•
8th Grade
6 questions
Kindergarten Shapes and Colors

Flashcard
•
KG
Popular Resources on Wayground
15 questions
Hersheys' Travels Quiz (AM)

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
30 questions
Lufkin Road Middle School Student Handbook & Policies Assessment

Quiz
•
7th Grade
20 questions
Multiplication Facts

Quiz
•
3rd Grade
17 questions
MIXED Factoring Review

Quiz
•
KG - University
10 questions
Laws of Exponents

Quiz
•
9th Grade
10 questions
Characterization

Quiz
•
3rd - 7th Grade
10 questions
Multiply Fractions

Quiz
•
6th Grade