Unit 1 Fundamentals of algorithms Comp sci

?
  • Created by: Penfred
  • Created on: 05-05-21 09:42

Section 1 - Fundamentals of algorithms

Algorithms, decomposition and abstraction

Algorithm - series of steps that allow you to complete a task ( its not necessarily a computer program )

Decomposition - breaking down a big problem into smaller simpler sections

Abstraction - removing unnecessary bits of information

Developing algorithms using flow charts

Developing algorithms using pseudocode

Sequence - writing steps in the order they need to happen ( normal code)

Selection - If.. then.. else statements, If.. then statements, if... else statements.

Iteration - For.. Endfor loop, Repeat… Until loop, While.. Endwhile loops.

Searching algorithms

Linear search

Comments

No comments have yet been made