C++ ch1 terms – Flashcards

Unlock all answers in this set

Unlock answers
question
programmable
answer
computers can do many different jobs because they can be
question
CPU
answer
fetches instructions, carries out the operations commanded by the instructions, and produces some outcome or resultant information
question
CU and ALU
answer
internally, the CPU consists of
question
CD
answer
an example of a secondary storage device
question
single-tasking and multi-tasking
answer
the two general categories of software are
question
program
answer
a set of instructions
question
machine language
answer
since computers can't be programmed in natural human language algorithms must be written in
question
machine language
answer
the only language computers really process
question
high-level language
answer
language close to the level of humans in terms of readability
question
low-level language
answer
language close to the level of the computer
question
portability
answer
a program's ability to run on several different types of computer systems
question
key words
answer
words that have special meaning in a programming language
question
programmer-defined identifiers
answer
words or names defined by the programmer
question
operators
answer
characters or symbols that perform operations on one or more operands
question
punctuation
answer
characters or symbols that mark the beginning or ending of a program statement or separate items in a list
question
syntax
answer
the rules that must be followed when constructing a program
question
variable
answer
a named storage location
question
defined
answer
a variable must be _______ before it can be used in a program
question
input, processing, and output
answer
the three primary activities of a program
question
input
answer
information a program gathers from the outside world
question
output
answer
information a program sends to the outside world
question
a hierarchy chart
answer
a diagram that graphically illustrates the structure of a program
question
main memory
answer
volatile - erased when the program terminates or the computer is turned off
question
secondary storage
answer
non-volatile - data is retained when the program is not running or the computer is turned off; used as a backup
question
operating system software
answer
programs that manage computer hardware and programs that run on the computer
question
application software
answer
programs that provide services to the user
question
syntax error
answer
illegal use of key words, operators, punctuation, and other language elements
question
logical error
answer
mistake that causes a program to produce erroneous results (i.e. using the wrong variable's value in a computation or performing order-dependent actions in the wrong order)
question
CPU, RAM, secondary storage, input device, output device
answer
the five major hardware components of a computer system
question
fetch
answer
get the next program instruction from main memory
question
decode
answer
interpret the instruction and generate a signal
question
execute
answer
route the signal to the appropriate component to perform an operation
question
memory address
answer
unique number assigned to each word
question
algorithm
answer
a set of well-defined steps for performing a task or solving a problem; steps are sequentially ordered
question
preprocessor
answer
reads source code; searches for special lines that begin with the # symbol
question
compiler
answer
steps through the preprocessed source code, translating each source code instruction into the appropriate machine language instruction
question
linker
answer
last phase of the translation process; combines the object file with the necessary library routines to create the executable file
question
source file
answer
statements written by the programmer saved in this file
question
object file
answer
translated machine language instructions stored by the compiler in this file
question
executable file
answer
contains machine language instructions that are ready to run on the computer
question
integrated development environment
answer
consists of a text editor, compiler, debugger, and other utilities integrated into a package with a single set of menus
Get an explanation on any task
Get unstuck with the help of our AI assistant in seconds
New