Unit 8
Quiz
•
Computers
•
9th - 12th Grade
•
Medium
Julia McGreal
Used 7+ times
FREE Resource
Enhance your content in a minute
7 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following programs would produce the following output:
my_list = ["honey", "bread", "jelly", "plates"]
for index in range(len(my_list)): print(str(index) + ". " + my_list)
my_list = ["honey", "bread", "jelly", "plates"]
for index in range(len(my_list)): print(str(index+1) + ". " + my_list[index])
my_list = ["honey", "bread", "jelly", "plates"]
for index in my_list: print(str(index+1) + ". " + my_list[index])
my_list = ["honey", "bread", "jelly", "plates"]
for index in len(my_list): print(str(index) + ". " + my_list[index])
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What kind of data structure is user_data in the following declaration?
user_data = ["TJ", 24, "artLover123"]
Tuple
List
2D List
String
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Which of the following lines of code will cause an error? Use the following definition of ages:
ages = (12, 5, 8)
ages = ages + (1, 3, 5)
ages = ages + (1, 3, 5)
print(ages[2])
ages = ages[2:]
ages[0] = 3
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What does this code snippet print?
fruit = ["b", "n", "n"]
print("a".join(fruit))
bnn
bnn
ba na na
banan
bbb
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the value of num after this code runs?
shapes = ["triangle", "square", "hexagon", "circle", "pentagon"]
num = len(shapes)
0
4
5
33
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What does this program print?
My favorite animal is a dog or penguin
My favorite animal is a penguin or chipmunk
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will be the output of the following program?
[1, 2, 3, 4, 5, 5, 5, 5]
[1, 2, 3, 4, 5]
[1, 2, 3, 4, 6, 7, 8, 9]
[1, 2, 3, 4, 5, 6, 7, 8]
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
12 questions
9-Класс
Quiz
•
9th Grade
10 questions
Bài 29 NHẬN BIẾT LỖI CHƯƠNG TRÌNH
Quiz
•
10th Grade
10 questions
Khởi động
Quiz
•
9th - 12th Grade
10 questions
TIN HỌC 10 - BÀI 21
Quiz
•
10th Grade
10 questions
4Q Week3 Review Quiz (Who missed the Quiz ONLY))
Quiz
•
9th Grade
10 questions
Soal BAB V PemWeb
Quiz
•
12th Grade
12 questions
10 Клас Python tests
Quiz
•
10th Grade
10 questions
แบบทดสอบครั้งที่ 2
Quiz
•
9th 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
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
