ALGORITHMS OA EXAM STUDY
GUIDE QUESTIONS AND WELL
ELABORATED ANSWERS TOP
GRADED VERSION /ALREADY A+
GRADED|NEW AND REVISED
Save
Terms in this set (582)
An algorithm must always have a finite
number of steps before it ends. When
Finiteness the operation is finished, it must have a
defined endpoint or output and not
enter an endless loop.
, An algorithm needs to have exact
definitions for each step. Clear and
Definiteness straightforward directions ensure that
every step is understood and can be
taken easily.
An algorithm requires one or more
inputs. The values that are first supplied
to the algorithm before its processing
Input
are known as inputs. These inputs come
from a predetermined range of
acceptable values.
One or more outputs must be
produced by an algorithm. The output is
the outcome of the algorithm after
Output
every step has been completed. The
relationship between the input and the
result should be clear.
An algorithm's stages must be
sufficiently straightforward to be
carried out in a finite time utilizing
Effectiveness fundamental operations. With the
resources at hand, every operation in
the algorithm should be doable and
practicable.
, Rather than being limited to a single
particular case, an algorithm should be
able to solve a group of issues. It
Generality
should offer a generic fix that manages
a variety of inputs inside a
predetermined range or domain.
This feature was perfectly designed for
the algorithm if you are given a
problem and break it down into small-
Modularity
small modules or small-small steps,
which is a basic definition of an
algorithm.
An algorithm's correctness is defined as
when the given inputs produce the
desired output, indicating that the
Correctness
algorithm was designed correctly. An
algorithm's analysis has been
completed correctly.
It means that the algorithm should be
designed in a straightforward,
Maintainability structured way so that when you
redefine the algorithm, no significant
changes are made to the algorithm.
It takes into account various logical
Functionality
steps to solve a real-world problem.