Monday, June 21, 2010

Pseudocode

An outline of a program, written in a form that can easily be converted into real programming statements. For example, the pseudocode for a bubble sort routine might be written:

while not at end of list
compare adjacent elements
if second is greater than first
switch them
get next two elements
if elements were switched
repeat for entire list

Pseudocode cannot be compiled nor executed, and there are no real formatting or syntax rules. It is simply one step - an important one - in producing the final code. The benefit of pseudocode is that it enables the programmer to concentrate on the algorithms without worrying about all the syntactic details of a particular programming language. In fact, you can write pseudocode without even knowing what programming language you will use for the final implementation.

Algorithm

'algorithm' is an effective method for solving a problem expressed as a finite sequence of instructions.

step by step procedure to solve the problem.

Thursday, June 3, 2010

Array

Array is very important in programming to store data in array. i post the lesson next day.

Monday, May 3, 2010

jaypee's world programmer: Array

http://www.jaypeeworldprogrammer.blogspot.com

Array

An array is a collection of individual values, all of the same data type, stored in adjacent memory locations. ... The individual values are referred to by using the array name together with an integral valued index in square brackets.

I will give a sample program using array, next lesson.

java programming

this is a book in java programming 4th edition. This book serves as your guide, as well as, your foundation to be the best  java programmer ever.

Sunday, May 2, 2010

Do while Loop syntax in programming

the syntax of do while in programming:

initialization;
do
{
statements;
inc/dec;
}while(condition);

next Lesson i'll make a sample program using do while loop