Introduction to Algorithms

Descripción

Fichas sobre Introduction to Algorithms, creado por Maribel Angeles el 17/06/2014.
Maribel Angeles
Fichas por Maribel Angeles, actualizado hace más de 1 año
Maribel Angeles
Creado por Maribel Angeles hace más de 11 años
339
0

Resumen del Recurso

Pregunta Respuesta
Algorithm? Set of instructions in specific order leading to a result.
What are the main characteristics of an algorithm? 1. Precision. Steps are clearly defined, logical and ordered. 2. Uniqueness – each step is unique and the result depends of the inputs. 3. Finiteness – has a finite number of instructions
What are the stages of an algorithm? 1. Inputs (initial state, initial conditions) 2. Process (when all the conditions and activities are done) 3. Outputs (final state, when we have a result)
How can we represent an algorithm? 1. Pseudocode - write the instructions in natural language (with words). 2. Flowcharts – Graphical representation of an algorithm. 3. Code - instructions for computers.
Mostrar resumen completo Ocultar resumen completo