Computer Programming: Chapter 1
In programming, the terms "line" and "statement" always mean the same thing.
False
Which of the following is not one of the five major components of a computer system?
Preprocessor
A(n) __________ is a set of instructions that the computer follows to solve a problem.
Program
The computer's main memory is commonly known as:
RAM
This is a set of rules that must be followed when constructing a program.
Syntax
This is a set of rules that must be followed when constructing a program?
Syntax
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 hold
A CPU really only understands instructions that are written in machine language.
True
Software engineering is a field that encompasses designing, writing, testing, debugging, documenting, modifying, and maintaining computer programs.
True
Programmer-defined names of memory locations that may hold data are:
Variables
An example of a secondary storage device is:
A hard disk
The programmer usually enters source code into a computer using:
A text editor
During which stage does the central processing unit retrieve from main memory the next instruction in the sequence of program instructions?
fetch
Unix and Windows 2000 are examples of _________ operating systems.
multi-tasking
Which of the following best describes an operator?
An operator allows you to perform operations on one or more pieces of data.
This step will uncover any syntax errors in your program.
Compiling