CodeHS 2.6-2.11 questions & answers rated A+ 2023
CodeHS 2.6-2.11 questions & answers rated A+ 2023Comments are written for... Humans to read and to understand What symbol is used at the beginning of an in-line comment? # What punctuation is used to begin a multi-line comment? """ What name follows all naming rules? make_square If I am creating a function that makes two squares, what would be the best name option? draw_squares What is not a way functions make our code more readable? Each function only contains one command What two things must be included in your function definition? A function name and commands to be performed What is the proper way to call the function three_circles? three_circles() How would I change Tracy's trail to a yellow line with a thickness of 10 pixels? color("yellow) pensize(10) What is true of Tracy's color command? The color name must be in quotation marks What is the correct way to draw a circle that is filled in? begin_fill circle(20) end_fill what would be the output of the following command? circle(50,360,5) What would be the output of the following command? circle(50,180,3) Top down design makes it easier to solve a problem by... Breaking the problem down into smaller parts What is not an example of using top down design? Using descriptive names for variables Variables allow us to... Store information to use in our programs Which program will have Tracy move forward 10, then turn left and move forward 20? distance=10 forward(distance) left(90) distance = distance * 2 forward(distance)
Written for
- Institution
- Code HS
- Course
- Code HS
Document information
- Uploaded on
- March 17, 2023
- Number of pages
- 2
- Written in
- 2022/2023
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- what punctuation is used
-
codehs 26 211 questions amp answers rated a 2023
-
comments are written for humans to read and to understand
-
what symbol is used at the beginning of an in line comment
Also available in package deal