Friday, August 29, 2014

What is a Pseudocode?

"Pseudocode is an artificial and informal language that helps programmers develop algorithms."

Pseudocode programs are not actually executed on computers. Rather, they help the programmer "think out" a program before attempting to write it in a programming language, such as Java or C++. Pseudocode normally describes only executable statements -- the actions that are performed when the program is converted from pseudocode to any programming language and is run. Declarations are not executable statements. For example, the declaration

            int i;

tells the compiler the type of variable i and instructs the compiler to reserve space in memory for the variable. This declaration does not cause any action -- such as input, output or a calculation -- to occur when the program is executed. Some programmers choose to list variables and mention the prpose of each at the beginning of a pseudocode program.

For Viral Stuff and Trending News please visit www.fooviral.com

No comments:

Post a Comment