100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
COP 2210 EXAM 1 Question and answers rated A+ 2024 £10.36   Add to cart

Exam (elaborations)

COP 2210 EXAM 1 Question and answers rated A+ 2024

 6 views  0 purchase
  • Module
  • COP
  • Institution
  • COP

COP 2210 EXAM 1 Question and answers rated A+ 2024 COP 2210 EXAM 1 A sequence of instructions that solves a problem is called a(n) _____ . 1. instruction 2. process 3. algorithm 4. variable - correct answer algorithm In what component does a processor store the processor's required i...

[Show more]

Preview 4 out of 50  pages

  • September 6, 2024
  • 50
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • COP
  • COP
avatar-seller
COP 2210 EXAM 1
A sequence of instructions that solves a problem is called a(n) _____ .


1. instruction
2. process
3. algorithm
4. variable - correct answer ✔algorithm


In what component does a processor store the processor's required
instructions and data?


1. Mailbox
2. Switch
3. Memory
4. Bit - correct answer ✔Memory


Given a list of syntax errors from a compiler, a programmer should focus
attention on which error(s), before recompiling?


1. All the errors
2. The first error only
3. The middle error only
4. The last error only - correct answer ✔The first error only


What does this code output?

,System.out.print("I ");
System.out.println("want pie.");


1. I want pie.


2. "I"
"want pie"


3. I want
pie


4. I want
pie


5. I wantpie - correct answer ✔I want pie.


What will a compiler do for the following code?


/* numItems = 2; /* Total items to buy */
rate = 0.5;
*/


1. Ignore numItems = 2, but generate code for rate = 0.5.
2. Generate code for numItems = 2, but ignore rate = 0.5.
3. Ignore both statements.
4. Generate an error. - correct answer ✔Ignore both statements.

,A program should compute two times x. Which statement has a logic error?


1. y = x + x;
2. y = 2 * x;
3. y = x * x;
4 y = x * 2; - correct answer ✔y = x * x;


What does a clock do?


1.Stores the computer's programs
2. Counts the number of instructions executed by a 3. processor
3. Determines the rate of execution for a processor's instructions
4. Interfaces with peripherals - correct answer ✔Determines the rate of
execution for a processor's instructions


What is Moore's law?


1. A processor used in cold weather is more likely to fail
2. Every action has an equal and opposite reaction
3. The capacity of ICs doubles roughly every 18 months
4. Any given program will become obsolete - correct answer ✔The capacity
of ICs doubles roughly every 18 months


A _____ is a computer component that stores files and other data.


1. disk

, 2. monitor
3. keyboard
4. processor - correct answer ✔disk


The _____ is a process that manages programs and interfaces with
peripherals.


1. clock
2. BIOS
3. integrated circuit
4. operating system (o/s) - correct answer ✔operating system (o/s)


Which is not a component of a computer?


1. clock
2. Memory
3. Processor
4. Programmer - correct answer ✔Programmer


Which item converts a high-level language program to low-level machine
instructions?


1. Compiler
2. Machine instruction
3. Assembly language
4. Memory - correct answer ✔Compiler

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

79271 documents were sold in the last 30 days

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

Start selling
£10.36
  • (0)
  Add to cart