COSC 1436 Chapter 1 Quiz
The purpose of a memory address is:
to identify the location of a byte in memory
A computer stores a program while it is running
in main memory
Mistakes that cause a running program to produce incorrect results are called:
logic errors
What does the term hardware refer to?
the physical components that make up a computer
An Integrated Development Environment (IDE) typically consists of
All of these
Pseudocode is a form of a program statement that will always evaluate to "false."
False
The preprocessor executes after the compiler.
False
In the process of translating a source file into an executable file, which of the following is the correct sequence?
Source code, preprocessor, modified source code, compiler, object code, linker, executable code.
________ are used to translate each source code instruction into the appropriate machine language instruction.
compilers
Which step uncovers any syntax errors in your program?
compiling
Characters or symbols that perform operations on one or more operands are:
operators
The two methods used by C++ to write computer programs are:
procedural programming and object-oriented programming
A(n) ________ is a set of instructions that the computer follows to solve a problem.
program
Words that have a special meaning and may be used only for their intended purpose are known as
programmer defined words
When a programmer saves to a file the statements he or she writes to create a program, these statements are
source code
This is a complete instruction that causes the computer to perform some action:
statement
A variable definition defines the name of a variable that will be used in a program, as well as:
the type of data it will be used to hold
A named storage location in the computer's memory that holds a piece of information is a(n):
variable
During which stage does the central processing unit analyze the instruction and encode it in the form of a number, and then generate an electronic signal?
decode
The programming process consists of several steps, which include:
design, creation, testing, debugging
The term that refers to the programmer reading the program from the beginning and stepping through each statement is
desk checking
A model often used when creating a program that begins with the overall task and refines it into smaller subtasks is a(n)
hierarchy chart
The ________ decodes an instruction and generates an electronic signal.
Control Unit
Software engineering is a field that encompasses designing, writing, testing, debugging, documenting, modifying, and maintaining computer programs.
True
The first step in writing a program is to
clearly define what the program is to do