save the earth using algorithms


SAVE THE EARTH USING ALGORITHMS


         




1.- Write the definition of:
  • An algorithm: is a series of instructions or ordened steps for performing an activity or resolving a problem


  • The project approach: is a method of dealing with and resolving the practical problems affecting any society. It consists of ten stages and we study it as an algorithm




  • A program: is the translation of an algorithm into a programming language that can be understood by any 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 the development of an algorithm




process: used to represent each of actions needed to develop the algorithm


information input or output: used when informacion is needed (additionaldata to develop the algorithm) or when we present data or results


decision : used when need to decide between two or more options. It indicates the path to follow depending on the chosen option


flow line : tells us the order of the actions in the algorithm










TYPES OF ALGORITHMS
1.- SEQUENTIAL ALGORITHMS Definition and example


the basic structure used to solve a problem is the sequetial structure . Here the intructions of the algorthm are executed one after the other in the same order as they appear












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


have a series of intructions that are executed depending or whether or not a condition is met














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


have a set of instructions that are repeated several times .These instructions are contained in loops that mark the beginning and the end of the repetiton

Comentarios

Entradas populares de este blog

training algorithm