CMU Unit 1 and Unit 2
Quiz by Stephen Franz
Feel free to use or edit a copy
includes Teacher and Student dashboards
Measure skillsfrom any curriculum
Measure skills
from any curriculum
Tag the questions with any skills you have. Your dashboard will track each student's mastery of each skill.
With a free account, teachers can
- edit the questions
- save a copy for later
- start a class game
- automatically assign follow-up activities based on students’ scores
- assign as homework
- share a link with colleagues
- print as a bubble sheet
40 questions
Show answers
- Q1What do the first two numbers mean in: Oval(150, 150, 100, 200, fill='gold')The center of the ovalThe top left of the oval30s
- Q2Which of the following has a syntax error?Line(50, 50, 100, 100, border=None)Rect(50, 50, 100, 300 fill='white')Circle(300, 300, 75, borderWidth=5)Oval(200, 150, 200, 200, dashes=True)30s
- Q3What does fill=None do to the shape?Changes fill to match backgroundSets opacity to 0Makes the entire shape invisibleMakes the fill empty30s
- Q4Which of the following tools can help you find out what color a shape is for an exercise?InspectorConsoleCode EditorAutograder30s
- Q5Which code draws a star that is closest to the shape of a circle?Star(240, 130, 35, 7, roundness=60)Star(320, 130, 35, 7, roundness=80)Star( 80, 130, 35, 7, roundness=20)Star(160, 130, 35, 7, roundness=40)30s
- Q6How many coordinate values are needed to draw a non-regular polygon with 3 sides?682430s
- Q7Which of the following fonts is not supported?Times New RomanCourierMonospaceArial30s
- Q8How do you set the width of a line?lineWidthLinewidthborderWidthwidth30s
- Q9What is the value we use to indicate an empty shape property?None'Empty'none'None'30s
- Q10Finish the code so it draws this image. Rect(100, 150, 200, 100, ...fill=gradient('black', 'white'), border='black',dashes=True)fill=gradient('black', 'white'), border='black')fill=gradient(‘white, ‘black’), border=’black’)fill=gradient(‘white’, ‘black’), border=’black’,dashes=True)30s
- Q11Can you use colors in shapes that aren't in the color table?No, only colors in the color table can be used.No, the only way to use other colors is to use gradients.Yes, you can look up RGB values for any color and use it.Yes, you can write any color name and it will work.30s
- Q12What is radius?Halfway across a circleThe full width of the circle.30s
- Q13What do the first two numbers represent when we make a line? Line(50, 100, 75, 200)The start of the line.The end of the line.30s
- Q14What does the third number mean in : Circle(100, 200, 50, fill='green')The center of the circle.The radius of the circle30s
- Q15What do the first two numbers mean in the following code? Circle(100, 200, 50, fill='green')The radius of the circleThe center of the circle.30s