
Intro to Programming Chapter 7 Python
Quiz
•
Computers
•
University
•
Practice Problem
•
Easy
Lolu Oyebola
Used 1+ times
FREE Resource
Enhance your content in a minute
27 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the data items in the list called?
data
elements
items
values
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which list will be referenced by the variable number after the execution of the following code?
number = range(0, 9, 2)
a. [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]
b. [1, 3, 5, 7, 9]
c. [2, 4, 6, 8]
d. [0, 2, 4, 6, 8]
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would you use if an element is to be removed from a specific index?
a. del statement
b. remove method
c. index method
d. slice method
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the first negative index in a list?
a. 0
b. -1
c. -0
d. Size of the string or list minus one
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What method can be used to place an item in the list at a specific index?
a. append
b. index
c. insert
d. Add
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the value of the variable list after the execution of the following code?
list = [1, 2]
list = list * 3
a. [1, 2] * 3
b. [3, 6]
c. [1, 2, 1, 2, 1, 2]
d. [[1, 2], [1, 2], [1, 2]]
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the value of the variable list after the execution of the following code?
list = [1, 2, 3, 4]
list[3] = 10
a. [1, 2, 3, 10]
b. [1, 2, 10, 4]
c. [1, 10, 10, 10]
d. Invalid code
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
Already have an account?
Similar Resources on Wayground
24 questions
AI 900 - pt 3
Quiz
•
University
25 questions
Understanding Input, Selection and Loops in Python
Quiz
•
7th Grade - University
22 questions
FUNDAMENTAL CONCEPTS (VIDEO)
Quiz
•
University
22 questions
representing numbers (lesson 1 plenary)
Quiz
•
6th Grade - University
23 questions
ICEBERG_Assessment_Pre
Quiz
•
University - Professi...
23 questions
Module 3. Exploitation
Quiz
•
University
23 questions
T-Mobile Quiz 2
Quiz
•
University
23 questions
Object-Oriented Design Final Exam
Quiz
•
University
Popular Resources on Wayground
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
15 questions
Solving Equations with Variables on Both Sides Review
Quiz
•
8th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
7 questions
Transition Words and Phrases
Interactive video
•
4th Grade - University
7 questions
Force and Motion
Interactive video
•
4th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
34 questions
Unit 5 Review - The Middle Ages in Europe-B
Quiz
•
9th Grade - University
26 questions
Day2 classwork: Permutation and combination
Quiz
•
2nd Grade - University
5 questions
Using Context Clues
Interactive video
•
4th Grade - University
