COP2000 Chapter 1
software engineering is a field that encompasses designing, writing, testing, dude bugging, documenting, modifying, and maintaining computer programs.
True
the statements written by the programmer are called:
source code
what does the term hardware refer to?
the physical components that a computer is made of
a variable declaration announces the name of a variable that will be used in a program, as well as:
the type of data it will be used to
which of the following is not one of the five major components of a computer system?
preprocessor 1. CPU 2. Main memory 3. secondary storage devices 4. input devices 5. output devices
mistakes that cause a running program to produce incorrect results are called
logic errors
this is a set of rules that must be followed when constructing a program
syntax
the programmer usually enters source code into a compiler using
text Editor
the name for a memory location that may hold data is
variable
the purpose of a memory address is
To identify the location of a byte in memory
Unix and Windows 2000 are examples of _______________ operating systems
multi-tasking
the computer's main memory is commonly known as
Random Access Memory (RAM)
this step will uncover any syntax errors in program
compiling
in programming, the terms "line" and "statement" always mean the same thing.
false. statement does not have to be a line of code
during which stage does the CPU retrieve from the main memory the next instruction for the programs
fetch
A ___________________ is a set of instructions that the computer follows to solve a problem
program
this is used in a program to Mark the beginning or ending of a statement, or separate items in a list.
punctuation
even when there is no power to the computer, data can be held in:
secondary storage
CPU really only understands instructions that are written in machine language
true