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

2007-01-09 20:45:59 · 10 answers · asked by Anonymous in Computers & Internet Software

10 answers

IF (I_dont_know_something)
THEN (
----I ask a question
----WHILE (time hasn't run out)
----(
--------Look at answers
----)
)

It's sorta code. It has the right general structure. You can use it as a "blueprint" or guide when writing the real stuff.

But it won't actually work as it stands.

Useful when attacking Big Projects, or Computer Science assignments.

2007-01-09 20:55:58 · answer #1 · answered by Alan 6 · 0 0

Pseudocode is a kind of structured english for describing algorithms. It allows the designer to focus on the logic of the algorithm without being distracted by details of language syntax. At the same time, the pseudocode needs to be complete. It describe the entire logic of the algorithm so that implementation becomes a rote mechanical task of translating line by line into source code.

In general the vocabulary used in the pseudocode should be the vocabulary of the problem domain, not of the implementation domain. The pseudocode is a narrative for someone who knows the requirements (problem domain) and is trying to learn how the solution is organized. E.g.,

Extract the next word from the line (good)
set word to get next token (poor)
Append the file extension to the name (good)
name = name + extension (poor)

FOR all the characters in the name (good)
FOR character = first to last (ok)

Use following links for more details:
http://www.webopedia.com/TERM/P/pseudocode.html
http://www.csc.calpoly.edu/~jdalbey/SWE/pdl_std.html

2007-01-09 20:59:20 · answer #2 · answered by Anonymous · 0 0

You've got the meanings already but practically Pseudocode is a code assigned by the CRS/GDS service providers to their agents for easy recognition and communication.

it is simply a travel agent's ID with Central/Computer Reservation System (CRS) or Global Distribution System (GDS) which is usually 3 Character long like... K55, J9Y ......

2007-01-09 21:06:15 · answer #3 · answered by LA 1 · 0 0

Pseudocode is "false code". Which means that it is not the actual code that can be executed. But it is understandable by the human because it is written in its own language.

Example.

Pseudocode:
if a is equal to 100 then
print value of a is 100 now

In C Language:
if(a==100)
{
printf("value of a is 100 now");
}

2007-01-09 20:54:59 · answer #4 · answered by Pankaj Sisodiya 1 · 0 0

a pseudocode is a outline of a program, written in that form which can be easily converted in to a computer program. psuedocode uses an informal language and some notations. it allows the designer to focus on the logic of the algorithm rather than the details of the language syntax.

2007-01-09 21:17:12 · answer #5 · answered by vasaiya 1 · 0 0

Pseudocode is a programming language its only teach while training.

2007-01-09 20:56:23 · answer #6 · answered by bazil_alee 1 · 0 0

pseudocodes are used in electronics to represent any key word like add sub mul for add, subtract multiply numbers respectively, sto for store like these. these are also called mnemonics pronounced nemonics these are codes that any electronics gadgets use to understand human language sequences as they cant understand human language. these assembly language codes that will convert human language instructions to binary form so that machine can understand in binary digits.machine language is comprised of 0s and 1s which binary representation of numbers

2007-01-09 21:04:22 · answer #7 · answered by sra 1 · 0 0

countless the topics arise in the course of the calculations: ----- * milesPerGallon = gallonsOfGasUsed / milesTraveled ought to somewhat be: > milesPerGallon = milesTraveled / gallonsOfGasUsed Intuitively, that's smart because it is far in accordance to galloon, which translates to ( miles / gallon ) which translates to ( complete miles / complete galloons ). ----- * costPerMile = pricePerGalloon / milesTraveled costPerMile has an same problem. once you're touching on value in accordance to mile, it translates to ( value / mile ), which translates to at least something alongside the strains of ( complete value / complete miles traveled ). you could also attempt doing ( pricePerGalloon / milesPerGalloon ), that's really better intuitive in case you imagine about it: ex. "i'm getting one galloon of gas, how a concepts do i'm getting with that gallon?" In practice, it will be: > costPerMile = ( pricePerGalloon * gallonsOfGasUsed ) / milesTraveled OR > costPerMile = pricePerGalloon / milesPerGalloon ----- desire this helps ya out :-). save in recommendations, do thinks the way you would possibly want to do it once you imagine it out, solid success! * = incorrect > = ideal

2016-12-02 02:06:08 · answer #8 · answered by ? 4 · 0 0

See the definition in webopedia.

Fairly simply... pseudo = false; code = code

Human written words that are in a form that is easy to translate line by line into real programming code.

2007-01-09 20:53:49 · answer #9 · answered by bambamitsdead 6 · 0 0

pseudo - false or pretended

2007-01-09 20:51:17 · answer #10 · answered by Hohocakes 3 · 0 0

fedest.com, questions and answers