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

Modular Programming

Gk Scientist August 14, 2022 No Comments
Tweet WhatsApp Telegram

Table of Contents

  • Modular Programming:
  • Advantages of Modular Programming:
  • Disadvantages of Modular Programming:

Modular Programming:

It is a technique where a long and complex program is split into a number of smaller parts also known as Modules. A module in itself is a complete program, which can be compiled and tested separately. Every module in a program is designed to perform a specific task.

A module may be split into further modules called sub-modules. Conversely, a number of modules may be combined together to form a superior module. The programming languages using the modular programming approach must provide facilities for defining modules and also for calling sub-modules is known as calling statements.

However, in the context of modular programming, it is necessary that when a superior module calls a sub-module, through a calling statement, the control must return to the statement next to the calling statement, after the called module is executed. Thus, modular programming prohibits the use of the GOTO statement as a calling statement, because the use of this statement does not automatically return the control to the calling module.

Advantages of Modular Programming:

  • It is easier to test and debug a long program by testing and debugging the individual modules in the program.
  • A modular program is easy to understand as the user has to analyze the individual modules which in itself are small programs, each performing a specific task rather than analyzing the entire program.
  • It is convenient to modify a modular program by modification or replacement of individual modules without disturbing the entire program.
  • Many programmers can work at the same time on a large program as each individual module can be developed separately in isolation. Thus, parallel designing of the modules speeds up the program design job.
  • Modules may be developed in a general way so that these can be used with other programs also. In this way, a library of standard and commonly used modules can be developed for future use.

Disadvantages of Modular Programming:

  • May need more memory space.
  • Requires more effort during design.
  • Requires a lot of effort to learn because of the limited number of formal design methods.
  • May require more run time.

Object-Oriented Programming (OOP)
Structured Programming- Advantages and Disadvantages
Continue Statement in C Language
Prev Article
Next Article

Related Articles

How to Solve JOptionPane error in Eclipse
Solve JOptionPane error in Eclipse: (1) Error while importing library …
Gk Scientist December 30, 2022 Computer

How to Solve JOptionPane error in Eclipse

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

Python MySQL Equi Join
Python MySQL Equi Join: (1) Equi Join may be defined …
Gk Scientist December 14, 2022 Computer

Python MySQL Equi Join

Python MySQL Self Join and Full Join
Python MySQL Self Join and Full Join: (1) Self Join- …
Gk Scientist December 15, 2022 Computer

Python MySQL Self Join and Full Join

Database Management System (DBMS)
What is Database Management System? The Database Management System acts …
Gk Scientist August 16, 2022 Computer

Database Management System (DBMS)

Careers in Information Technology (IT)
Careers in Information Technology: Information Technology as the name suggests …
Gk Scientist October 22, 2022 Computer

Careers in Information Technology (IT)

Simple Java GUI (Graphical User Interface)
Simple Java GUI: We can use the Eclipse IDE for …
Gk Scientist December 30, 2022 Computer

Simple Java GUI (Graphical User Interface)

Computer Input Devices
Computer Input Devices: Input devices allow users and other applications …
Gk Scientist August 3, 2022 Computer

Computer Input Devices

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 (215) Current Affairs (4) Current Content (0) Economy (12) 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

Ad Blocker Detected

Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker.

Refresh