Topic 2 Flashcards

1
Q

What are the seven steps of the program development cycle?

A
  • Understand the problem
  • Plan the logic
  • Code the program
  • Use software to translate the program into machine language
  • Test the program
  • Put the program into production
  • Maintain the program
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Who do professional computer programmers write programs for?

A

Users or end users

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

What is an example of an incomplete request in programming?

A

A director asks for a list of employees over five years without specifying full-time or part-time

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

What is documentation in programming?

A

Supporting paperwork for a program, including original requests, sample output, and descriptions of data items

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

What are the two most common planning tools in programming?

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

What is an algorithm in programming?

A

The sequence of steps or rules followed to solve a problem

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

What is desk-checking?

A

The process of walking through a program’s logic on paper before writing it

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

What must programmers consider when choosing a programming language?

A

Built-in capabilities for handling certain types of operations

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

What is machine language?

A

The language consisting of 1s and 0s that computers understand

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

What happens if there is a syntax error in the code?

A

The translator program issues an error message and does not execute the program

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

What is debugging?

A

The process of finding and correcting program errors

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

What does it mean to put a program into production?

A

Making the program ready for the organization to use

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

What is maintenance in programming?

A

Making necessary changes to a program after it is in production

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

What does pseudocode represent?

A

An English-like representation of the logical steps to solve a problem

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

What is a flowchart?

A

A pictorial representation of the steps in a program

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

What shape is used to represent input in a flowchart?

A

Parallelogram

17
Q

What shape is used for processing statements in a flowchart?

18
Q

What is the purpose of arrows in a flowchart?

A

To connect the steps and show the sequence of statements

19
Q

What are terminal symbols in a flowchart?

A

Start/stop symbols at each end of the flowchart

20
Q

Fill in the blank: Pseudocode is a _______ representation of the logical steps to solve a problem.

A

[English-like]

21
Q

True or False: Flowcharts can be used to visualize the interrelation of program statements.