Colors and Borders
Basic Shapes
Labels
Polygons
Basic Code
100

What does RGB stand for? And what is the number range?

"red, green, blue" and 0-255

100

How do you correctly code a rectangle

Rect(left,top,width,height)

100

Fill in the blank

Label('hello',___,___)

Label('hello', x, y)

100

Give three examples of regular polygons that you can code.

Answers may vary:

Triangles, diamonds, pentagons, hexagons

100

How large is a canvas?

400,400

200

How do you make a color empty? BE SPECIFIC

fill=None

200

How do you code a circle with a radius of 5

Circle(centerX,centerY,5)

200

How do you make a label bold or italic?

bold=True

or

italic=True

200

What is the minimum number of points in a polygon?

3

200

What does the inspector do?

It shows us a shape's properties (points, color, etc.)

300

What is the correct border code?

border='green',borderWidth=4

border=green borderWidth=4

border='green',borderWidth=4

The second one is missing quotations and a comma

300

How do you code a line with a width of 5?

Line(x1,y,1,x2,y2, lineWidth=5)

300
What is the default font for labels?
'arial'
300

How do you code a regular polygon?

RegularPolygon(x,y,radius,points)

300

True or False:

Comments are ignored by Python

True

400

How do you code a blue and green rectangle with a gradient from the top left?

Code - gradient('blue','green', start='left-top')

400

What is the default line width?

2

400

True or False:

You cannot add a border to labels.

False

400

Fill in the blank:

Star(x,y,radius,___)

Star(x,y,radius,points)

400

What is a code segment

A collection of program statements that are part of the program.

500

what color is rgb(152,255,152)?

What is mint green

500

How do you code an oval?

Oval(centerX,centerY,width,height)

500

Which of these is not a font:

grenze, arial, orbitron, gelb, or symbols?

Gelb

500

If the roundess of a star is set to 97 what would it look like?

It would be almost a circle.

500

Why is iterative development significant?

It allows programmers to improve software, based on feedback and testing.

M
e
n
u