GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

2.3 - Algorithms - Flashcards

Nathan Hall A2 Computer Science A2 - Level Englisch 8 Karten

Karten in diesem Stapel (8)

  1. 1AlgorithmsA sequence of steps designed to perform a particular task
  2. 2Algorithms can be written as- A programming language
    - List
    - Pseudocode
    - Diagrams
    - ...
  3. 3Short for a list of numebers?[0, ..., n-1]
  4. 4Recursive AlgorthimsA function which calls itself inside that function
    (e.g. factorial, while (n=3))
    Advantage --> Less code needed
    Must contain a termination condition to tell the code when to stop
  5. 5Linear SearchMethodically searching one location after another until the value required if found
  6. 6Bubble SortComparing a value to the next one in a sequence and rearranging it to get the largest value on the top, then repeat until the values aer rearragnfed
  7. 7Insertion SortWorks by dividing a list into 2 parts:
    - Sorted
    - Unsorted
    Elements are inserted one by one into their correct position in the sorted section
  8. 8Binary SearchDivides the list into two continualy until the idem being searched for is found
    For binary searching to work the list bus be in order
    Usually quicker than linear

Informationen

Beschreibung
A2 - Level A2 Computer Science Karteikarten am 2.3 - Algorithms - Flashcards, erstellt von Nathan Hall am 07/04/2016.
Erstellt von
Nathan Hall
Aufrufe
2
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck