Algorithms and Flowcharts Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

what is an algorithm

A

sequence of steps that can be followed to complete a task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what algorithmic thinking

A

solving a problem by defining the steps and the sequence needed

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

how are algorithms presented

A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what abstraction

A

removing unnecessary details from a problem

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what is decomposition

A

breaking a problem into subproblems that each represent a specific task

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

what is a trace tables

A

shows how values change when an algorithm is carried out

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is a binary search

A

compare middle item to target item
removes half the list where target cant be in
repeats until target is found
needs to be ordered

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what is a bubble sort

A

one pass goes through a list swapping items when needed
repeats where a single pass happens with no swaps

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what is a merge sort

A

divides list into two until each list has 1 item
combines the list at a time keeping the items ordered

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

what is an insertion sort

A

starts with one item in the sorted part and compares items with it

How well did you know this?
1
Not at all
2
3
4
5
Perfectly