UNIT 1.2 Program Logic Formulation Flashcards

1
Q

It is a step-by-step development of a solution to a given

problem.

A

Program logic formulation

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

It consists of boxes with different shapes that contain simple
statements or sentences commonly called instructions and connect together by lines.

A

Flowchart

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

Indicates Data

A

Data

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

Indicates data stored in formats suitable for

processing

A

Stored Data

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

Indicates only sequentially accessible data such as

those on magnetic tapes & cassette tapes

A

Sequential Access Storage

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

Indicates directly accessible data, such as those on

magnetic disks & floppy disks

A

Direct Access Storage

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

Indicates data on media human beings can read

A

Direct Access Storage

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

Indicates data on media human beings can read

A

Documents

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

Indicates data on any medium that displays

information used by human beings, such as monitors

A

Display

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

Composed of two parts; condition for termination and
loop name are written in the symbol indicating the
start & the end of the loop respectively

A

Loop Limit

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

This oval, which contains either the word start or the
word stop, indicates the starting and stopping point in the flowchart. A flowchart can only have one starting point but it may have many possible stopping points.

A

Terminal Symbol

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

This parallelogram is used for INPUT and OUTPUT
instruction. INPUT means to enter data into a
computer or to use the computer to read the available
data from magnetic disk. OUTPUT means to display
the result of compilation or condition of the given
solution.

A

INPUT/ OUTPUT Symbol

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

This rectangle is used for ay data processing
operations for which requirements of the problem are
usually done here. Examples are computation of
average, and assignment of the value to the variable.

A

Processing Symbol

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

This diamond-shaped symbol contains a condition. If
the condition is true, the marked path TRUE is to be
followed. If the condition is false, the marked path
FALSE is to be followed.

A

Decision Symbol

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

Arrows are used to direct the flow of the flowchart. It

shows the flow of the solution.

A

Arrowheads/Flow lines

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

It is used as a continuation symbol of a flowchart. It

shows the flow of the solution.

A

Connector

17
Q

It is used to initialize variables not explicitly defined in
the input but a requirement in the production of the
output.

A

Initialization/Preparation Symbol

18
Q

What are the 14 flowchart symbols?

A
  1. Data
  2. Stored Data
  3. Sequential Access Storage
  4. Direct Access Storage
  5. Documents
  6. Display
  7. Loop Limit
  8. Terminal Sound
  9. INPUT/OUTPUT Symbol
  10. Processing Symbol
  11. Decision Symbol
  12. Arrowheads/ Flow lines
  13. Connector
  14. Initialization/ Preparation Symbol
19
Q

What are the two types of flowcharts?

A
  • System Flowchart (process chart)

* Program Flowchart

20
Q

It indicates a flowchart for a targeted system as a whole

A

System Flowchart

21
Q

It is used to describe processing procedures based on detailed analysis.

A

Program Flowchart

22
Q

An orderly, understandable, and clear solution flowchart

A

Structured Flowchart

23
Q

Three basic methods of Structured Flowchart are?

A
  1. Sequential
  2. Selection Structure
  3. Repetition Structure
24
Q

Steps are performed in a strictly sequential manner; each step being executed
exactly once. This is the simplest method of control. It is easy to develop and understand.

A

Sequential

25
Q

One of several alternative actions is selected and executed. It
involves the use of decision based on the given condition. It use decision block or the diamondshaped block. Alternative action will be represented by a processing block.

A

Selection Structure

26
Q

One or more steps is performed repeatedly

A

Repetition Structure

27
Q

It is a set or series of instruction for carrying a task. It is also a procedure to produce
the required output from the given input. It is similar with a paragraph that expresses a single
thought. It uses English language. It is also known as pseudo code.

A

Algorithm

28
Q

The three basic methods of control in Algorithm

A
  1. Sequential
  2. Selection
  3. Repetition
29
Q

It is a mixture of language and symbols, terms and other feature commonly used
one or more high-level languages.

A

Pseudo Code