SAVE THE EARTH

SAVE THE EARTH USING ALGORITHMS

1.- Write the definition of:
   • An algorithm: An algoritm is a procedure or formule for solving a problem, based on conducting a sequence of specific actions
   • The project approach: is a metod of dealing with and resolving the practical problems afecting any society. It consist of ten stages and we can study it as a algoritm el trabajo

   • A program: is a translation of an algoritm into a programming language that can be understood  and processed by a computer

2.- The chart used to represent algorithms is called flowchart or flow diagram and uses symbols connected by arrows to show the sequences of the actions.
3.- Write the name of the symbols used in flowcharts, what they are used to and insert one image of each one and all together in an example:
  • Terminal: represents the beginning or end of development of an algorithm   



   • Process: used to represented each of the actions needed to develop the algorithm



  • Information input or output: used when information is needed (additional data to develop the algorithm) or when we present data or results
  • Decision: used when we need to decide between two or more options. It indicates the path to follow depending on the chosen option.












TYPES OF ALGORITHMS
1.- SEQUENTIAL ALGORITHMS  Definition and example

The basic structure used to salve a problem is the sequential structure.Here the instructuions of the algorsim excuted one after the other in the  same order as they appear

growth sequence





2.- SELECTIVE (OR CONDITIONAL) ALGORITHMS  Definition and example


Selective (or conditional) algorithms have a series of instructions that are excuted depending on wheter or not a condition is met
Workshop mark





3.- ITERATIVE (OR REPEATING) ALGORITHMS  Definition and example

Iterative (or reparing) algorithms have a set of instructions that are repeated several times. These instructions are contained in loops that mark the beginning and end of the repetition
eat, have a wash, go to bed

Comentarios

Entradas populares