C++ Early Objects Ch.1

Ace your homework & exams now with Quizwiz!

Algorithm

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

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.

True

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

True

High-level

C++ is an example of a ____ programming language

Operators

Characters or symbols that perform operations on one or more operands are

Program design, writing source code and testing

Creating a program requires many steps. Three of these are

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

False

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

False

Control Unit

The ____ coordinates the computer's operations by fetching the next instruction and using control signals to regulate the other major components

Random-Access Memory (RAM)

The computer's main memory is commonly known as

The term hardware refers to

The physical components of a computer.

Punctuation

___ is used in a C++ program to mark the end of a statement, or to separate items in a list.

The purpose of a memory address is

to identify the location of a memory cell

Program

A(n)______ is a set of instructions that tells the computer how to solve a problem.

Programmer-Defined Identifiers, Operators, Punctuation, Syntax

List five elements that are common to all programming languages.

Variables

Memory locations that can hold data are called

Source Code

Statements written by a programmer

The CPU includes

the arithmetic and logic unit (ALU) and the control unit


Related study sets

CompTIA A+ 1102 exam Practice Test 4

View Set

Chapter 22: Imperialism and Colonialism, 1870-1914

View Set

COSC: 11.6 Scope of variable/method definitions

View Set

MGMT 6100 Final Review Questions

View Set