

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


Comments are written for... - correct answer Humans to read and to understand What symbol is used at the beginning of an in-line comment? - correct answer # What punctuation is used to begin a multi-line comment? - correct answer """ What name follows all naming rules? - correct answer make_square If I am creating a function that makes two squares, what would be the best name option? - correct answer draw_squares What is not a way functions make our code more readable? - correct answer Each function only contains one command What two things must be included in your function definition? - correct answer A function name and commands to be performed What is the proper way to call the function three_circles? - correct answer three_circles() How would I change Tracy's trail to a yellow line with a thickness of 10 pixels? - correct answer color("yellow) pensize(10) What is true of Tracy's color command? - correct answer The color name must be in quotation marks What is the correct way to draw a circle that is filled in? - correct answer begin_fill circle(20) end_fill what would be the output of the following command? - correct answer circle(50,360,5) What would be the output of the following command? - correct answer circle(50,180,3) Top down design makes it easier to solve a problem by... - correct answer Breaking the problem down into smaller parts
What is not an example of using top down design? - correct answer Using descriptive names for variables Variables allow us to... - correct answer Store information to use in our programs Which program will have Tracy move forward 10, then turn left and move forward 20? - correct answer distance= forward(distance) left(90) distance = distance * 2 forward(distance) Which program would produce the following output? - correct answer square_length = 20 for i in range(4): forward(square_length) left(90) square_length = square_length * 2