Algorithms and pseudo codes Flashcards
originally referred to any computation performed via a set of rules applied to numbers written in decimal form
Algorithm
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.
Algorithm
is a step-by-step procedure to solve a given problem
Algorithm
A procedure is a finite sequence of well-defined instructions, each of which can be mechanically carried out in a finite amount of time.
Algorithm
is an artificial and informal language that helps develop algorithms.
Pseudocode
It is useful in developing algorithms that will be later converted into C language programming.
Pseudocode
It is similar to English statements and not executed on computers.
Pseudocode
is a tool developed in the computer industry, for showing the steps involved in a process.
Flowchart
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.
Flowchart
is a diagram that depicts the “flow” of a program.
Flowchart
represented by rounded rectangles indicate a starting or ending point
Terminals
represented by parallelograms indicate an input or output operation
Input/Output Operations
represented by rectangles indicates a process such as a mathematical computation or variable assignment
Processes
Jumps to other portion of the flowchart (example “A”)
Connectors
The position of the module symbol indicates the point the module is executed. A separate flowchart can be constructed for the module.
Modules