INTRO TO COMPPROG Flashcards

1
Q

the process of developing and implementing various sets of instructions, called computer programs, to enable a computer to do a certain task.

A

computer programming

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

what is computer programming?

A

the process of developing and implementing various sets of instructions, called computer programs, to enable a computer to do a certain task.

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

parts of problem solving phase?

A
  • Analysis and Specification
  • General Solution (Algorithm).
  • Verify.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Understand (define) the problem and what the solution must do.

A

Analysis and Specification.

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

Develop a logical sequence of steps to be used to solve the problem.

A

General Solution (Algorithm)

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

Follow the steps exactly to see if the solution really does solve the problem

A

Verify

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

parts of implementation phase?

A
  • Concrete Solution (Program)
  • Test
  • maintenance
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

two parts of programming process?

A
  • problem solving phase

- implementation phase

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

Translate the algorithm into a program using any programming language.

A

Concrete Solution (Program

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

Have the computer follow the instructions. Then manually check the results. If you find errors, analyze the program and the algorithm to determine the source of the errors, and then make corrections.

A

Test

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

third phase of implementation phase

A

maintenance

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

a step-by-step procedure for solving a problem in a finite amount of time.

A

algorithm

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

two main ways that algorithms can be represented

A

pseudocode and flowcharts.

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

detailed yet readable description of what a computer program must do, expressed in a formally-styled natural language rather than in a programming language.

A

pseudocode

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

formalized graphic representation of a logic sequence, work or manufacturing process, organization chart, or similar formalized structure.

A

flowchart

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

use simple geometric symbols and arrows to define relationships.

17
Q

Characteristics of Pseudocode

A
  • Statements flow in a logical order
  • Statements are clearly defined
  • Statements are often numbered sequentially
  • Statements do not have more than one meaning (not ambiguous)
  • May use variables to represent data
18
Q

a set of rules, symbols, and special words used to construct a program

A

programming language

19
Q

Translating an algorithm into a program is called

A

coding the algorithm

20
Q

errors in program

21
Q

process of detecting and removing of existing and potential errors in a software code that can cause it to behave unexpectedly or crash

22
Q

The concrete solution or the program is tested by

A

running (executing) it on the computer.

23
Q

three types of errors

A
  • Syntax errors
  • Runtime errors
  • Logic errors
24
Q

represent grammar errors in the use of the programming language. This type of error can be detected by the computer.

A

Syntax errors

25
occur when a program with no syntax errors asks the computer to do something that the computer is unable to reliably do
Runtime errors
26
occur when there is a design flaw in your program. This type of error cannot be detected by the computer.
Logic or Logical errors