100% de satisfacción garantizada Inmediatamente disponible después del pago Tanto en línea como en PDF No estas atado a nada 4.2 TrustPilot
logo-home
Notas de lectura

1.9 Algorithms

Puntuación
-
Vendido
-
Páginas
8
Subido en
11-06-2019
Escrito en
2016/2017

Full notes for the module 1.9 Algorithms

Institución
Grado








Ups! No podemos cargar tu documento ahora. Inténtalo de nuevo o contacta con soporte.

Libro relacionado

Escuela, estudio y materia

Nivel de Estudio
Editores
Tema
Curso

Información del documento

Subido en
11 de junio de 2019
Número de páginas
8
Escrito en
2016/2017
Tipo
Notas de lectura
Profesor(es)
Desconocido
Contiene
Todas las clases

Temas

Vista previa del contenido

AS Computing
Unit 1.9 – Algorithms
What is an Algorithm?
An algorithm is a finite set of instructions to solve a problem. These instructions must be able to be
processed by a computer. They can be represented in pseudocode or flowcharts.

What Are Three Possible Algorithm Structures?

1. Sequence
a. A set of instructions that are executed one after another.
b. They are used when you want things to happen in a certain order.
c. An example of this is logging on to a school network.
d. Examples:
i. Making a cup of tea.
ii. Baking a cake.
iii. Getting dressed for school.
2. Selection
a. A set of choices from which one can be chosen.
b. They are used when you want your solution to make a decision.
c. An example of this is deciding whether to put a coat on depending on whether it is
cold outside.
d. Essentially If, Then, Else statements.
3. Iteration
a. An algorithm that will run until a condition is met or a result is achieved.
b. They are used when you want something done and it will take more than one
process.
c. May be repeated a fixed number of times or even a variable number.
d. An example of this is washing your car until the car is clean.
e. Essentially, Loops.

What is Dry-Running an Algorithm?

It is when you read an algorithm and work out what it does and what it is supposed to do. A dry run
does not involve coding or a computer.

Why Are Self-Documenting Variables and Identifiers Important?

1. If the development stage takes a long time they are useful to remind the developer what
they do.
2. Useful for other programmers who have to perform maintenance on the code so that they
can understand what the program does and how to fix it.
3. It is good practice and companies often have house styles/policies requiring employees to
adopt certain coding styles.




Page |1 Luca Passariello AS Computing
$7.59
Accede al documento completo:

100% de satisfacción garantizada
Inmediatamente disponible después del pago
Tanto en línea como en PDF
No estas atado a nada

Conoce al vendedor
Seller avatar
luca_pass

Documento también disponible en un lote

Conoce al vendedor

Seller avatar
luca_pass Cardiff University
Seguir Necesitas iniciar sesión para seguir a otros usuarios o asignaturas
Vendido
2
Miembro desde
6 año
Número de seguidores
2
Documentos
24
Última venta
2 año hace

0.0

0 reseñas

5
0
4
0
3
0
2
0
1
0

Recientemente visto por ti

Por qué los estudiantes eligen Stuvia

Creado por compañeros estudiantes, verificado por reseñas

Calidad en la que puedes confiar: escrito por estudiantes que aprobaron y evaluado por otros que han usado estos resúmenes.

¿No estás satisfecho? Elige otro documento

¡No te preocupes! Puedes elegir directamente otro documento que se ajuste mejor a lo que buscas.

Paga como quieras, empieza a estudiar al instante

Sin suscripción, sin compromisos. Paga como estés acostumbrado con tarjeta de crédito y descarga tu documento PDF inmediatamente.

Student with book image

“Comprado, descargado y aprobado. Así de fácil puede ser.”

Alisha Student

Preguntas frecuentes