Supp Jara
In Partial Fulfillment in Course Requirement for the Subject Information and Communication Tecgnology
Martes, Marso 27, 2018
ALGORITHM and PSEUDOCODE
ALGORITHM and PSEUDOCODE
Algorithm - a set of steps to accomplish a task. In computer science or computer programming, algorithm is a step by step codes to do a certain program.
EXAMPLE
- Start the program.
- Initialize all the variables
- Input the values of variables
- Do the calculations, formulas and processes.
- Display the output
- End.
Pseudocode - a detailed and readable description of algorithm to do a task. It is used as detailed step of process of a program.
EXAMPLE
- Set the value of total to zero
- get all the number to be added
- add all the number and it will be the sum
- and divide the sum to the total numbers get
- display the total average
Resources:
http://whatis.techtarget.com/definition/algorithm
http://whatis.techtarget.com/definition/pseudocode
- Start the program.
- Initialize all the variables
- Input the values of variables
- Do the calculations, formulas and processes.
- Display the output
- End.
- Set the value of total to zero
- get all the number to be added
- add all the number and it will be the sum
- and divide the sum to the total numbers get
- display the total average
Resources:
http://whatis.techtarget.com/definition/algorithm
http://whatis.techtarget.com/definition/pseudocode
FLOWCHART: SYMBOLS and FUNCTION
FLOWCHART
Symbols and Functions
Flowchart - flowchart is a graphical representation of an algorithm and codes that will coded to a computer.
Mag-subscribe sa:
Mga Post (Atom)