Explain the need for user-defined functions, Computer Engineering

Explain the need for user-defined functions.

The need for user-defined function:

1.  A programmer might be having a block of code that he has repeated forty times all over the program. A function to implement that code would save a great deal of space, and it would also make the program more readable. 

2.  It is simple to locate and isolate a faulty function. Having only single copy of the code makes it simpler to make changes. 

 

 

Posted Date: 5/4/2013 1:21:40 AM | Location : United States







Related Discussions:- Explain the need for user-defined functions, Assignment Help, Ask Question on Explain the need for user-defined functions, Get Answer, Expert's Help, Explain the need for user-defined functions Discussions

Write discussion on Explain the need for user-defined functions
Your posts are moderated
Related Questions
Explain the Main characteristics of semiconductor memory Memory, with regard to computers, most commonly signifies to semiconductor devices whose contents can be accessed (whic

Draw a neat labelled diagram of the OSI reference model for computer networks showing all the layers and the communication subnet boundary. The computer network consists of all

Benefits of object oriented Modelling There are many benefits and advantages of object oriented modelling. Emphasis on quality and reuse are the major highlights of OOM. OOM p

What are the requirements to design Combinational Logic ? Ans . Design Requirements of Combinational Logic:- (i) By the specifications of circuit, we find out the

Different EDI components and services  Three main components containing services in EDI System are as follows:  •  Application Service: Gives the means of integrating existi

What is a Metadata?  Metadata is information about a PE. In COM, metadata is communicated by non-standardized type libraries. In .NET, this data is contained in the header port

What are advantages and benefits to businesses by e-commerce over extranets? The advantages and benefits to businesses comprise: Less Paperwork: along with documents and bus

POSIX is the IEEE's Portable Operating System Interface for Computer Environments. The standard provides compliances criteria for operating system services and is designed to allow

What is DRAM? What do you understand by DRAM refreshing? With the help of a block diagram, demonstrate how DRAM can be interfaced to a microprocessor. Dynamic RAM (DRAM) is bas

RISC  architecture - computer architecture: What is reduced regarding it? The answer of this question is that to make all instructions the equal length the number of bits that