answersLogoWhite

0


Best Answer

PSEUDOCODE STANDARD:

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) FORM SHOAIB SIDHU

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is pseudocode and the programming problems?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

Difference between pseudocode and structured English?

structured English resembles spoken Englishwhere as pseudocode resembles programming languageWhat_are_the_differences_between_structured_English_and_pseudo_code


What is a computer program written in English language called?

Pseudocode. However, pseudocode is not a programming language as such. It is a language that a programmer uses specifically to convey the concept of a specific algorithm to other programmers. The language is such that any programmer can easily translate the algorithm into their preferred language. Furthermore, pseudocode does not have to be written in English, it can be written in any language. However, English is the most widely-spoken language within the programming community and is therefore the most prevalent language used in programming.


What has the author T E Bailey written?

T. E. Bailey has written: 'Program design with pseudocode' -- subject(s): Programming, Electronic digital computers, Electronic digitalcomputer, Pseudocode (Computer program language)


Which piece of pseudocode represents incrementing the loop control called rep?

There is no standard for pseudocode. Pseudocode is generally expected to be intuitively understood by its target audience, but it doesn't need similarity with natural language or familiar programming language. Therefore, all the following are pseudocode examples to increment a variable called rep: rep = rep + 1 add 1 to rep increment rep ++rep next rep


What are sentences that appear to be written in a programming language but do not actually follow the structure of the language?

Pseudocode. It is a cross between English and a programming language, designed to be quickly written and understood without worrying about syntax.


Which piece of pseudocode represents incrementing the loop control variable called rep?

There is no standard for pseudocode. Pseudocode is generally expected to be intuitively understood by its target audience, but it doesn't need similarity with natural language or familiar programming language. Therefore, all the following are pseudocode examples to increment a variable called rep: rep = rep + 1 add 1 to rep increment rep ++rep next rep


Is pseudocode a combination of programming language and machine code?

No. Pseudocode is not used to write complete programs; rather, it is an overview of what you want to achieve. For example, the following pseudocode is for a program to print a list of square roots: for i = 1 to 10 show i, i*i A specific programming language may not have a "show" command, and the structure of the "for" loop might be different; additional setup and cleanup commands may also be required in a real computer program; the purpose of this pseudoce is merely to explain, to a human, what you want to achieve. The real code, with more detail, will have to be added later.


What is the difference between an algorithm and pseusodocode?

Pseudocode is one method of describing an algorithm. Other methods use diagrams, prose, or maybe even regular programming languages. An algorithm, on the other hand, is a method, a recipe, of solving a particular problem or group of related problems.


What are the differences between structured English and pseudo code?

structured English resembles spoken English where as pseudocode resembles programming language


What are the advantages of pseudocode?

Pseudo-code allows for an intermediate step between a human language description of an algorithm and a programming language description of the algorithm. It is often a good way for non-programmers to understand the programming process.


Why is pseudocode important to programmers?

Pseudocode lets a programmer lay out his intended program in a simple to understand method and run it through in his head before putting his fingers on the keyboard. Programming is a complex process and needs some degree of planning beforehand to avoid mistakes and confusion later on.


What is pseudocode in c language how is it different from algorithm?

They are not similar. However one is used to write the other so the question is do you write 1) pseudo code with algorithm 2) an algorithm with pseudo code 3) with a pencil