Algorithms Flashcards
Define computational thinking
The steps taken to find a solution to a complex problem
Define decomposition
Breaking down a complex problem into smaller problems and solving each one individually
Define abstraction
Taking out the important information from a problem
Define algorithmic thinking
A logical way of getting from a problem to a solution
Define pseudocode
Shows the steps of an algorithm without following syntax
Define flowcharts
Can be used to show commands in an algorithm
What does an oval represent in a flow chart?
Start/End
What does a rhombus represent in a flowchart?
Input/Output
What does a rectangle with lines represent in a flowchart?
Subroutine
What does a rectangle represent in a flowchart?
Process/Calculation
What does a diamond represent in a flowchart?
Decision
Define search algorithm
Computers use this to find items in a list
Define binary search
Looks for items in an ordered list
Define linear search
Checks each item in turn and stops when it finds the item or reaches the end of the list. It can be used on an unordered list
Define a sorting algorithm
Computers do this to sort items in a list