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
20 questions
Python

Quiz
•
12th Grade
20 questions
Control Statements in Python

Quiz
•
11th Grade
15 questions
CP M4 Repetition & Loops

Quiz
•
9th - 12th Grade
13 questions
Python Functions

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

Quiz
•
10th - 12th Grade
15 questions
CPM9.1-9.3 Quiz Review

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

Quiz
•
10th - 12th Grade
16 questions
Subroutines

Quiz
•
9th - 11th Grade
Popular Resources on Wayground
12 questions
Unit Zero lesson 2 cafeteria

Lesson
•
9th - 12th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
20 questions
Lab Safety and Equipment

Quiz
•
8th Grade
13 questions
25-26 Behavior Expectations Matrix

Quiz
•
9th - 12th 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
20 questions
Introduction to Desktop Computer Systems

Quiz
•
9th - 12th Grade
14 questions
Inputs and Outputs: Computer Science Intro

Lesson
•
5th - 9th Grade
10 questions
Computer Hardware and Input/Output Devices

Interactive video
•
6th - 10th Grade