answersLogoWhite

0


Best Answer

Advantages of an Algorithm:

Effective Communication: Since the algorithm is written in English like language, it is simple to understand the step-by-step solutions of the problems.

Easy Debugging: Well-designed algorithm makes debugging easy so that we can identify a logical error in the program.

Easy and Efficient Coding: An algorithm acts as a blueprint of a program and helps during program development.

Independent of Programming Language: An algorithm is independent of programming languages and can be easily coded using any high-level language.

Disadvantages of an Algorithm:

Developing algorithms for complex problems would be time-consuming and difficult to understand.

Understanding complex logic through algorithms can be very difficult.

User Avatar

Anton Christensson

Lvl 6
3y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What are disadvantage of algorithm?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What are the disadvantage of bresenham's circle drawing algorithm?

The main advantage of Bresenham's algorithm is speed. The disadvantage of such a simple algorithm is that it is meant for basic line drawing. The "advanced" topic of antialiasing isn't part of Bresenham's algorithm, so to draw smooth lines, you'd want to look into a different algorithm.


What are the advantages and disadvantages of dijkstra-scholten algorithm versus Huangs algorithm?

Main disadvantages:The major disadvantage of the algorithm is the fact that it does a blind searchthere by consuming a lot of time waste of necessary resources.Another disadvantage is that it cannot handle negative edges. This leads toacyclic graphs and most often cannot obtain the right shortest path.


What is the advantage and disadvantage of LMS algorithm?

Advantages & disadvantages of LMS algorithm :(1) Simplicity in implementation(2) Stable and robust performance against different signal conditions(3) slow convergence ( due to eigenvalue spread )(4) MSE Behavior of the LMS Algorithm


What are Disadvantage of stack?

A stack is a LIFO (last-in, first-out) data structure such that only the top-most element is accessible and all new elements are pushed onto the top (analogous to a stack of plates). Stacks are advantageous when implementing a back-tracking algorithm but are ultimately useless for anything else. However, this is not a disadvantage. If you're not implementing a back-tracking algorithm then the problem is not the stack itself it is the fact that you are using the wrong type of container for your algorithm.


What are the advantages and disadvantages of dijkstra scholten algorithm versus bellman-ford algorithm?

The only difference between the two of these algorithm's is the person who invented the steps to solving the problems. The disadvantage to both of these are that they are very complex and hard to solve. The advantage is that using these methods can solve math problems that were unsolvable before this strategy was founded.


What is the Difference between Peterson's algorithm and Dekker's algorithm?

Dekker algorithm has much more complex code with higher efficiency, while Peterson has simpler code. Imran Dekker algorithm has also the disadvantage of being not expendable (maximum 2 processes mutual exclusion, while Peterson can be extended for more then 2 processes. more info here: http://en.wikipedia.org/wiki/Peterson%27s_algorithm#The_Algorithm_for_more_then_2_processes


What is the advantage and disadvantage of preemptive scheduling algorithm?

The main advantage is that they ensure fairness to all jobs, regardless of its priority and also provide quick response time depending on the CPU time the job needs. The main disadvantage is that it provides indefinite postponement to process.


What is are advatages and disadvatages of bresenham's line algorithm?

1. High accuracy. Comparing to Basic Incremental algorithm (especially if the slope were > 1.) 2. High speed. Comparing to Digital Differenmtial algorithm. 3. Draws the line between any two points. Comparing to Basic Incremental algorithm which can't draw if x0 > x1 ( the format is: (x0, y0), (x1, y1). )


How are the expanded algorithm and the standard algorithm different?

They are different because standard algorithm is more common then the expanded algorithm


What is algorithm to write algorithm to the program to access a pointer variable in structure?

Here is the algorithm of the algorithm to write an algorithm to access a pointer in a variable. Algorithmically.name_of_the_structure dot name_of_the _field,eg:mystruct.pointerfield


Which algorithm is more efficient lamport bakery algorithm or black and white bakery algorithm?

Black and White bakery algorithm is more efficient.


What is complsexity of an algorithm?

Complexity of an algorithm is a measure of how long an algorithm would take to complete given