100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached 4.2 TrustPilot
logo-home
Exam (elaborations)

CS 160 Final Review | Complete Study Guide with Verified Questions, Correct Answers, and Detailed Explanations for Computer Science Students||Already Graded A+

Rating
-
Sold
-
Pages
66
Grade
A+
Uploaded on
07-11-2025
Written in
2025/2026

CS 160 Final Review | Complete Study Guide with Verified Questions, Correct Answers, and Detailed Explanations for Computer Science Students||Already Graded A+

Institution
CS 160
Course
CS 160











Whoops! We can’t load your doc right now. Try again or contact support.

Written for

Institution
CS 160
Course
CS 160

Document information

Uploaded on
November 7, 2025
Number of pages
66
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Content preview

CS 160 Final Review | 2025-2026 Complete Study Guide with
Verified Questions, Correct Answers, and Detailed Explanations
for Computer Science Students||Already Graded A+
Which choice is true about functions?
a. Functions must be defined before they can be called.
b. Functions are reusable abstractions.
c. Functions are used to organize code, make it more readable, and
remove repeated blocks of code.
d. All of the above.
All of the above
How many bits would you need if you wanted to have the ability to
count up to 100?
7
How many different numbers can 6 bits represent?
64
If 2 bits can represent 2^2 values, and 3 bits can represent 2^3 values,
and 4 bits can represent 2^4 values, then n bits can represent:
2^n values
What are the 4 processes every computer performs?
input, output, processing, storage
In the expression 12.45 + 3.6, the values to the right and left of the +
symbol are the ________.
operands
A(n) ________ is a name that represents a value stored in the
computer's memory.
variable
The ________ statement is used to create a decision structure.


pg. 1

,selection
What is Step 1 in a Selection Sort algorithm?
1. Set MIN to index 0
The two basic operations in sorting algorithms are:
Comparison Operation, Swap Operation
One con of using linear search is:
it does not scale well to large lists
Which of the following statements are true about routers and routing
on the Internet. Choose two answers.
1. Routers act independently and route packets as they see fit.
2. Routers are hierarchical and the "root" router is responsible for
communicating to sub-routers the best paths for them to route internet
traffic.
3. Protocols ensure that a single path between two computers is
established before sending packets over it.
4. A packet traveling between two computers on the Internet may be
rerouted many times along the way or even lost or "dropped".
1 and 4
What will the following code print to the console window when
executed:
print("Python is cool!")
Python is cool!
In Python the ________ symbol is used as the equality operator.
"=="
A Boolean variable can reference one of two values which are:
True or False.



pg. 2

,When applying the .3f formatting specifier to the number 76.15854,
the result is ________.
76.159
What are the 4 processes every computer performs?
input, output, processing, storage
________ are notes of explanation that document lines or sections of
a program.
Comments
Which of the following is the correct if clause to determine whether
choice is anything other than 10?
if choice != 10:
Which of the following allows users to refer to Web sites using
names, such as example.com, rather than numbers, such as
93.184.216.34 ?
The domain name system (DNS)
A(n) ________ statement will execute one block of statements if its
condition is true or another block if its condition is false.
if-else
The % symbol is the remainder operator, also known as the ________
operator.
modulus
Which components in the list would be considered "input" devices?
keyboard, mouse, touch screen
After the execution of the following statement, the variable sold will
reference the numeric literal value as (n) ________ data type.sold =
256.752
float



pg. 3

, A(n) ________ loop usually occurs when the programmer does not
include code inside the loop that makes the test condition false.
infinite
What will be the output after the following code is executed?
(See image)Science, Computer
The ________ built-in function is used to read a number that has been
typed on the keyboard.
input()
The chart above shows the frequency of searches for the words
"pencil" and "pen" over a 5 year period. Which of the following is the
best interpretation of the chart above?
(See image)
At any point in time there are typically more people searching for the
word "pen" than "pencil"
Choose the question that CANNOT be answered using the graph
below:
What approximate percent % of dogs live fewer than 7 years.
Artificial Intelligence is a branch of computer science that allows
computers to make_________and __________
predictions, decisions
AI is an umbrella term to describe intelligence displayed by machines
and includes (choose two):
machine learning, natural language processing
You have used TextBlob to process an article, which results in a
subjectivity score of 0.78 and polarity score of -0.28. How would you
categorize the sentiment of the article?
Negative



pg. 4
$18.49
Get access to the full document:

100% satisfaction guarantee
Immediately available after payment
Both online and in PDF
No strings attached

Get to know the seller
Seller avatar
ExamEdgePro
3.0
(3)

Get to know the seller

Seller avatar
ExamEdgePro Walden University
View profile
Follow You need to be logged in order to follow users or courses
Sold
6
Member since
5 months
Number of followers
1
Documents
181
Last sold
1 month ago

We are a digital platform committed to helping students and professionals achieve their academic and career goals with confidence. At ExamEdgePro, we provide: -curated exam papers & real past questions. -Expert-verified answer keys We pride ourselves on offering value, authenticity and results. Whether students are preparing for competitive university entrance exams, professional certifications, or final board assessments, we aim to be their trusted resource for effective and efficient preparation. Thankyou for considering ExamEdgePro as your patner in education.

Read more Read less
3.0

3 reviews

5
0
4
0
3
3
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Frequently asked questions