Challenge 2 Tecno 27.08.2022
Challenge 2 Tecno 27.08.2022
Module: 1 Activity: 2
Following the paradigm, there are several paradigms such as the imperative that consists
in solving a problem by specifying a sequence of actions through functions.
It is based on specific control structures: sequences, selection, and iteration.
The logical paradigm that is basically how to define logical things raised by the system, an
example that uses this type of paradigm would be prolong.
The declarative paradigm does not show all the steps of the work, it only shows the result
but if the specifications are clear.
Reactive programming is a paradigm that is characterized using non-blocking
asynchronous calls whenever possible; In general, it is based on the use of a pool of
threads that will carry out all the processes.
A thread pool allows you to create a set of threads that are processed within a queue as
the previous ones are completed.
And finally, the object-oriented paradigm that has the main idea of encapsulating state
and operations in objects; some of the examples of this language can be java, visual basic,
simulate among many others.
Already mentioned the most relevant paradigms, each one has its function and how to do
things.
But just as there are paradigms, there is also programming with restrictions, which is
when the variables are expressed in terms of restrictions (equations); which is closely
related to the set of restrictions, which must be satisfied by any solution of the problem
posed.
This type of programming looks for some value for all the variables.
In short, returning to all the previous ideas, it can be said that each paradigm plays an
important role depending on the approach that is presented to us.