
Demo Final for Quizizz
Authored by Sara Waugh
Computers
10th Grade
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
46 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This program uses a for loop to make a square with sides 70 pixels long. Which line(s) will cause errors?
Line 1
Line 2
Line 3
Lines 1 and 3
Lines 1, 2 and 3
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This program uses a loop to create an asterisk with 10 lines. Which line(s) will cause errors?
Line 1
Line 2
Line 4
Lines 1 and 2
Lines 1 and 5
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Define a function to make a dashed line across the world. There should be 50 pixels between each line. Tracy will start at the left edge of the world. What is wrong with the function?
You define the function but you never call it
The : is missing at the end of line 1 - It should be def make_dashed_line():
You should not have a : at the end of the for loop on line 2
Lines 3, 4, 5, and 6 should not be indented
Answer explanation
The correct choice highlights that the function definition is missing a colon at the end of line 1. It should be 'def make_dashed_line():'. This is a syntax error that prevents the function from being defined properly.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This program will move to the left side of the world and draw a circle as shown in the image. What command needs to be added to line 1?
penup()
erase()
forward()
goto(-200,0)
Answer explanation
The command 'penup()' is needed to lift the pen before moving to the left side, preventing any unwanted lines from being drawn. This allows the program to move without drawing until it reaches the desired position to draw the circle.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This program is supposed to make an octagon. Instead, it has 8 short lines in a row. What should be done to fix it?
remove the 'i' on line 1
indent the 'left(45)' on line 3
change 'left(45)' to 'turn(45)'
remove the indent for 'forward(10)' on line 2
Answer explanation
Indenting 'left(45)' on line 3 ensures that it is executed as part of the loop that draws the octagon. This change will allow the program to turn correctly after each line, forming the desired octagonal shape instead of short lines.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This function is supposed to have Tracy create a filled in pink hexagon. Instead, it only draws the outline. What is the problem?
The comment should have """ before and """ after it.
Missing the () on line 6 - it should be end_fill()
There is no way to fill in shapes in Python
The function is defined but it is never called.
Answer explanation
The issue is that the function is missing parentheses on line 6. It should be 'end_fill()' to properly fill the shape. Without the parentheses, the fill command is not executed, resulting in only the outline being drawn.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
This program draws two lines that are 50 pixels long with 20 pixels between them. Which line(s) will cause errors?
Line 1
Line 2
Line 3
Line 4
Line 5
Answer explanation
Line 3 will cause errors because it likely contains incorrect syntax or logic that prevents it from executing properly. The other lines are correctly formatted and should work as intended.
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
50 questions
CAT - Gr 10 - Hardware & Software
Quiz
•
KG - University
45 questions
Computer Architecture : Basic
Quiz
•
8th - 10th Grade
45 questions
BTEC DIT User interface design
Quiz
•
9th - 12th Grade
50 questions
TIN HỌC 10 HK2
Quiz
•
10th - 12th Grade
45 questions
GCSE Computing
Quiz
•
10th - 11th Grade
50 questions
Excel Review
Quiz
•
9th - 12th Grade
44 questions
AP Computer Science Principles Units 1, 2 & 3
Quiz
•
10th - 12th Grade
50 questions
Soal Kejuruan TKJ 4
Quiz
•
10th - 11th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade