Cs1101 unit 5 - Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about Cs1101 unit 5? On this page you'll find 3 study documents about Cs1101 unit 5.
All 3 results
Sort by
-
CS1101 - Unit 5 Questions and Answers Already Passed
- Exam (elaborations) • 5 pages • 2024
- Available in package deal
-
- $9.99
- + learn more
CS1101 - Unit 5 Questions and Answers 
 
Already Passed 
 
What does function subroutine do? 
 
def subroutine( n ): 
while n > 0: 
print (n,) 
n -= 1 Counts from n down to 1 and displays each number 
 
What output will the following python command produce: 
 
>>> percentage = float ( 60 * 100) / 55 
>>> print (percentage) 109. 
 
What output will the following python commands produce: 
n = 10000 
count = 0 
 
while n: 
 
count = count + 1 
 
n = n // 10 
 
print (count) 5 
...
-
CS1101 Unit 7 Questions with Verified Answers
- Exam (elaborations) • 5 pages • 2024
- Available in package deal
-
- $9.99
- + learn more
CS1101 Unit 7 Questions with Verified 
 
Answers 
 
A data type in which the values are made up of components, or elements, that are themselves 
values is known as an object data type. False 
 
Given any real numbers a and b, exactly one of the following relations holds: a < b, a > b, or a = 
b. Thus when you can establish that two of the relations are false, you can assume the remaining 
one is true. 
 
This principle is known as: Trichotomy 
 
Given the following code what will the outpu...
-
CS1101 - Unit 5 Questions With 100% Correct!!
- Exam (elaborations) • 3 pages • 2024
- Available in package deal
-
- $7.99
- + learn more
What does function subroutine do? 
def subroutine( n ): 
while n > 0: 
print (n,) 
n -= 1 - Answer-Counts from n down to 1 and displays each number 
What output will the following python command produce: 
>>> percentage = float ( 60 * 100) / 55 
>>> print (percentage) - Answer-109. 
What output will the following python commands produce: 
n = 10000 
count = 0 
while n: 
count = count + 1 
n = n // 10 
print (count) - Answer-5 
What output will the following python commands p...
Want to regain your expenses?
How much did you already spend on Stuvia? Imagine there are plenty more of you out there paying for study notes, but this time YOU are the seller. Ka-ching! Discover all about earning on Stuvia