Tuesday, June 22, 2010

Flowchart

Flowchart represent the algorithm or process of data, using chart or sysmbols.

There are different Flowchart symbols. the ff. are:
1. Terminal sysmbol - (oval) this symbol represent the start and end of the flowchart.
2. Initialization Symbol - (hexagon) this symbol is used in declaring or initializing variable used in the program.
3. Process Symbol (Rectangle) this symbol used in calculation, opening and closing file paths.
4. Condition Symbol (Diamond) this symbol used in condition of value in programming. this condition have a one entrance two exit which is the first exit is the "TRUE STATEMENT" and other exit is the "FALSE STATENENT".
5. Input and Output Symbol (parallelogram) this symbol used in input and output of the program. there is one entrance and one exit.
6. Connector (small Circle) it is used in connection flowchart that does not adjacent of not the same patcular area.
7. Arrow Lines (arrow) this is used to connect or the direction or flow of data.

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.