Algorithms and pseudo codes Flashcards

1
Q

originally referred to any computation performed via a set of rules applied to numbers written in decimal form

A

Algorithm

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

word is derived from the phonetic pronunciation of the last name of Abu Ja’far Mohammed ibn Musa al- Khowarizmi, who was an Arabic mathematician who invented a set of rules for performing the four basic arithmetic operations.

A

Algorithm

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

is a step-by-step procedure to solve a given problem

A

Algorithm

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

A procedure is a finite sequence of well-defined instructions, each of which can be mechanically carried out in a finite amount of time.

A

Algorithm

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

is an artificial and informal language that helps develop algorithms.

A

Pseudocode

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

It is useful in developing algorithms that will be later converted into C language programming.

A

Pseudocode

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

It is similar to English statements and not executed on computers.

A

Pseudocode

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

is a tool developed in the computer industry, for showing the steps involved in a process.

A

Flowchart

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

is a diagram made up of boxes, diamonds and other shapes, connected by arrows - each shape represents a step in the process, and the arrows show the order in which they occur.

A

Flowchart

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

is a diagram that depicts the “flow” of a program.

A

Flowchart

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

represented by rounded rectangles indicate a starting or ending point

A

Terminals

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

represented by parallelograms indicate an input or output operation

A

Input/Output Operations

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

represented by rectangles indicates a process such as a mathematical computation or variable assignment

A

Processes

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

Jumps to other portion of the flowchart (example “A”)

A

Connectors

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

The position of the module symbol indicates the point the module is executed. A separate flowchart can be constructed for the module.

A

Modules

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

A series of actions are performed in sequence

A

Sequence Structure

17
Q

how a decision structure is expressed in C

A

Decision structure

18
Q

structure expressed in C as a while loop.

A

Repetition structure

19
Q

it is used for multi way selection of items.

A

Case