Computer Science - Chapter 1
The term ____________ means the programmer reads the program from the beginning and steps through each statement.
Desk Checking
True/False: Executable code is a form of computer program that runs without exhibiting errors.
False
True/False: In a computer program each line is one programming statement.
False
True/False: Most modern computers can understand and execute pseudocode.
False
Even when there is no power to the computer, data can be held in:
Secondary storage
The statements written by the programmer are called:
Source code
What is the job of the CPU?
To carry out the operations commanded by the instructions, to produce some outcome or resultant information, to fetch instructions
Programmer-defined names of memory locations that may hold data are:
Variables
An example of a secondary storage device is:
hard disk
A set of well defined steps for performing a task or solving a problem is known as an:
Algorithm
Internally, the CPU consists of two parts:
The Control Unit and the Arithmetic and Logic Unit
What does the term hardware refer to?
The physical components that a computer is made of
The purpose of a memory address is:
To identify the location of a memory cell
An Integrated Development Environment consists of:
A debugger, A compiler, A text editor
The programmer usually enters source code into a computer using:
A text editor
The ________ coordinates the computer's operations by fetching the next instruction and regulating the other major computer components with control signals.
Control Unit
The programming process consists of several steps, which include:
Design, Creation, Testing, and Debugging
True/False: The purpose of the compiler is to combine your source code, pseudocode, and hierarchy chart into machine-readable language.
False
True/False: Unix and Windows 2000 are examples of single tasking operating systems.
False
Three primary activities of a program are:
Input, Processing, and Output
Words that have a special meaning and may only be used for their intended purpose are known as:
Key Words
Mistakes that allow a program to run, but cause it to produce erroneous results are called:
Logic errors
In a broad sense, the two primary categories of programming languages are:
Low-level and High-level
What is the * symbol?
Operator
Characters or symbols that perform operations on one or more operands are:
Operators
A(n) ____________ is a set of instructions that tells the computer how to solve a problem.
Program
_______________ is/are used in a program to mark the beginning or ending of a statement, or separate items in a list.
Punctuation
_______ is an example of a volatile type of memory, used for temporary storage.
RAM
A _____________ is a complete instruction that causes the computer to perform some action.
Statement
True/False: Most of the lines in a program contain something meaningful; however, some of the lines contain nothing at all.
True
True/False: Software engineering is a field that encompasses designing, writing, testing, debugging, documenting, modifying, and maintaining computer programs.
True
True/False: Syntax involves rules that must be followed when constructing a program.
True
A variable definition announces the name of a variable that will be used in a program and:
What type of data it will be used to hold