100% satisfaction guarantee Immediately available after payment Both online and in PDF No strings attached
logo-home
CPSC 120 Exam Questions And Answers | Guaranteed Pass $14.99   Add to cart

Exam (elaborations)

CPSC 120 Exam Questions And Answers | Guaranteed Pass

 2 views  0 purchase
  • Course
  • CPSC 120
  • Institution
  • CPSC 120

CPSC 120 Exam Questions And Answers | Guaranteed Pass

Preview 3 out of 16  pages

  • November 7, 2024
  • 16
  • 2024/2025
  • Exam (elaborations)
  • Questions & answers
  • CPSC 120
  • CPSC 120
avatar-seller
ElevatedExcellence
CPSC 120 Exam Questions And Answers
| Guaranteed Pass
The term hardware refers to CORRECT ANSWERS The physical components that
make up a computer.

At the heart of a computer is its central processing unit (CPU). Its job is to CORRECT
ANSWERS do all of these. (produce some result, fetch instructions, carry out the
operations commanded by the instructions).

The CPU includes CORRECT ANSWERS the arithmetic and logic unit (ALU) and the
control unit.

An integrated development environment (IDE) normally includes CORRECT ANSWERS
all of these (a compiler, a debugger, a text editor)

The purpose of a memory address is CORRECT ANSWERS to identify the location of a
memory cell.

True/False: Most of the lines in a program contain something meaningful; however,
some of the lines may contain nothing at all. CORRECT ANSWERS True

Creating a program requires many steps. Three of these are CORRECT ANSWERS
program design, writing source code, and testing.

Memory locations that can hold data are called CORRECT ANSWERS variables.

Characters or symbols that perform operations on one or more operands are
CORRECT ANSWERS operators.

True/False: Before a computer can execute a program written in a high level language,
such as C++, it must be translated into object code. CORRECT ANSWERS true

The computer's main memory is commonly known as CORRECT ANSWERS Random
Access Memory (RAM)

The ________ coordinates the computer's operations by fetching the next instruction
and using control signals to regulate the other major computer components. CORRECT
ANSWERS control unit

A(n) ________ is a set of instructions that tells the computer how to solve a problem.
CORRECT ANSWERS program

,True/False: Once a value has been stored in a variable it cannot be changed.
CORRECT ANSWERS false

True/False: The purpose of the compiler is to convert object code into source code.
CORRECT ANSWERS False

C++ is an example of a ________ programming language. CORRECT ANSWERS high-
level

________ is used in a C++ program to mark the end of a statement, or to separate
items in a list. CORRECT ANSWERS Punctuation

A set of well-defined steps for performing a task or solving a problem is known as
CORRECT ANSWERS an algorithm.

The statements written by a programmer are called CORRECT ANSWERS source
code.

Internally, the central processing unit (CPU) consists of two parts: CORRECT
ANSWERS the arithmetic and logic unit (ALU) and the control unit.

Even when there is no power to the computer, data can be held in CORRECT
ANSWERS a secondary storage device.

Words with a special meaning that may be used only for their intended purpose are
known a CORRECT ANSWERS keywords.

A storage location in the computer's memory that can hold a piece of data is called
CORRECT ANSWERS a variable.

A ________ is a complete instruction that causes the computer to perform some action.
CORRECT ANSWERS statement

True/False: If a new value is stored in a variable, it replaces whatever value was
previously there. CORRECT ANSWERS True

A variable definition always specifies the name of a variable and tells CORRECT
ANSWERS what type of data it can hold.

Three primary activities of a typical program are CORRECT ANSWERS input,
processing, and output.

Which of the following is an example of a secondary storage device? CORRECT
ANSWERS all of these (a USB flash drive, a CD, a DVD, a hard disk drive)

, True/False: Most modern computers can understand and execute pseudocode.
CORRECT ANSWERS False

Mistakes that allow a program to run, but cause it to produce erroneous results are
called CORRECT ANSWERS logic errors

True/False: Syntax involves rules that must be followed when writing a program.
CORRECT ANSWERS True

The programs that control and manage the basic operations of a computer are generally
referred to as CORRECT ANSWERS system software.

True/False: Executable code is computer code that contains no errors. CORRECT
ANSWERS False

________ is an example of volatile memory, used for temporary storage while a
program is running.
A hard disk CORRECT ANSWERS RAM

The programmer usually enters source code into a computer using CORRECT
ANSWERS None of these (A linker, a debugger, a preprocessor, a compiler)

High-level programming languages include CORRECT ANSWERS all of these (C++,
Java, Visual Basic, Javascript)

True/False: IDE stands for internal data engine. CORRECT ANSWERS False

In the C++ statement
pay = rate * hours;
the * symbol is an example of CORRECT ANSWERS an operator.

A software package that includes a text editor, compiler, debugger, and assorted utilities
for creating, testing, and running software is called CORRECT ANSWERS none of
these.

In a C++ program, two slash marks ( // ) indicate the beginning of CORRECT
ANSWERS a comment.

include is an example of a(n) CORRECT ANSWERS preprocessor directive.

True/False: C++ is a case-sensitive language. CORRECT ANSWERS The ________ is
used to display information on the computer's screen.

Which of the following will cause the next output to begin on a new line? CORRECT
ANSWERS cout << endl;

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

Will I be stuck with a subscription?

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

Can Stuvia be trusted?

4.6 stars on Google & Trustpilot (+1000 reviews)

80796 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
$14.99
  • (0)
  Add to cart