What does RGB stand for? And what is the number range?
"red, green, blue" and 0-255
How do you correctly code a rectangle
Rect(left,top,width,height)
Fill in the blank
Label('hello',___,___)
Label('hello', x, y)
Give three examples of regular polygons that you can code.
Answers may vary:
Triangles, diamonds, pentagons, hexagons
How large is a canvas?
400,400
How do you make a color empty? BE SPECIFIC
fill=None
How do you code a circle with a radius of 5
Circle(centerX,centerY,5)
How do you make a label bold or italic?
bold=True
or
italic=True
What is the minimum number of points in a polygon?
3
What does the inspector do?
It shows us a shape's properties (points, color, etc.)
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
How do you code a line with a width of 5?
Line(x1,y,1,x2,y2, lineWidth=5)
How do you code a regular polygon?
RegularPolygon(x,y,radius,points)
True or False:
Comments are ignored by Python
True
How do you code a blue and green rectangle with a gradient from the top left?
Code - gradient('blue','green', start='left-top')
What is the default line width?
2
True or False:
You cannot add a border to labels.
False
Fill in the blank:
Star(x,y,radius,___)
Star(x,y,radius,points)
What is a code segment
A collection of program statements that are part of the program.
what color is rgb(152,255,152)?
What is mint green
How do you code an oval?
Oval(centerX,centerY,width,height)
Which of these is not a font:
grenze, arial, orbitron, gelb, or symbols?
Gelb
If the roundess of a star is set to 97 what would it look like?
It would be almost a circle.
Why is iterative development significant?
It allows programmers to improve software, based on feedback and testing.