CHAPTER 1 Flashcards

1
Q

Computer programs also are known as ____________.

A

software

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

The major computer operations include ____________.

A

input, processing, and output

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Visual Basic, C++, and Java are all examples of computer ____________.

A

programming languages

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

A programming language’s rules are its ____________.

A

syntax

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The most important task of a compiler or interpreter is to ____________.

A

translate programming language statements into machine language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which of the following is temporary, internal storage?

A

memory

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which of the following pairs of steps in the programming process is in the correct order?

A

code the program, translate it into machine language

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

A programmer’s most important task before planning the logic of a program is to ____________.

A

understand the problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

The two most commonly used tools for planning a program’s logic are ____________.

A

flowcharts and pseudocode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Writing a program in a language such as C++ or Java is known as ____________ the program.

A

coding

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

An English-like programming language such as Java or Visual Basic is a ____________ programming language.

A

high-level

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Which of the following is an example of a syntax error?

A

misspelling a programming language word

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which of the following is an example of a logical error?

A

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**

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

The parallelogram is the flowchart symbol representing ____________.

A

a. output
b. input
c. either a or b***

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

In a flowchart, a rectangle represents ____________.

A

processing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

In flowcharts, the decision symbol is a ____________.

17
Q

The term eof represents ____________.

A

a generic sentinel value

18
Q

When you use an IDE instead of a simple text editor to develop a program, ____________.

A

some help is provided

19
Q

When you write a program that will run in a GUI environment as opposed to a command-line environment, ____________.

A

some syntax is different

20
Q

As compared to procedural programming, with object-oriented programming, ____________.

A

the programmer’s focus differs