CMU Unit 2

CMU Unit 2

11th Grade

7 Qs

quiz-placeholder

Similar activities

Jaringan Komputer / AIJ

Jaringan Komputer / AIJ

11th Grade

10 Qs

INFO TEST

INFO TEST

KG - 12th Grade

10 Qs

Examen primer parcial Mantenimiento

Examen primer parcial Mantenimiento

9th - 12th Grade

9 Qs

Basic Computer

Basic Computer

8th Grade - University

10 Qs

Berfikir Komputesional

Berfikir Komputesional

9th - 12th Grade

10 Qs

Jarkom

Jarkom

1st Grade - Professional Development

11 Qs

ID Quiz

ID Quiz

11th Grade

10 Qs

KTTX Tin 9-HKII

KTTX Tin 9-HKII

9th - 12th Grade

10 Qs

CMU Unit 2

CMU Unit 2

Assessment

Quiz

Computers

11th Grade

Practice Problem

Medium

Created by

Erin Baker

Used 44+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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)