Algorithmic Design and Data Structure Techniques
An algorithm is a systematic group
of commands intended to perform a specific function. In computer programming these
algorithms are used for multiple purposes, such as gathering groups of data, organizing
that data, and perform mathematical functions. The purpose of algorithms is to
perform work efficiently by using the least amount of processing power and
memory as possible to complete the task. Additionally, algorithmic design also
allows for the reuse of code to perform similar functions throughout the
program as necessary.
One of the main way algorithms can
be used is by implementing object-oriented programming to create data objects that
can be called on to perform the same function repeatedly. For example, say you
are creating an employee database. Instead of writing the same code each time you
want to input another employee, you create one instance of employee that can be
called to create a new employee as many times as necessary. Besides reusing the
same code each time a new employee is added, this allows you to create a
structured organization to the data your program is intaking by requesting the
same data in every instance.
Comments
Post a Comment