
COMPSCI 101 - Lab 09 (FA23) Exam 2 Review

Quiz
•
Education
•
University
•
Medium
Aloye Oshotse
Used 49+ times
FREE Resource
41 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this code?
8.0
4.0
10.0
7.0
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this code?
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the output of this code?
a = [10, 20, 30, 50]
b = [10, 20, 30, 40]
a = [10, 20, 30, 40]
b = [10, 20, 30, 50]
a = [10, 20, 30, 50]
b = [10, 20, 30, 50]
a = [10, 20, 30, 40]
b = [10, 20, 30, 40]
Answer explanation
Concatenation of a + [50] creates a new list in memory
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What will this code output?
20, and then None
Only 20
Only None
None, and then 20
Answer explanation
Every function's default return value is None
5.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this code?
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this code?
4
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
What is the output of this code?
csisf
reso!
science
Create a free account and access millions of resources
Similar Resources on Wayground
40 questions
MCQ HOTS HPGD2203 ENG

Quiz
•
University
39 questions
WED40caudau

Quiz
•
University
40 questions
Cloud Computing Quiz

Quiz
•
University
42 questions
MCE FINAL EXAM (Multicultural Education)

Quiz
•
University
38 questions
MARKETING (CHAPTER 6: PRICING)

Quiz
•
University
45 questions
Test-1

Quiz
•
University
36 questions
SLA - Lesson 2

Quiz
•
University
36 questions
Sistem Berkas

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

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

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Education
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University