prg 210
mkt571 - Computer Operations and Pseudocode
Pseudocode is a textual representation of computer code in layman’s terms. Pseudocode is meant to be read by a human and not intended for the device to read. It is simply a high-level description of each step that the code will be performing. Below is an example of a pseudocode:
IF This = That THEN
DO This
ELSE
DO That
mkt 571 - When referring to the creation of pseudocode, there are six basic computer operations. A computer can perform the following six basic operations:
1. receive information (Input)
2. put out information (Output)
3. perform arithmetic (Processing)
4. assign a value to a variable or memory location (Input)
5. compare two variables and select one of two alternative actions (Processing)
6. repeat a group of actions (Processing)
prg210
Each of the above operations plays a major role in the development of computer software.
A computer can receive information. When a computer is required to collect input from a source, such as a floppy disk, it utilizes the expressions READ or GET within the pseudocode. “GET this” and “READ that” are examples of pseudocode when referring to receiving information. It is common to use the expression PROMPT prior to using any of the input expressions in the pseudocode. The PROMPT expression will present a message requiring the user to provide input. This input will be collected using the GET expression. prg 210
prg 210
Pseudocode is a textual representation of computer code in layman’s terms. Pseudocode is meant to be read by a human and not intended for the device to read. It is simply a high-level description of each step that the code will be performing. Below is an example of a pseudocode:
IF This = That THEN
DO This
ELSE
DO That
mkt 571 - When referring to the creation of pseudocode, there are six basic computer operations. A computer can perform the following six basic operations:
1. receive information (Input)
2. put out information (Output)
3. perform arithmetic (Processing)
4. assign a value to a variable or memory location (Input)
5. compare two variables and select one of two alternative actions (Processing)
6. repeat a group of actions (Processing)
prg210
Each of the above operations plays a major role in the development of computer software.
A computer can receive information. When a computer is required to collect input from a source, such as a floppy disk, it utilizes the expressions READ or GET within the pseudocode. “GET this” and “READ that” are examples of pseudocode when referring to receiving information. It is common to use the expression PROMPT prior to using any of the input expressions in the pseudocode. The PROMPT expression will present a message requiring the user to provide input. This input will be collected using the GET expression. prg 210
prg 210