CHAPTER 1 Flashcards
Computer programs also are known as ____________.
software
The major computer operations include ____________.
input, processing, and output
Visual Basic, C++, and Java are all examples of computer ____________.
programming languages
A programming language’s rules are its ____________.
syntax
The most important task of a compiler or interpreter is to ____________.
translate programming language statements into machine language
Which of the following is temporary, internal storage?
memory
Which of the following pairs of steps in the programming process is in the correct order?
code the program, translate it into machine language
A programmer’s most important task before planning the logic of a program is to ____________.
understand the problem
The two most commonly used tools for planning a program’s logic are ____________.
flowcharts and pseudocode
Writing a program in a language such as C++ or Java is known as ____________ the program.
coding
An English-like programming language such as Java or Visual Basic is a ____________ programming language.
high-level
Which of the following is an example of a syntax error?
misspelling a programming language word
Which of the following is an example of a logical error?
performing arithmetic with a value before inputting it
dividing by 3 when you meant to divide by 30 accepting two input values when a program requires only one
all of the above**
The parallelogram is the flowchart symbol representing ____________.
a. output
b. input
c. either a or b***
In a flowchart, a rectangle represents ____________.
processing
In flowcharts, the decision symbol is a ____________.
diamond
The term eof represents ____________.
a generic sentinel value
When you use an IDE instead of a simple text editor to develop a program, ____________.
some help is provided
When you write a program that will run in a GUI environment as opposed to a command-line environment, ____________.
some syntax is different
As compared to procedural programming, with object-oriented programming, ____________.
the programmer’s focus differs