Chapter 1 Flashcards
1
Q
Algorithm
A
Finite sequence of step by step instructions carried out to solve a problem
2
Q
Bubble sort
A
In order - nothing occurs.
Not in order - swap the items.
In order when no swaps occur.
3
Q
First-fir algorithm
A
Consider items in order they are given
4
Q
First-fir decreasing
A
Algorithm requires the items to be in decreasing order before applying the algorithm
5
Q
Full-bin packing
A
Uses inspection to select items to combine to full bins.
Remaining items are packed using the first-fit algorithm.