CMU Unit 2

CMU Unit 2

11th Grade

7 Qs

quiz-placeholder

Similar activities

JavaScript Animations Transitions

JavaScript Animations Transitions

9th - 12th Grade

11 Qs

Computer Programming: Graphics

Computer Programming: Graphics

8th - 11th Grade

11 Qs

Unit 5 Quizizz

Unit 5 Quizizz

9th - 12th Grade

5 Qs

Scratch Pen Quiz

Scratch Pen Quiz

KG - University

10 Qs

Drawing Tools in AutoCAD

Drawing Tools in AutoCAD

11th Grade

10 Qs

Exploring Python Turtle Graphics

Exploring Python Turtle Graphics

7th Grade - University

12 Qs

PC - 1ºAno - Projeto Monalisa

PC - 1ºAno - Projeto Monalisa

11th Grade

9 Qs

CS Academy Unit 3 Review

CS Academy Unit 3 Review

9th - 11th Grade

10 Qs

CMU Unit 2

CMU Unit 2

Assessment

Quiz

Computers

11th Grade

Medium

Created by

Erin Baker

Used 44+ times

FREE Resource

7 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the only shape property that cannot be changed once it has been set?

opacity

align

roundness

radius

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will the following code do?

def g (color):

  • Rect (200, 200, 100, 300., fill = color)

g( )

a rectangle with a fill of NONE

a blue rectangle

a rectangle with a random color

It will give an error message

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen in the following code?

f()

def f():

Circle(200, 200, 50, fill='purple')

You will get an error

A purple circle

An empty circle

A purple oval

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In onMousePress, we can get a point to the right of the mouse press by

adding a positive number to the mouseY

adding a negative number to the mouseX

adding a positive number to the mouseX

adding a negative number to the mouseY

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What happens when the mouse is pressed?

s =Star(200, 200, 50, 6, fill="yellow)

def onMousePress(mouseX, mouseY):

s.points = 8

the color of the star will change

The radius will change to 8

It will draw a 6 sided star

The points will change from 6 to 8

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What will happen when the mouse is released?

def onMouseRelease(x,y):

Oval(x, y, 150, 150, fill='blue')

Circle(x, y, 10, , fill='green')

A green oval on top of a blue circle

A green circle on top of a blue oval

A blue oval on top of a green circle

A blue oval next to a green circle

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

This question uses the following functions.

def drawStar(x, y):

Star(x, y, 50, 5, fill='mediumSlateBlue')

def drawCircles(x):

Circle(x - 30, 200, 50, fill='limeGreen')

Circle(x + 30, 200, 50, fill='limeGreen')

In what order do you need to call the functions to create this picture?

drawStar(275, 150)

drawCircles(125) drawCircles(275) drawStar(125, 250)

drawCircles(125) drawCircles(275) drawStar(275, 150) drawStar(125, 250)

drawStar() drawCircles()

drawStar(275, 150) drawCircles(125) drawStar(125, 250)