answersLogoWhite

0

A sub program is a set of easily reusable code that makes a program easier to read and understand, and it also makes the file size smaller.

User Avatar

Wiki User

14y ago

What else can I help you with?

Related Questions

What are the positives of dynamic programming?

There are several positives of dynamic programming. Dynamic programming allows a person to develop sub solutions for a large program. Having sub solutions makes it easier to maintain use of a program. Sub solutions also make it easier to debug a program.


Parts of the program C plus plus?

parts of a programStructure of C++ programDocumentation SectionPreprocessor SectionDefinition SectionGlobal Declaration Sectionmain(){Declaration part;Executable part;}sub program section{Sub program execution part}


Was sterling knight in the suite life on deck?

No, he has never been in any program or sub-program of suite life.


What is the name for a computer program that runs within another application?

I think you may be talking about a Sub Program, which is actually still part of the main program.


What is sub schema?

The schema is the physical arrangement of the data as it appears in the DBMS. The sub-schema is the logical view of the data as it appears to the application program.


Define function in c program?

function is a self contained block or sub program of two or more statements which performs a special task when called.


Program defined function c?

function is a self contained block or sub program of two or more statements which performs a special task when called.


What is meant by library?

Library is a collection of sub routines with a compiled manner which can be incorporated into a program in future..


What are the 2 sub groups of system software?

(1) operating software (2) utility program


How is a procedure identified as near or far?

The far procedure is used at the place where the function call is given in main program and function definition is given in sub program....


Is a marketing program the same as a marketing plan?

The marketing program would implement the marketing plan. For example, part of your plan might be to distribute 500 flyers in a neighborhood. The program component would be to design, print, and actually distribute the flyers. A sub-component of this item on your plan would include the need to hire people to distribute the flyers. The program part of the sub-component would be to hire workers to distribute the flyers.


What is a sub programs in qbasic?

Sub programs allow you to break up one long program; into being a series of much smaller tasks; usually, controlled by a main program. Example... ==== As you can see from the above 2 examples; the 2nd example, although longer, creates code that is much clearer and simpler to read. Even non-programmers should be able to figure out what the 'Main Program' section is doing. NOTE: There are certain rules for the use of sub-routines. Such as the sub routine should confine itself to doing just 'one' task at a time. So, SUB clearScreen...does just 'one' job, alone...which is to (CL)ear the output (S)creen. It does NOT clear the screen AND get the user to input a number. This makes it quicker and easier to debug programs; as you know exactly where the code is going wrong; so, for example, if the screen didn't clear, properly...then, look at the Sub-routine called: SUB clearScreen. If the title didn't appear; then, look at the Sub-routine called: SUB printTitle. /-Etc.