Search Header Logo
CMU CS Academy 1.3.1 Rectangles, Ovals, Circles, and Lines

CMU CS Academy 1.3.1 Rectangles, Ovals, Circles, and Lines

Assessment

Interactive Video

Computers

9th Grade

Practice Problem

Easy

Created by

Maria Cruz Farooqi

Used 1+ times

FREE Resource

36 questions

Show all answers

1.

SLIDE QUESTION

30 sec • Ungraded

2.

DROPDOWN QUESTION

1 min • 1 pt

To draw an oval (also called an ​ (a)   ), we use the ​ (b)   instead of the left-top, but then we still use the width and ​ (c)   , like so:

​ (d)   ( 150, 150, 100, 200, fill='gold' )

ellipse
center
height
Oval

3.

DROPDOWN QUESTION

1 min • 1 pt

Ovals, like most shapes, ​ (a)   borders, ​ (b)   , gradients, and other properties that ​ (c)   have!

borderWidths
rectangles
can have

4.

DROPDOWN QUESTION

1 min • 1 pt

Circles are drawn just like ovals, only instead of ​ (a)   we just use a ​ (b)   . So we draw a circle centered at (100, 200) with a radius of ​ (c)   like so:

​ (d)   ( ​ 100, 200, 50, fill='green')

radius
a width and a height
50
Circle

5.

DROPDOWN QUESTION

1 min • 1 pt

A line runs from ​ (a)   (x1, y1) to ​ (b)   (x2, y2). We include those points when drawing a line. So we draw a line from (50, 100) to (75, 200) like this:

​ (c)   (50, 100, 75, 200)

Use the Inspector and see how it ​ (d)   of the line. Useful!

a point
another point
Line
highlights the endpoints

6.

DROPDOWN QUESTION

1 min • 1 pt

Lines do not have a borderWidth. It is an error to set the borderWidth of a line. Instead, use ​ (a)   . Like borders, lines can also have ​ (b)   by setting dashes=​ (c)   or dashes=(dashWidth, gapWidth).

True
lineWidth
dashes

7.

SLIDE QUESTION

30 sec • Ungraded

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?