GK SCIENTIST

General Knowledge One Stop Source
Menu
  • Home
  • Social Science
    • History
    • Political Science
    • Geography
  • Science
    • Physics
    • Chemistry
    • Biology
  • Chemistry Notes
  • Mathematics
  • Computer
  • Tutorial MySQL
  • Tutorial Python
  • Java Tutorial
  • English Grammar
  • English Essay
  • Indian Anthropology
  • Philosophy
  • Solved Paper
  • UPSC
  • Current Content
    • Current Affairs
    • RSTV News
    • Yojana and Kurukshetra Gist
  • Donate
  • Contact Us

If you are interested in advertising to our audience, submit the advertising enquiry form.

Advertising Enquiry
Computer

Structured Programming- Advantages and Disadvantages

Gk Scientist August 9, 2022 No Comments
Tweet WhatsApp Telegram

Table of Contents

  • Structured Programming:
  • Advantages of Structured Programming:
  • Disadvantages of Structured Programming:

Structured Programming:

In structured programming design, programs are broken into functions (also known as modules, subprograms, subroutines, or procedures). Each function is designed to do a specific task with its own data and logic. Information can be passed from one function to another function through parameters. A function can have local data that cannot be accessed outside the function’s scope. The results from different functions are synthesized in another function (main function). Many high-level languages support structured programming.

Structured programming minimized the chances of one function affecting another. It supported writing clearer programs. It made global variables disappear and be replaced by local variables and parameters. Its organization helped to understand the programming logic easily. It also made debugging easier.

Functional abstraction was introduced with structured programming. Abstraction means the ability to look at something without bothering about its internal details. In a structured program, it is sufficient to know that a given function performs a specific task. How that task is performed is not important.

Advantages of Structured Programming:

Following are the advantages of structured programming:

  • Decreases the complexity of the program by breaking it down into smaller logical units.
  • Allows several programmers to perform coding simultaneously.
  • Allows common functions to be written once and then used in all the programs needing it.
  • Decreases debugging time, because modules make it easier to isolate errors.
  • Amendments to single modules do not affect the rest of the program.
  • It saves time to use modular structures rather than using self-made structures. If a job can be done well by using what is already available and known to be well tried and tested then trying out something new for sake of it, is a waste of effort.
  • Standard method, so, less time is required in writing programs.
  • It is easier to name modules in such a way that they are easy to find in the documentation and consistent.

Disadvantages of Structured Programming:

  • Structured programs generally have redundant codes and are lengthy as compared to unstructured programs.
  • Structured programs often use more memory and may execute slower.
  • Limiting the structures to three or four basic forms, makes some tasks rather ‘messy’ to perform.
  • The completeness of basic logic structures only means that all programs can be implemented with them; it does not mean that a given program can be implemented efficiently or will be bug-free.

Object-Oriented Programming (OOP)
Applications of Computer
Logical Operators in C Language
Prev Article
Next Article

Related Articles

Convert String to List in Python
Convert String to List in Python: We can use the …
Gk Scientist November 28, 2022 Computer

Convert String to List in Python

Create Weather App in Python
Create Weather App in Python: We can use the PyCharm …
Gk Scientist December 19, 2022 Computer

Create Weather App in Python

Create a Text Editor in Python
Create a Text Editor in Python: We can use the …
Gk Scientist December 25, 2022 Computer

Create a Text Editor in Python

Python QR Code Generator
Python QR Code Generator: (1) QR Code stands for Quick …
Gk Scientist December 17, 2022 Computer

Python QR Code Generator

Python MySQL Right Join
Python MySQL Right Join: (1) MySQL Right Join clause allows …
Gk Scientist December 14, 2022 Computer

Python MySQL Right Join

List Iteration in Python
List Iteration in Python: We can use the PyCharm code …
Gk Scientist November 27, 2022 Computer

List Iteration in Python

Converting JSON to Python Objects
Converting JSON to Python Objects: We can use the PyCharm …
Gk Scientist December 4, 2022 Computer

Converting JSON to Python Objects

Python Bike Rental System (Project)
Python Bike Rental System: We can use the PyCharm code …
Gk Scientist December 6, 2022 Computer

Python Bike Rental System (Project)

Leave a Reply Cancel Reply

Search




  • Popular
  • Recent




GK SCIENTIST

General Knowledge One Stop Source

Information

  • About Us
  • Terms and Condition, Disclaimer
  • Contact Us

Android Apps

  • IAS App For English Medium Students
  • IAS Basics App For English Medium Students
  • IAS Hindi App For Hindi Medium Students
DMCA.com Protection Status

Popular Tags

Biology (33) Biology Questions (88) Chemistry (57) Computer (211) Current Affairs (4) Current Content (0) Economy (9) English Essay (172) English Grammar (75) English Literature (10) Geography (83) History (259) Indian Anthropology (11) Indian Polity (14) JKAS Mains Question Papers (17) Mathematics (68) Moral Science (7) NCERT & Other Boards Books (25) Philosophy (114) Physics (89) Political Science (132) RS TV News (33) Science (553) Social Anthropology (7) Social Science (17) Solved Paper (47) UPSC (7) UPSC Mains Question Papers (26)

Downloads

  • NCERT Books
  • Old NCERT Books
  • NIOS Books For IAS, SSC, and State PSC Exam
  • Tamil Nadu Board Books: Important For UPSC, SSC, and State PSC Exam
  • Modern Indian and World History Notes For IAS Exam
  • UPSC Topper 2013 Gaurav Agrawal Notes For IAS Preparation
  • UPSC IAS Prelims General Studies – Previous Year Papers
  • UPSC Mains Question Papers

Copyright © 2023 GK SCIENTIST
Theme by MyThemeShop.com& Hosted On Cloudways