Start networking and exchanging professional insights

Register now or log in to join your professional community.

Tomasz Modrzejewski
by Tomasz Modrzejewski , Programmer , Company Skraw-Mech

Another technique for documenting the program (subroutine module, etc..) Is a method of recording the content of the program (the algorithm) using the so-called. "Pseudo-code". The method is characterized in that the resulting program description provides good clarity and intelligibility while preserving the structure of the target program (algorithm). Form of pseudo-code is intermediate between formal programming language and natural language. It is a formalized manner only partially, because next to some, the established structures of syntax applies also describes the steps expressed using natural language. Thus, the pseudo-code in its structure is similar to the programming language. The notation used to document the program (algorithm) contains the following syntax elements • mandatory sentence that defines the work to be performed - for example. "Calculate roots of quadratic equation"; it is written in the language is the norm in the form of sentences or equivalent sentences and determines the elementary step of the algorithm; if the described operation is complex, in the course of uszczegó- łowiania documentation, general sentence is replaced by the entire sequence of simple sentences; • Grouping sentence is a sequence of mandatory individual sentences that replace one general sentence; This phrase is used in situations where one imperative sentence is too general; a sequence of statements enclosed in braces should be treated as one sentence (Listing3.1); Listing3.1. {Sentence Imperative sentence Imperative1 ... n} • sentence decision-making - it contains a structure describing the decisions taken in the algorithm and their effects; to write this structure is used emphasized words and phrases of natural language written in bold where the meaning is the same as in ordinary language; sentence must contain a criterion or condition of choice and sentence describing choice; decision-making insight is recorded using either a simple structure - Listing3.2, or structure of the alternative - Listing3.3; Listing3.2. If the condition is a mandatory sentence of Listing3.3. If the condition is a mandatory sentence No.1 in the otherwise mandatory sentence2 • Iterative sentence is used to record the situation in which certain factors POWER to be repeated for successive values ​​of a given range or period elephant number of times; stranded structure of this Listing3.4 shows; Listing3.4. For a list of cases follow the mandatory sentence • Iterative Conditional sentence describes a situation in which certain czynno- COMPONENTS should be repeated until the specified condition is met; form of writing that sentence provided in Listing3.5. Writing in this listing must be interpreted as meaning that the iteration ends when the "condi- Runek" ceases to be true. Thus it is important to "ne imperatyw- sentence" affect this condition.  Listing3.5. While the condition of performing mandatory sentence Recording rules algorithm, including using the programming language, they are supplemented by specific notation conventions that improve the readability of write algorithm. Namely, subordinated to other sentences are indented by several characters, so that these relationships were shown graphically. Sentences equivalent elevations are indented by the same characters, and parentheses grouping are written so as to form a pair - ie. Beginning and the end of the sentence grouping must be visible graphically. Each new sentence is written on a new line. These conventions are not a formal part of the syntax of writing the program, but their observance reflects good programming style by the programmer. The purpose of use of the notation is primarily to ensure maximum clarity and readability of the program for the programmer. Let us return to the example of the algorithm for calculating the zeros of a quadratic equation, using the block diagram tional. This algorithm, using the stored pseudo-code listing provided in3.6. Please note the indentation, which not only improve the pure tality record, but also allow you to determine the hierarchy of sentences. Listing3.6. Enter the coefficients a, b, c for the equation to calculate the delta of the quadratic equation, if delta <0 is the view that there is no real solution otherwise if delta =0 {calculate one zero of x, assume that x1 = x2 = x} Otherwise, calculate two zeros x1, x2 view solution in the form x1, x2

Abdulelah Fallatah
by Abdulelah Fallatah , Tech-Support Specialist & Programmer , Al-Rayan Colleges

It's an algorithm (a step-by-step procedure) written in English rather than a programming language.

Qaisar Mukhtar
by Qaisar Mukhtar , Fronend Developer , Hopen

An algorithm is a procedure for solving a problem in terms of the actions to be executed and the order in which those actions are to be executed. An algorithm is merely the sequence of steps taken to solve a problem. The steps are normally "sequence," "selection, " "iteration," and a case-type statement.

for more details you can have a look at http://en.wikipedia.org/wiki/Pseudocode

Snezana Brankovic
by Snezana Brankovic , • Senior Consultant in Marketing Department , „Stankom” Business System

Pseudocode is an artificial and informal language that helps programmers develop algorithms which benefit is that it enables theprogrammer to concentrate on the algorithms , i.e. it is is a "text-based" detail (algorithmic) design tool. The programmer needn worry about all the syntactic details of a particularprogramming language.

 

 

Pseudocode is an informal high level description of the operating principle of a computer software or other alogrithm.

Shagufta Mubasher
by Shagufta Mubasher , Web Developer , MP CJ O Shopping Sdn. Bhd.

  1. a notation resembling a simplified programming language, used in program design.   OR   a detailed yet readable description of what a computer program or algorithm must do, expressed in a formally-styled natural language rather than in a programming language

هاشم المشارقة
by هاشم المشارقة , Key Account Manager , Advanced United Systems Ltd. ( A member of Taj Holding Group)

It is the most simple way to write and experice your code and program there is no syntax here and you can use you own way to write all what you think is right.

 

Simply there is no syntax

Abdul Khader Shaik
by Abdul Khader Shaik , IT Project Manager , Synova Consulting Services

Pseudocode is a simple way of writing programming code in English. Pseudocode is not an actual programming language. It uses short phrases to write code for programs before you actually create it in a specific language.

Pseudocode cannot be compiled nor executed, and there are no real formatting or syntax rules.The benefit of pseudocode is that it enables the programmer to concentrate on the algorithms without worrying about all the syntactic details of a particular programming language. In fact, you can write pseudocode without even knowing what programming language you will use for the final implementation.

Pseudo code :- is an simple specification of the program (outline of the program can be termed as algo.),which is written in simple and understandable statements (language) describing the steps involve for achieving the particular task , for which the program has to work and by using that statements(pseudo code)  a real program can be created by converting each steps in actual programming langage.or in other hand can be termed as simple algorithm for the program, written in english(native language) statement and can be understandable by the end user

georgei assi
by georgei assi , مدير حسابات , المجموعة السورية

I agree with Brother answer Tomasez

Ghadeer Al-Yami
by Ghadeer Al-Yami , Saudi Female- IT Support Engineer , Honeywell

It's a sequence of instruction that present the code in a simple form written in high level language that is understood by human, and some of the pseudocode uses the mathematical notation

More Questions Like This

Do you need help in adding the right keywords to your CV? Let our CV writing experts help you.