Structured programming

Date:

2018-04-02 19:34:07

Views:

864

Rating:

1Like 0Dislike

Share:

Table of contents:

Structured programming represents a major achievement in this area at the moment. Despite the fact that almost all have a General idea about it, almost nobody can give a specific and clear definition of this term. Structured programming puts the main objective to write a program of least complexity, forcing the programmer to think clearly, facilitating the perception of the program. The text of it must be done so that it was read top-down. This condition is violated if in the code there are operators go to, as they disrupt the structure of the whole segment of the program. Despite the fact that this indicator should not be considered the most convenient, yet we can say that the presence in the code of this operator is the most conspicuous type of visual structure. Bodies of modules and apply the basic design should be resistant to hardware failures, program errors, and distortions of the original data.

The Basic principles of structured programming are as follows. Any program can be easily synthesized on the basis of the elementary constructions three main types:

- simple sequence;

- conditions or alternatives;

- repetitions, that is, cycles and iterations.

You can Use one or any two of them simultaneously. Every entity inherent in the single trait-single point of control transfer to the structure and the only entrance point to the structure. This type of design has disciplining and systematizing the value.

The Simplicity of the original structures in structured programming prevents the occurrence of ties, and complicated transmission control. The complexity of the programs significantly reduced with increasing structuring of modules, increases their visibility, and this contributes to the reduction of the number of errors. However, structuring a deficiency – for the beauty and clarity of the program code have to pay additional memory as well as the time needed for their implementation on a computer.

Structured programming, that is, the structure of software texts themselves, wholly depends on what is used for that language. Of course, the question arises which of them fits best. Modern tools of software development are the best languages that implement a structured approach to programming. Among the most common it is possible to allocate Basic, Pascal and FoxBASE. For example, in Assembler it is practically impossible to implement the principles embodied in the concept of structured programming. This language focuses on writing code at a low level.

Recommended

How to get out of

How to get out of "Skype" on the "Android" and not only

How to get out of "Skype" "Android"? This question bothers many users. The thing is that the messenger is not so difficult. But there are features that are only for mobile versions. To log out of Skype in this case more difficult than it seems. But i...

Kingo ROOT: how to use the program to gain administrative rights on Android

Kingo ROOT: how to use the program to gain administrative rights on Android

The Gadgets on the platform Android regained the lion's share of the market. Developers are continually perfecting the OS, trying to fit the needs of the users, but from year to year admit palpable mistake: forbid the owner to "stuffing" of his gadge...

How to get from Stormwind to Tanaris: practical tips

How to get from Stormwind to Tanaris: practical tips

World of Warcraft is an iconic MMORPG, uniting millions of players around the world. There are many locations and puzzles, secret trails and larger, but rather dangerous paths. Sooner or later, every player chose the side of the Alliance, we have to ...

Structured programming at its core is focused on dealing with people, not machines, therefore, contributes to writing programs that represent a clear and simple solution to the problem. The programmer must think in terms of basic structural designs.

If to speak about the position regarding the previously mentioned operator go to, you should avoid using wherever possible, however this should not affect the clarity of the program. Sometimes the use of this operator is simply required to exit a segment of the program or cycle, and in order to avoid too in-depth forks, especially since the transition is associated with lower levels of programs. The structure of the program remains easy to read from top to bottom. The worst option of the use of this operator is associated with the transition from the bottom up.

For readability often add blank lines between sections. Should write the program text with shifts to be able to read the sequence of actions and the number of attachments.


Article in other languages:

AR: https://tostpost.com/ar/cars/7586-what-is-the-exam-in-the-traffic-police.html

BE: https://tostpost.com/be/a-tamab-l/13550-shto-zh-uya-lyae-saboy-ekzamen-u-d-bdr.html

DE: https://tostpost.com/de/autos/13553-was-ist-eine-pr-fung-in-der-verkehrspolizei.html

ES: https://tostpost.com/es/coches/13560-que-es-un-examen-en-el-gbdd.html

HI: https://tostpost.com/hi/cars/7592-what-is-the-exam-in-the-traffic-police.html

JA: https://tostpost.com/ja/cars/7588-what-is-the-exam-in-the-traffic-police.html

KK: https://tostpost.com/kk/avtomobil-der/13553-b-l-b-ld-red-emtihan-gibdd.html

PL: https://tostpost.com/pl/samochody/13540-co-to-jest-egzamin-do-policji.html

PT: https://tostpost.com/pt/carros/13534-o-que-um-exame-de-pol-cia-de-tr-nsito.html

TR: https://tostpost.com/tr/arabalar/13556-nedir-bu-s-nav-traf-k-polisi.html

UK: https://tostpost.com/uk/avtomob-l/13550-scho-zh-yavlya-soboyu-spit-v-gibdd.html

ZH: https://tostpost.com/zh/cars/8252-what-is-the-exam-in-the-traffic-police.html






Alin Trodden - author of the article, editor
"Hi, I'm Alin Trodden. I write texts, read books, and look for impressions. And I'm not bad at telling you about it. I am always happy to participate in interesting projects."

Comments (0)

This article has no comment, be the first!

Add comment

Related News

Ways on how to write Roman numerals in

Ways on how to write Roman numerals in "the Ward"

Each of us are accustomed to using Arabic numerals, as today they are most common. Roman are rarely used. However, sometimes we have to remember them. For example, century is still worth writing Roman numerals. But unfortunately, ...

How to gain likes in

How to gain likes in "Contact": full manual

so, today we learn you how to gain likes in "Contact". Actually, this is a pretty interesting subject, which requires great attention. Because modern methods of obtaining likes is quite laborious and sometimes hard to understand p...

"Jewels star": the passage 185 level, Hyde

In-game “planet gems” the passage 185 level is not particularly difficult. Here are 12 steps that will easily lead to victory. If any problem, the article contains a number of tips.About the gamefans of the genre "...

How to edit PDF files

How to edit PDF files

a Lot of documents that users have to use in their activities, are in PDF format. Very decent of them from those used in the Internet, is created, transferred and stored in this format. Among its main advantages include the correc...

How to get to Timeless Isle. The chests on the Timeless Isle

How to get to Timeless Isle. The chests on the Timeless Isle

With the release of Mists of Pandaria in WOW appeared Timeless Isle. It is located South of the jade forest and poorly connected with the events of the patch, but refers to the last part of the quests in Pandaria. In this article ...

What, why and how to eat in Minecraft?

What, why and how to eat in Minecraft?

Most computer games to date, prompts the user to plunge into the vivid worlds full of action, but make it very one-sided. If you are playing a shooter, then get ready just to shoot and to be treated - no other aspects you will not...