Pseudocode is NOT a computer language, and hence it is NOT a 2nd GL (nor of any generation).
One may choose any form or shape as pseudo code to describe some detail, not all the details, of some tasks in the software to be written. It can be textual graphical, or both. The textual one can be in any language (English, French, Japanese, etc), the graphics may be any UML diagrams, flow chart, etc.
If one selects Java syntax as the pseudo code, the concept in textual representation may be able to translate into Java language without any modification (but something will be added, like import statements, declaration. :) )
Some of the graphical representation may be translated into actual programming language (as code generator, reverse engineering) code of choice, like from UML diagrams, to generate C++, C#, or Java program, or from a Java program to the UML interaction diagram then to a C#, F#, or VB.NET
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.
Pseudocode. It is a cross between English and a programming language, designed to be quickly written and understood without worrying about syntax.
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.
T. E. Bailey has written: 'Program design with pseudocode' -- subject(s): Programming, Electronic digital computers, Electronic digitalcomputer, Pseudocode (Computer program language)
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
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
Pseudocode is a high-level description of a computer algorithm that uses a mixture of natural language and code-like syntax. It is not strict like a programming language and focuses on expressing the logic of the algorithm in a way that can be easily understood by humans. Pseudocode typically includes elements like variables, loops, conditionals, and functions, but does not follow a specific syntax or set of rules.
structured English resembles spoken Englishwhere as pseudocode resembles programming languageWhat_are_the_differences_between_structured_English_and_pseudo_code
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
Algorithms are language independent. An algorithm is a procedure or formula for solving a problem: a finite series of computation steps to produce a result. Algorithms make no assumptions about programming languages or technologies; they are generally written in plain English. Pseudocode is typically used to demonstrate the implementation of an algorithm using a combination of plain English and program-like constructs such as loops and variables. Programmers can easily convert the pseudocode to a specific programming language.
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.
This is usually the first stage in compilation. The source code is read and checked for syntax and usability then passed to the compile stage to be converted to object (or machine) code that the computer can understand.Translator translates program written in one programming language into (equivalent) program written in another language. For example, Java to C# translator would translate Java program into (equivalent) C# program. This is similar to as if you would translate some text in English into Spanish or vice versa.If target language is lower level language like assembly language, machine language, or pseudocode, translator is called compiler. For example, some C++ compiler could compile (translate) program in C++ into machine code.