Algorithm, Pseudocode and Flowchart Flashcards

1
Q

is a step by step procedure for
solving a problem.

A

Algorithm

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

was an Islamic mathematician who
wrote on Hindu Arabic numerals.

A

Al’Khwarizmi

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

The word is derived from the phonetic pronunciation
of the last name of Abu Ja’far Mohammad in Musa al
Khwarizmi.

A

Algorithm

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

Is not the complete code or program, it is
just the core logic of a problem, which can be
expressed either as an informal high level
description.

A

Algorithm

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

What are the steps in writing an algorithm

A

1.Define the problem
2. List the inputs and the outputs
3. Describe the steps needed to convert or manipulate the input to produce the outputs
4. Test the algorithm

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

What are the three classifications of algorithm

A
  1. Sequence
  2. Branching (Selection)
  3. Loop (Repetition)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

It is where one statement is executed after the another

A

Sequence

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

Is construct where statements can executed or
skipped depending on whether a condition evaluates to
TRUE or FALSE.

A

Branching (Selection)

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

Where statements can be executed repeatedly
until a condition evaluates to TRUE or FALSE.

A

Loop (Repetition)

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

Also known as Program Design Language

A

Pseudocode

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

It is a method of describing computer algorithms using a
combination of natural language and programming
language

A

Pseudocode

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

It is a method of describing computer algorithms using a
combination of natural language and programming
language

A

Pseudocode

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

It is also an outline of a program written in a form that
can easily be converted into real programming
statement but cannot be compiled or executed.

A

Pdeudocode

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

What are the 5 rules in writing a Pseudocode

A
  1. Write only one statement for line
  2. Capitalized initial word
  3. Indent to show hierachy
  4. End multiline structure
  5. Keep statement language independent
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Is a graphical representation of an algorithm or
process, showing the steps as boxes of various
kinds and their order by connecting these with
arrows.

A

Flowchart

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

Indicates any type of internal operation inside the processor or memory, represented by rectangles.

A

Process

17
Q

Indicates that the computer is to obtain or output results, represented by parallelograms

A

Input/Output

18
Q

Used to ask question that can be answered in a binary format (Yes/No, True/False)

A

Decision

19
Q

Pairs of labeled connectors replaced long or confusing lines on a flowchart page. Represented by a small circle with a letter inside

A

On-page connector

20
Q

A labeled connector for use when the target is on another page. Represented by as a home plate-shaped pentagon.

A

Off-page connector

21
Q

Used to invoke a subroutine or interrupt program

A

Predefined process/Modules

22
Q

Indicates the starting or ending of the program, process, or interrupt program, presented by rounded triangles

A

Terminal

23
Q

Show direction of flows

A

Flow lines

24
Q

What are the advantages of using a flowchart

A
  1. Communication
  2. Effective Analysis
  3. Proper Documentation
  4. Efficient Coding
  5. Proper Debugging
  6. Efficient Program Maintenance
25
Q

What are the limitations of using a flowchart

A
  1. Complex Logic
  2. Alterations and modifications
  3. Reproduction