CS1 Unit 8 Review

Quiz
•
Computers
•
9th - 12th Grade
•
Hard
Sarah Chapa
Used 5+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The ___________ method removes the first occurrence of an element in a list.
append
len
remove
pop
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is true about a function?
It is a collection of commands that are given a name.
It is a collection of individual letters, digits, or symbols.
It is a variable that stores letters, numbers, and words, and is not used for calculations
It is a data structure that holds many pieces of data at the same time.
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
Consider the following code:
What is output when the user enters 80?
Values above 80: 5
Values above 80: 9
Values above 80: 7
Values above 80: 2
4.
FILL IN THE BLANK QUESTION
20 sec • 1 pt
Consider the following code:
What is the output?
5.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Which of the following can be used to create a list that has some initial values?
An element
An index
The insert method
An initializer list
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Why do we use for loops with lists?
We can only use for loops with lists because while loops don’t work
For loops let us access every element of a list
For loops are faster than while loops for lists
We don’t; only while loops should be used with lists
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
The ____________ method can be used to add elements in the middle of the list.
pop
insert
extend
append
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Python Fundamentals Quiz

Quiz
•
11th Grade
20 questions
List Operations Review

Quiz
•
11th Grade
15 questions
Recursion in Java

Quiz
•
11th - 12th Grade
13 questions
C++ Loops

Quiz
•
9th - 12th Grade
20 questions
Loops, Lists, Traversals test

Quiz
•
11th Grade
20 questions
Unit 5 Quiz - Loops & Lists (code.org)

Quiz
•
10th - 12th Grade
20 questions
AP CSP Unit 6

Quiz
•
10th - 12th Grade
15 questions
list in python

Quiz
•
10th - 12th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
10 questions
Proper Keyboarding Techniques

Interactive video
•
6th - 10th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Understanding Computers: Hardware, Software, and Operating Systems

Interactive video
•
7th - 12th Grade
29 questions
AP CSP Unit 2 Review (Code.org)

Quiz
•
10th - 12th Grade