Cs 1101 Study guides, Class notes & Summaries
Looking for the best study guides, study notes and summaries about Cs 1101? On this page you'll find 75 study documents about Cs 1101.
Page 2 out of 75 results
Sort by
-
CS 1101 Programming Fundamentals Final Exam Review with Complete Solutions
- Exam (elaborations) • 24 pages • 2024
- Available in package deal
-
- $9.99
- + learn more
CS 1101 Programming Fundamentals 
Final Exam Review with Complete 
 
Solutions 
 
What output will the following Python program produce? 
 
n = 10000 
count = 0 
while n: 
 
count = count + 1 
n = n / 10 
n=int(n) 
print(count) 5 
 
What output will the following Python commands produce? 
 
>>> percentage = float ( 60 * 100) / 55 
>>> print (percentage) 109. 
 
What does the following Python 3 function do? 
 
def subroutine(n): 
while n > 0: 
print (n,) 
n -= 1 Counts from n...
-
CS 1101 TRUE/FALSE LATEST 2024 GRADED A+
- Exam (elaborations) • 8 pages • 2024
- Available in package deal
-
- $9.99
- + learn more
CS 1101 TRUE/FALSE LATEST 2024 
 
GRADED A+ 
 
Fortran language was designed to process business transactions FALSE 
 
The COBOL language was designed to solve business problems and was adapted to processing 
business transactions TRUE 
 
The C language was developed at Bell Labs with the objective of being the first object oriented 
language FALSE 
 
Perl, Python, and PHP are all compiled languages FALSE 
 
A program is a sequence of instructions that specifies how to perform a computation. TRU...
-
CS 1101 Exam Questions And Answers (Verified And Updated)
- Exam (elaborations) • 54 pages • 2024
-
- $12.49
- + learn more
CS 1101 Exam Questions And Answers 
(Verified And Updated) 
Expressions evaluate to either true or false. What will the output of the following code be when 
the expression "Ni!" is evaluated? 
if "Ni!": 
print ('We are the Knights who say, "Ni!"') 
else: 
print ("Stop it! No more of this!") 
Select one: 
a. Stop it! 
b. We are the Knights who say, "Ni!" Correct 
c. Stop it! No more of this!" 
d. No output will be produced - answerWe are the Knights who say, "Ni!" 
How many differ...
-
CS 1101: Programming Fundamentals Exam Questions And Answers (Verified And Updated)
- Exam (elaborations) • 40 pages • 2024
-
- $14.49
- + learn more
CS 1101: Programming Fundamentals Exam 
Questions And Answers (Verified And 
Updated) 
Consider the following Python program. 
fin = open('') 
for line in fin: 
word = () 
print(word) 
What does the program loop over? 
a. Lines in a file 
b. Lines in a list 
c. Words in a dictionary 
d. Words in a list 
e. Words in a string - answera. Lines in a file 
Assume the following Python code has already executed. 
import os 
cwd = d() 
Which answer is most likely output from the following Python state...
-
CS 1101 Programming Fundamentals Final Exam (page 1 of 3) – Grade A University of the People
- Exam (elaborations) • 8 pages • 2024
- Available in package deal
-
- $12.49
- + learn more
CS 1101 Programming Fundamentals Final Exam (page 1 of 3) – Grade A University of the People
As you read this, a fellow student has made another $4.70
-
CS 1101 Programming Fundamentals Final Exam Review with Complete Solutions
- Exam (elaborations) • 24 pages • 2024
-
- $9.99
- + learn more
CS 1101 Programming Fundamentals 
Final Exam Review with Complete 
Solutions 
What output will the following Python program produce? 
n = 10000 
count = 0 
while n: 
count = count + 1 
n = n / 10 
n=int(n) 
print(count) 5 
What output will the following Python commands produce? 
>>> percentage = float ( 60 * 100) / 55 
>>> print (percentage) 109. 
What does the following Python 3 function do? 
def subroutine(n): 
while n > 0: 
print (n,) 
n -= 1 Counts from n down to 1 and d...
-
CS 1101: Programming Fundamentals Exam Questions And Answers (Verified And Updated)
- Exam (elaborations) • 40 pages • 2024
-
- $14.49
- + learn more
CS 1101: Programming Fundamentals Exam 
Questions And Answers (Verified And 
Updated) 
Consider the following Python program. 
fin = open('') 
for line in fin: 
word = () 
print(word) 
What does the program loop over? 
a. Lines in a file 
b. Lines in a list 
c. Words in a dictionary 
d. Words in a list 
e. Words in a string - answera. Lines in a file 
Assume the following Python code has already executed. 
import os 
cwd = d() 
Which answer is most likely output from the following Python state...
-
CS 1101 Exam Questions And Answers (Verified And Updated)
- Exam (elaborations) • 54 pages • 2024
-
- $14.49
- + learn more
CS 1101 Exam Questions And Answers 
(Verified And Updated) 
Expressions evaluate to either true or false. What will the output of the following code be when 
the expression "Ni!" is evaluated? 
if "Ni!": 
print ('We are the Knights who say, "Ni!"') 
else: 
print ("Stop it! No more of this!") 
Select one: 
a. Stop it! 
b. We are the Knights who say, "Ni!" Correct 
c. Stop it! No more of this!" 
d. No output will be produced - answerWe are the Knights who say, "Ni!" 
How many differ...
-
CS 1101 Self-Quiz Unit 4 with Verified Solutions
- Exam (elaborations) • 6 pages • 2024
- Available in package deal
-
- $9.99
- + learn more
CS 1101 Self-Quiz Unit 4 with Verified 
 
Solutions 
 
One of the advantages of a function is that it allows the programmer to alter the flow of 
execution in the program. False 
 
A stack diagram shows the value of each variable and the function to which each variable 
belongs. True 
 
True or False: The graphical representation of a stack of functions, their variables, and the values 
to which they refer is called a traceback? False 
 
True or False: A local variable is a variable defined insi...
-
CS 1101 Questions and Answers Already Graded A
- Exam (elaborations) • 6 pages • 2024
- Available in package deal
-
- $9.99
- + learn more
CS 1101 Questions and Answers Already 
 
Graded A 
 
In the following segment of Python code, what do we call the portion of the statement that 
follows the dot('.capitalize')? 
alize('maryland') 
a. Module 
b. Method 
c. Attribute 
 
d. Function name b. Method 
 
Assume that d is a Python dictionary. What does the following Python code produce? 
for k in d: if d[k] == v: return k 
 
Select one: 
a. a histogram 
b. an inverted dictionary 
c. a list of tuples 
d. a lookup 
 
e. a reverse look...
How did he do that? By selling his study resources on Stuvia. Try it yourself! Discover all about earning on Stuvia