Characteristics and classifications of algorithms
Parts of the
algorithm and generalities
Regardless of the
classification and type of algorithm, basically all are composed of three main
parts:
-Input: This is the data set that the algorithm needs as
input to process.
-Process: These are the necessary steps applied by the
algorithm to the input received in order to reach an output or resolution of
the problem.
-Output: It is the result produced by the algorithm from the
processing of the input once the execution of the process has finished.
In addition to the type
of algorithm, there are a number of characteristics common to all of them, some
of which are mentioned below.
-Accuracy: the algorithm has to indicate a clear order of
execution of each step, these cannot be ambiguous (there must be reliability).
-Be defined: if the same algorithm is executed in different
instances using the same input, it must result in the same output.
-Complete: the solution must consider all the possibilities of
the problem.
-Finite: An algorithm must necessarily have a finite number of
steps.
-Understandable
instructions: The instructions
that describe it must be clear and legible.
-General: it must be able to cover problems of the same
subject, supporting the different variants that are presented in the definition
of the problem.
What is an Operative System?
An operating system
(OS) is the set of programs of a computer system that manages hardware
resources and provides services to software application programs. These
programs run in privileged mode with respect to the rest.
One of the purposes of
the operating system that the proxy kernel manages is to manage the location
resources and access protection of the hardware, which relieves application
programmers of having to deal with these details. Most electronic devices that
use microprocessors to function have an operating system built into them
(mobile phones, DVD players, computers, routers, etc.). In which case, they are
handled by a graphical user interface, window manager, or desktop environment
if mobile, by console or remote if DVD, and by command line or web browser if
mobile. a router.
The dominant desktop
operating system is Microsoft Windows with a market share of about 75.88%.
Apple Inc.'s macOS ranks second (13.23%), and GNU/Linux varieties are
collectively in third place (1.57%). In the mobile sector (including
smartphones and tablets), the share of Android is up to 70% in the year 2017.
Linux distributions are
dominant in the server and supercomputing sectors. Other specialized classes of
operating systems exist, such as embedded and real-time systems, for many
applications.
What are variables in programming?
A variable is a space in the computer's memory where a value is stored. Imagine this space as a box and the RAM as a large container. Well then, these boxes are stored in memory while the programs are open. In this way, the program loads all the boxes it needs into memory so that it can use them when needed.
Comentarios
Publicar un comentario