Pseudocode is a false code which consists of plain English statements, mathematical notations and keywords that are commonly found in high level languages.
or
pseudocode is simply a numbered list of instructions to perform some specific task.
or
pseudocode is simply a numbered list of instructions to perform some specific task.
Pseudo Code Components
Variables
Input/Output
Assignment
Selection
Repetition
1.Variable : A variable has a name, and a value. When a variable is declared certain bytes of memory is allocated in computer memory. We can call those variables anytime.
2.Input / Output :
Input : We use Input operation to ask value or name to start the program
Output : We use out put operation to give the final result to user.
Input -Read/get /input
Output – Write / display / print
Output – Write / display / print
3.Assignment : Assignment is the physical act of placing a value into a variable. Assignment can be shown using
4. Repetition : The program will repeat as per the given condition.
5.Selection : The option choosing structure in pseudo code. It will choose the path according to a given condition.
Flowchart
A flowchart is a type of diagram that represents an algorithm, workflow or process. The flowchart shows the steps as boxes of various kinds, and their order by connecting the boxes with arrows .
5.Selection : The option choosing structure in pseudo code. It will choose the path according to a given condition.
Flowchart
A flowchart is a type of diagram that represents an algorithm, workflow or process. The flowchart shows the steps as boxes of various kinds, and their order by connecting the boxes with arrows .
No comments:
Post a Comment