
Demo Final for Quizizz
Quiz
•
Computers
•
10th Grade
•
Medium
Sara Waugh
Used 1+ times
FREE Resource
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.
Create a free account and access millions of resources
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
45 questions
PAT Informatika Genap
Quiz
•
9th - 12th Grade
45 questions
Nesne Tabanlı Quiz 3
Quiz
•
10th Grade
47 questions
IT Fundamentals Chapter 6
Quiz
•
8th - 12th Grade
43 questions
Ôn Tập Kiểm Tra KHTN 7
Quiz
•
1st Grade - University
50 questions
Latihan Soal PSAS Dasar TJKT
Quiz
•
10th Grade
44 questions
OCR J275 - Networks Part A
Quiz
•
8th - 11th Grade
50 questions
ULANGAN HARIAN TEKNIK PENGOLAHAN AUDIO DAN VIDEO
Quiz
•
1st - 12th Grade
42 questions
3.2 Data - Data representation
Quiz
•
10th Grade
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NEASC Extended Advisory
Lesson
•
9th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade