Friday, 26 June 2015

Pseudocode in programming languages

PSEUDOCODE is nothing but the false code.It is used to represent the logic of the solution.It is a detailed explanation of the an algorithm.

Pseudocode looks like a programming, but it is not a real programming.
It can be written just like an algorithm.For example, consider a situation where you need to welcome the new user.For this you have to get the name from the user and to append the name with the word "WELCOME"
The required Pseudocode is here:

Begin
  Display 'Enter your name'
  Accept name
  Initial=welcome
  name=strconcat(initial,name)
 Display name
end

Instead we can implement this with the help of scratch,which may be used for creating a simple gaming application using some animation or anything.Here you can make a sprite(cat,dog,etc..) to walk,run,dance and more....


After downloading Scratch you can open it and start writing you Pseudocode or creating your simple gaming application.


No comments:

Post a Comment