answersLogoWhite

0


Best Answer

We can say it as an un-structured and non maintainable source code. It is unpredictable and no proper programming style will be available.

For example it uses many Goto statements rather than structured style.

It has complex and tangled control structure.

Structures in programming:

The three basic structures are:

Sequence

It can be used to perform action or task in the program

2. selection

It is a decision structure

3.Loop

It is used in repeating actions

Loop:

Here we can continue to repeat a certain actions based on a condition.

In this it asks you a Boolean condition if it fails then some actions will be performed else it will out of the loop and continue with the other actions.

This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Why does spaghetti code have a shorter shelf life than structured code?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is snarled program logic called?

Snarled program logic is unstructured logic, also known as "spaghetti" logic. Compiled machine code is the ultimate example of snarled program logic. Although spaghetti code is more compact and efficient than structured code, it is extremely difficult to both comprehend and maintain. Hence we use structured programming languages to provide a high level of abstraction between the logic of the programmer and the snarled logic of the machine-dependant code.


What is program logic?

Snarled program logic is unstructured logic, also known as "spaghetti" logic. Compiled machine code is the ultimate example of snarled program logic. Although spaghetti code is more compact and efficient than structured code, it is extremely difficult to both comprehend and maintain. Hence we use structured programming languages to provide a high level of abstraction between the logic of the programmer and the snarled logic of the machine-dependant code.


Need of structured programming?

That basically refers to a programming language that has support for conditional statements (if), code repetition (while, for, ...), and subroutine or function calls. Most modern language have that. The term is also sometimes used for languages that do NOT work with OOP. Actually OOP includes the structured programming concepts mentioned above, but it includes a few other things, too.


What do mean by structural programming?

Structured programming is a programming paradigm. Prior to structured programming, code was typically written with intertwining jumps or gotos producing "spaghetti" code which is difficult to both read and maintain. Structured programming primarily added subroutines and loop control statements and was later extended by procedural programming which primarily added function calls (not to be confused with functional programming) and which also made exception handling that much easier to maintain. This then led to object-oriented programming.


Structured programming concepts in c?

Structured programming is a programming paradigm aimed on improving the clarity, quality, and development time of a computer program by making extensive use of subroutines, block structures and for and while loops - in contrast to using simple tests and jumps such as the goto statement which could lead to "spaghetti code" which is both difficult to follow and to maintain.


Is there a shorter code for shiny?

Nope.


Where do you type in the girls code on toonattik?

in annas shelf


What is the code for the elf on the shelf on for the shipping yard?

christmas


How do you get a shelf on moshi monsters but type a code?

Help me find that  out


What are the differences between structured English and pseudo code?

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.


In what year was the Structured Settlement Protection Act enacted?

A structured settlement is a financial or insurance arrangement, defined by Internal Revenue Code as periodic payments. The Structured Settlement Protection act was enacted during 1970s.


What does the code ohs mean on a prescription?

Off the Shelf/Over the Counter