Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 34 pages
Exam (elaborations)

CMN 152V Exam Prep– Questions With Appropriate Solutions

Document preview thumbnail
Preview 4 out of 34 pages

CMN 152V Exam Prep– Questions With Appropriate Solutions

Content preview

CMN 152V Exam Prep– Questions With Appropriate
Solutions

Save




Practice questions for this set


Learn 1 /7 Study using Learn




empty_string2 — try it
Which option is not True?



Choose an answer



1 len('') == 0 2 len( '' ) == 0



3 len( '' + '1' ) == 2 4 len( '' + '1' + '1' ) == 2



Don't know?




Terms in this set (134)



booleans2 — try itWhich of the not not False
following does not equal True


True
not False
not not True
not not False

,leading_zero — try itIn place of the ... 1. In python 0.003 is the same as .003
below, enter the number of the
statement you think is true:
1. In Python, 0.003 is the same as .003
2. In Python, 0.003 is different from
.003
3. Both statements are true.


big_numbers — try itIn place of the ..., 50000000000
enter the number 50 billion in a way
Python understands it


arithmetic1 — try itIn place of the ... (3*4)+(5+6)
below, write the code version of "The
product of 3 and 4, plus the sum of 5
and 6."


arithmetic2 — try itIn place of the ... 4*5-(4-3)
below, enter an expression that will
compute the difference between 4
multiplied by 5, and 4 minus 3


spaces_in_arithmetic1 — try itIn place None of the expressions gives a different answer in
of the ... below, enter the number of Python
the statement that gives a different
response in Python:
1+4*5
1+4*5
1 + 4*5
None of the expressions gives a
different answer in Python

,spaces_in_arithmetic2 — try itIn place 23
of the ... below, enter the number of
the statement that gives a different
response in Python:
2**3
2 ** 3
23
None of the expressions gives a
different answer in Python


parentheses — try itIn place of the ... (4 * 8) + 1
below, enter the number of the
statement you think equals 4 * 8 + 1
(4 * 8) + 1
4 * (8 + 1)


notebook_blocks — try itWorking in The code in this line is written incorrectly.
this notebook, you may sometimes
get an error running this code. Which
of the reasons below is not the reason
why?
print( math.pi*3)


The code in this line is written
incorrectly.
You didn't import the information that
python needs to understand this
code.
Python doesn't immediately recognize
math.
You didn't run all of the code blocks
above this code block.


import_syntax1 — try itEnter into 2
check() the number of the statement
that will correctly import the math
module
1. math import
2. import math
3. i m p o r t m a t h

, import_syntax2 — try itEnter into 2
check() the number of the code that
will give the sin of pi over two
1. math.sine( math.pi/2 )
2. math.sin( math.pi / 2 )
3. sine( pi/2 )


scientific_notation — try itEnter into 0
check() the number closest to
-1.2246467991473532e-16
-1224646799147353.2
-1.22
0
1.22
1.2246467991473532


code_blocks_output1 — try itEnter into 11
check() what numbers a user would
see as the output of this code block
6+3
10
5+6


9
10
11
9, 10
9, 11
10, 11
9, 10, 11

Document information

Uploaded on
February 8, 2026
Number of pages
34
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$30.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
StudyHall
3.8
(225)
Sold
1336
Followers
825
Items
17071
Last sold
1 week ago


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

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions