Package deal
CS 1101 EXAM BUNDLE GRADED A+
CS 1101 EXAM BUNDLE GRADED A+
[Show more]CS 1101 EXAM BUNDLE GRADED A+
[Show more]IBM and the Holocaust - Answer-IBM sold calculating machines to Nazi Germany to calculate the number 
of Jews in Germany. 

Herman Hollerith - Answer-realized that he could encode information on punch cards. railroad. IBM. 
1890 census data on punch cards 
Alonzo Church - Answer-was able to express ...
Preview 2 out of 12 pages
Add to cartIBM and the Holocaust - Answer-IBM sold calculating machines to Nazi Germany to calculate the number 
of Jews in Germany. 

Herman Hollerith - Answer-realized that he could encode information on punch cards. railroad. IBM. 
1890 census data on punch cards 
Alonzo Church - Answer-was able to express ...
A program - is a sequence of instructions that specifies how to perform a computation. 
Input - Get data from the keyboard, a file, the network, or some other device. 
output - Display data on the screen, save it in a file, send it over the network, etc. 
math - Perform basic mathematical operations...
Preview 1 out of 4 pages
Add to cartA program - is a sequence of instructions that specifies how to perform a computation. 
Input - Get data from the keyboard, a file, the network, or some other device. 
output - Display data on the screen, save it in a file, send it over the network, etc. 
math - Perform basic mathematical operations...
What output will the following python command produce: 
print (1,000,000) - Answer-1 0 0 
What output will the following python commands produce: 
n = 17 
print (n) - Answer-17 
What output will the following python command produce: 
>>> percentage = ( 60 * 100) // 55 
>>> print (p...
Preview 1 out of 2 pages
Add to cartWhat output will the following python command produce: 
print (1,000,000) - Answer-1 0 0 
What output will the following python commands produce: 
n = 17 
print (n) - Answer-17 
What output will the following python command produce: 
>>> percentage = ( 60 * 100) // 55 
>>> print (p...
The set of modules that are included in the default installation of python are known as the: - Standard 
Library 
Variables that are defined inside of a module are called what? - Attributes 
Creating a python script file with a .py extension on the filename and placing it in the appropriate 
directo...
Preview 1 out of 2 pages
Add to cartThe set of modules that are included in the default installation of python are known as the: - Standard 
Library 
Variables that are defined inside of a module are called what? - Attributes 
Creating a python script file with a .py extension on the filename and placing it in the appropriate 
directo...
What is the output of the following Python program? 
mylist = [ [2,4,1], [1,2,3], [2,3,5] ] 
a=0 
total = 0 
while a < 3: 
b = 0 
while b < 2: 
total += mylist[a][b] 
b += 1 
a += 1 
print(total) 
Select one: 
a. 14 
b.23 
c.0 
d.13 - Answer-a) 14 
In Python, a list of characters is the same a...
Preview 1 out of 3 pages
Add to cartWhat is the output of the following Python program? 
mylist = [ [2,4,1], [1,2,3], [2,3,5] ] 
a=0 
total = 0 
while a < 3: 
b = 0 
while b < 2: 
total += mylist[a][b] 
b += 1 
a += 1 
print(total) 
Select one: 
a. 14 
b.23 
c.0 
d.13 - Answer-a) 14 
In Python, a list of characters is the same a...
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,...
Preview 4 out of 57 pages
Add to cartExpressions 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,...
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-1...
Preview 1 out of 3 pages
Add to cartWhat 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-1...
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 - Answer-b. Method 
Assume that d is a Python dictionary. What does the following Python code produ...
Preview 1 out of 4 pages
Add to cartIn 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 - Answer-b. Method 
Assume that d is a Python dictionary. What does the following Python code produ...
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Stuvia is a marketplace, so you are not buying this document from us, but from seller PatrickKaylian. Stuvia facilitates payment to the seller.
No, you only buy these notes for $16.49. You're not tied to anything after your purchase.
4.6 stars on Google & Trustpilot (+1000 reviews)
78998 documents were sold in the last 30 days
Founded in 2010, the go-to place to buy study notes for 14 years now