Search Header Logo
CMU CS Academy 1.3.3, 1.3.4 and 1.3.5

CMU CS Academy 1.3.3, 1.3.4 and 1.3.5

Assessment

Interactive Video

Computers

9th Grade

Practice Problem

Easy

Created by

Maria Cruz Farooqi

Used 1+ times

FREE Resource

31 questions

Show all answers

1.

SLIDE QUESTION

30 sec • Ungraded

2.

DROPDOWN QUESTION

1 min • 1 pt

Media Image

We draw a regular polygon similarly to a circle -- with an (x, y) ​ (a)   and a radius. We just need one more argument: the ​ (b)   (or sides, if you prefer, since there are the same number of points as sides). Here is how we draw a hexagon centered at (200, 100) with a ​ (c)   of 75:

​ (d)   (200, 100, 75, 6)

RegularPolygon
center
number of points
radius

3.

DROPDOWN QUESTION

1 min • 1 pt

Media Image

Stars

We draw a star in the ​ (a)   that we ​ (b)   a RegularPolygon:

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

Star
same way
draw

4.

DROPDOWN QUESTION

1 min • 1 pt

Media Image

We see that there are many different kinds of 7-sided stars, some are more circular or ​ (a)   than others. The same is true for all ​ (b)   . When we create a star, we can ​ (c)   to any value between 0 and ​ (d)   .

rounder
stars
set its roundness
100

5.

DROPDOWN QUESTION

1 min • 1 pt

Media Image

We use a label to draw ​ (a)   , like so:

​ (b)   ('hello', 200, 200)

This draws the value 'hello' ​ (c)   (200, 200). In general, Label takes 3 ​ (d)   -- the value to draw, and the (x, y) center where to draw it.

text
Label
centered at
arguments

6.

SLIDE QUESTION

30 sec • Ungraded

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the default font used when drawing text with labels?

Verdana

Arial

Times New Roman

Courier

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?