100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
Computer Science- Test 1 Review 100% Correct $10.19   Add to cart

Exam (elaborations)

Computer Science- Test 1 Review 100% Correct

 8 views  0 purchase
  • Course
  • Computer Science-
  • Institution
  • Computer Science-

Which of the following is NOT an input device? - ANSWER-printer Which of the following are true about main and secondary memory? - ANSWER-Main memory is short term memory used by the CPU in processing commands, secondary memory is more permanent and used for storage. Which of the following co...

[Show more]

Preview 1 out of 2  pages

  • October 31, 2024
  • 2
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • Computer Science-
  • Computer Science-
avatar-seller
Topgrades20
Computer Science- Test 1 Review 100% Correct


Which of the following is NOT an input device? - ANSWER-printer

Which of the following are true about main and secondary memory? - ANSWER-Main
memory is short term memory used by the CPU in processing commands, secondary
memory is more permanent and used for storage.

Which of the following controls computer memory? - ANSWER-operating system

What is the correct order for the steps the compiler uses in translating code? -
ANSWER-Check for mistakes, Translate commands to machine language, Run the
commands

What is input? - ANSWER-Putting information into the computer

Which of the following is a legal variable name? - ANSWER-temperatureAM

The two basic categories of variable data types are: - ANSWER-Strings and numbers

What command is used to change a string into a number? - ANSWER-int

What is output by the following?
print ("Twinkle, \ttwinkle, \tlittle star") - ANSWER-Twinkle, twinkle, little star

What is output by the following?
print (type("95")) - ANSWER-<type 'str'>

What is output by the following? Assume the user enters 5 and 4
x = input ("Enter a number: ")
y = input ("Enter a number: ")
print ("Values: " + x + y) - ANSWER-Values: 54

Consider the following code:
x = "apple"
y=x
z = "banana"
print (x + " " + y + "\n" + z)
What is output? - ANSWER-apple apple
banana

Which of the following correctly inputs two numbers and print the sum? - ANSWER-n1 =
int(input("Enter a number: "))
n2 = int(input("Enter a number: "))

The benefits of buying summaries with Stuvia:

Guaranteed quality through customer reviews

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

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

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 Topgrades20. Stuvia facilitates payment to the seller.

Will I be stuck with a subscription?

No, you only buy these notes for $10.19. You're not tied to anything after your purchase.

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

62555 documents were sold in the last 30 days

Founded in 2010, the go-to place to buy study notes for 14 years now

Start selling
$10.19
  • (0)
  Add to cart