A pseudo language is a non-specific, conceptual programming language that uses commonly understood programming constructs that can be easily translated into any specific programming language. Pseudo language is typically used to conceptualize algorithms in a commonly understood language without being overly specific or verbose to any one language. This makes the algorithm more accessible to more programmers, regardless of their preferred language.
Writing in pseudo code means writing in a natural language, not in any specific programming language, so there is no thing as "pseudo-code used in C" as opposed to "pseudo-code used in Java".When you write in pseudo-code, you don't have to follow any specific syntactic rules, just to describe the steps you will use in your algorithm.For example, pseudo-code for bubble sort (taken from wikipedia):procedure bubbleSort( A : list of sortable items ) do swapped = false for each i in 1 tolength(A) - 1 inclusive do: if A[i-1] > A[i] then swap( A[i-1], A[i] ) swapped = true end ifend for while swapped end procedureIt is not written in any programming language, but it should be easy to implement this in any language after you understand the idea from the pseudo-code.
Pseudo-code is intended to be easily understood by all programmers regardless of the programming language they use. Pseudo-code is not a programming language, it's merely a way of generalising an algorithm in a program-like manner such that the semantics of the algorithm can be easily digested and converted into any language-dependant code. There is no "standard" that dictates the syntax of pseudo-code, thus it is often much more verbose than an actual programming language would be and is typically heavily commented to cater for languages that do not permit ideas to be expressed directly in code. This ensures that the same code can be utilised by any programmer, hence it is language-independent.
A pseudo-instruction : A symbolic representation in a compiler or interpreter. An instruction : a simple statement in any language that defines a task or computation etc.
By their very nature, pseudo code programs are not compilable and do not conform to the exact syntax of the computer language used. Since they are not compiled there is no issue with syntax errors. When translating from pseudo code to the target computer language is when one must be careful of the syntax, but not when writing pseudo code.
The instruction represented by this code depends entirely on the architecture that you are trying to translate it for.
== ==
From Greek meaning 'false'
It doesn't. Pseudo code isn't a programming language, it is just there to give an idea of how you could write a program.
Writing in pseudo code means writing in a natural language, not in any specific programming language, so there is no thing as "pseudo-code used in C" as opposed to "pseudo-code used in Java".When you write in pseudo-code, you don't have to follow any specific syntactic rules, just to describe the steps you will use in your algorithm.For example, pseudo-code for bubble sort (taken from wikipedia):procedure bubbleSort( A : list of sortable items ) do swapped = false for each i in 1 tolength(A) - 1 inclusive do: if A[i-1] > A[i] then swap( A[i-1], A[i] ) swapped = true end ifend for while swapped end procedureIt is not written in any programming language, but it should be easy to implement this in any language after you understand the idea from the pseudo-code.
nope
in RST interrupt , RST STAND FOR
Pseudo code is in itself a language on its own. Pseudo codes are used to describe algorithms in computer science. This language, unlike a programming language is used for human specific understanding and abstract representation of a certain procedural flow of a program. Pseudo code cannot be executed in a computer based environment. Pseudo code eliminated unnecessary programming structures and only focuses on the flow process of the algorithm. It includes programming language specific constructs and natural human language constructs to explain the functioning. This is unlike a computer programming language where strict rules and procedures are laid down, which have to be followed to execute the particular code.
Pseudo-code is intended to be easily understood by all programmers regardless of the programming language they use. Pseudo-code is not a programming language, it's merely a way of generalising an algorithm in a program-like manner such that the semantics of the algorithm can be easily digested and converted into any language-dependant code. There is no "standard" that dictates the syntax of pseudo-code, thus it is often much more verbose than an actual programming language would be and is typically heavily commented to cater for languages that do not permit ideas to be expressed directly in code. This ensures that the same code can be utilised by any programmer, hence it is language-independent.
A pseudo-instruction : A symbolic representation in a compiler or interpreter. An instruction : a simple statement in any language that defines a task or computation etc.
A pseudo-instruction : A symbolic representation in a compiler or interpreter. An instruction : a simple statement in any language that defines a task or computation etc.
Structured English is a subset of English language used to represent program logic in a clear and structured manner, while pseudo code is a high-level description of an algorithm that uses a mixture of natural language and programming language syntax. Pseudo code is closer to actual programming language syntax compared to structured English, which is more focused on readability and understanding by non-programmers.
Pseudo Codes are a simplistic computer language. All statements that show a dependency must be indented. They include while, do, for, and if switch. Pseudo?æ code produces event oriented code that are done after all proper settings are in place.