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
Instruction Set Architecture:                             Instruction set architecture cycle-it is smallest unit of time in a processor. superscalar processor

Q. Explain about Interrupt Procedure? The interrupt procedure uses request header to conclude the function requested by DOS. It also performs all functions for device driver. T

Initial thought process: Design a script which was simple and user friendly.  Integrate procedures/functions to extract data under the hood.  I focused on giving the user the o

Explain the differences between Paging and segmentation. Paging and segmentation P aging Segmentation Computer memory is separa

Q. Explain types of Micro-instructions? In general micro-instruction can be classifiedin two general kinds. These are non-branching and branching. After execution of a non-bran

System.XML.XLinq.dll has classes to provide functionality to use LINQ with XML.

Write down the general model for the translation process. For the translation process the general model can be represented as given here:

Solve the following 8-department problem using the MIP method.  What is the resulting layout and flow-distance score?  Note that the aspect ratio of each department should be 2.

Q. What do you mean by Supercomputers? The upper end of state of art mainframe machine is supercomputers. These are among the fastest machines in terms of processing speed and

Virtual memory: Virtual memory is a technique which realized an application program the idea that it has contiguous working memory (an address space), whereas in fact it may b