CS 150b knowledge check 2 - 8
What industry was the very first computer used, even though it was not a general purpose machine? - answerCorrect answer:
Clothing / Weaving
Which law does the following statement describe?
"The creation of technology creates more technology." - answerInvention is the mother of necessity.
The following story is an example of which Law of Technology?
A lady came up to the great violinist Fritz Kreisler after a concert and gushed, "Maestro, your violin makes such beautiful music." Kreisler held his violin up to his ear and said, "I don't hear any music coming out of it." - answerTechnology is a very human activity.
What does the following code print (be exact, but you don't need to worry about new line
characters.
first = "Ada Lovelace"print("The world's first programmer is " + first + ".") - answerThe world's first programmer is Ada Lovelace.
SyntaxError - The program contains invalid code that cannot be understood.
TypeError - An operation uses incorrect types - can occur if adding an integer to a string.
IndentationError - The lines of the program are not properly indented. - answerNameError - The program tries to use a variable that does not exist.
ValueError - An invalid value is used - can occur if giving letters to int().
print(20) - prints 20 to the screen
print("wage") - prints the word wage to the screen - answerwage = 20 = Stores the numeric value 20 in the variable wage
Which law does the following statement describe?
By studying the technology of the time, we are also studying human society. - answerAll
history is relevant, but the history of technology is the most relevant.
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card or Stuvia-credit for the summaries. There is no membership needed.
Focus on what matters
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!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
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.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller julianah420. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for $17.49. You're not tied to anything after your purchase.