P
P
privet_ya_zarealsa2020-04-27 22:01:27
Programming
privet_ya_zarealsa, 2020-04-27 22:01:27

Are there online pseudocode standards?

There is an encyclopedic information resource that talks about programming. In order for the material to be understandable to everyone, I decided to write examples for certain things in pseudocode (a wiki resource, now there are examples only in C).
There are no standards for pseudo-code, but nevertheless, are there any pseudo-standards, or will you have to invent pseudo-code yourself?
Ps pseudocode in Russian
Pss code of the form

алг ЗДРАВСТВУЙМИР
нач
вывод ('Здравствуй, Мир!')
кон алг ЗДРАВСТВУЙМИР

Answer the question

In order to leave comments, you need to log in

4 answer(s)
V
Vladimir Korotenko, 2020-04-27
@firedragon

Focus on Knut. Yes, at least describe in words, the main thing is the algorithm.

A
asd111, 2020-04-28
@asd111

I would advise taking java or python instead of pseudocode. Tk pseudocode still needs to be translated into something. And no Russian language, because. this knowledge will go to waste. Now python and toad are essentially a pseudocode standard.

G
Griboks, 2020-04-27
@Griboks

Here is the Russian standard for you .

A
Alexander Skusnov, 2020-04-28
@AlexSku

Once upon a time, they decided to get rid of GOTO transition commands in high-level languages ​​(the transition came from Assembler) and came up with three structures (with modifications): a sequence (this is trivial), a fork (if, case) and a loop (a condition at the beginning, a condition at the end , according to the counter, bust). These three structures and write (at least in Russian, at least in English), it is desirable to indent in case of nesting.
(for controllers there is also a parallel chain structure - SFC languages ​​​​in Codesys or Stateflow in Matlab)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question