Pseudocode

Pseudocode 

Pseudoccode is an informal way of programming description that does not require any strict programming language syntax.

Used to create an outline or a rough draft of a program
.
Pseudocode summarizes a program flow, but excludes underlying details.

System designers write pseudocode to ensure that programmers understand a software project's requirements and align code accordingly.

Pseudocode is not an actual programming language so it cannot be compiled into an executable program.




Pseudocode components
Variable
variable is a symbol that have a value or name.
There are 2 types operations of varible does.
assignment operation-  In which we give a value for a variable.
Read operation - the other operation is at any time we can retrive the given previous value of variable.  
We can allow our own syntax when writing pseudocode
 
Input/Output
both are in connected with outside source by receiving and giving out information.

Sequence
Sequence is the default control structure, instructions are executed after one another. 

Selection
Is an programming structure which computer executes one or more more sets of instructions according to particular condition is met or not.

Repetition
Repeating the seqeunce of instructions a certain number of lines, or until certain or specific results as acheived.
      

No comments