100% tevredenheidsgarantie Direct beschikbaar na je betaling Lees online óf als PDF Geen vaste maandelijkse kosten
logo-home
1.9 Algorithms $7.40
In winkelwagen

College aantekeningen

1.9 Algorithms

 0 keer verkocht
  • Vak
  • Instelling
  • Boek

Full notes for the module 1.9 Algorithms

Voorbeeld 1 van de 8  pagina's

  • 11 juni 2019
  • 8
  • 2016/2017
  • College aantekeningen
  • Onbekend
  • Alle colleges
avatar-seller
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

Dit zijn jouw voordelen als je samenvattingen koopt bij Stuvia:

Bewezen kwaliteit door reviews

Bewezen kwaliteit door reviews

Studenten hebben al meer dan 850.000 samenvattingen beoordeeld. Zo weet jij zeker dat je de beste keuze maakt!

In een paar klikken geregeld

In een paar klikken geregeld

Geen gedoe — betaal gewoon eenmalig met iDeal, Bancontact of creditcard en je bent klaar. Geen abonnement nodig.

Focus op de essentie

Focus op de essentie

Studenten maken samenvattingen voor studenten. Dat betekent: actuele inhoud waar jij écht wat aan hebt. Geen overbodige details!

Veelgestelde vragen

Wat krijg ik als ik dit document koop?

Je krijgt een PDF, die direct beschikbaar is na je aankoop. Het gekochte document is altijd, overal en oneindig toegankelijk via je profiel.

Tevredenheidsgarantie: hoe werkt dat?

Onze tevredenheidsgarantie zorgt ervoor dat je altijd een studiedocument vindt dat goed bij je past. Je vult een formulier in en onze klantenservice regelt de rest.

Van wie koop ik deze samenvatting?

Stuvia is een marktplaats, je koop dit document dus niet van ons, maar van verkoper luca_pass. Stuvia faciliteert de betaling aan de verkoper.

Zit ik meteen vast aan een abonnement?

Nee, je koopt alleen deze samenvatting voor $7.40. Je zit daarna nergens aan vast.

Is Stuvia te vertrouwen?

4,6 sterren op Google & Trustpilot (+1000 reviews)

Afgelopen 30 dagen zijn er 75197 samenvattingen verkocht

Opgericht in 2010, al 15 jaar dé plek om samenvattingen te kopen

Start met verkopen

Laatst bekeken door jou


$7.40
  • (0)
In winkelwagen
Toegevoegd