Search Header Logo

CMU CS Academy Intro

Authored by Michele Freeman

Computers

9th - 12th Grade

Used 8+ times

CMU CS Academy Intro
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

19 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What is the width of the entire canvas?

100 pixels

200 pixels

400 pixels

1000 pixels

2.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Where is (0, 0) located on the canvas?

top left corner

top right corner

bottom left corner

bottom right corner

3.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which line of code would draw a rectangle without any errors?

rect(100, 200, 50, 50)

Rect(100, 200, 50)

Rect(100, 200, 50, 50)

Rect(100 200 50 50)

4.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What do the first two numbers in Rect(50, 100, 75, 150) mean?

width

height

top left corner location

center location

5.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

What does the 75 in

Rect(50, 100, 75, 150)

mean?

width

height

top left corner location

bottom right corner location

6.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of these Rect shapes has the largest height?

Rect(200, 200, 100, 250)

Rect(300, 300, 40, 40)

Rect(100, 75, 300, 50)

Rect(350, 275, 75, 175)

7.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which one of these Rect shapes covers the entire canvas?

Rect(0, 0, 0 ,0)

Rect(0, 0, 400, 400)

Rect(400, 400, 400, 400)

Rect(400, 400, 0 ,0)

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

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?