English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
All categories

2006-08-30 16:09:45 · 4 answers · asked by Anonymous in Computers & Internet Programming & Design

4 answers

sethsdadiam is correct however I think I can add to this.

The actual spelling is pseudocode (or pseudo code). It's used when working with program outlines called flowcharts. It's easy for programmers to dig themselves too deep into problems if they don't plan ahead.

As such, programmers use a generic human readable language dubbed pseudocode.

Check size.
Is size too big?
Yes, then x.
No, then y.

In reality the actual code needed to perform a simple task like checking the size of something is more complex depending on the language being used.

A flow chart helps the programmer understand certain objectives dealing with the code. Planning one can be challenging depending on the task needed to be completed however it can save time in the long run.

2006-08-30 16:23:17 · answer #1 · answered by dreft 2 · 0 0

Pseudo-code is something that is not quite software yet. Often it is the starting point, used to double-check logical flow. You're almost writing the software (code) but you're writing in in English or some other language and not worrying about the specifics of the programming language.

Once the pseudo-code looks right, then you can translate it into whatever programming language you're going to use.

2006-08-30 16:18:34 · answer #2 · answered by Art_333 2 · 0 0

pseudocode is plain english / code mix representing functions or steps that need to be taken when writing a program. It is used as part of the early development process to help write a class or program.

Example Pseudocode:

class ChessBoard
{
public void ChessBoard()
{
//initialize pieces
}

private void InitializePieces()
{
//Do initialization
}

public string ShowBoard()
{
//Returns a picture of the board as a string.
}
}

2006-08-30 16:18:33 · answer #3 · answered by Illy 3 · 0 0

Native language (presumably english) representation of what you want your program to do. Like:
open file
read file
print data
read again
end
would be pseudo code that you would then convert to vb, java, cobol, etc.

2006-08-30 16:14:30 · answer #4 · answered by sethsdadiam 5 · 0 0

fedest.com, questions and answers