Problem Solving and Programming Concepts
Adam Merrifield (2697795).
Chapter 8 Review Questions: pg 347
- b. descending
- a. ascending
- c. use numeric values when making comparisons 4 .b. temp = x x = y y = temp
- a. bubble sort
- b. seven
- c. 49
- d. You cannot sort items if you do not know the number of items when you write the program.
- a. one comparison sooner
- a. no swaps are made
- c. a relatively easy sort to understand
- b. two-dimensional
- c. 7
- a. 5
- d. impossible to tell from the information given
- a. are supported in many modern programming languages
- c. logical
- d. an index
- d. the record can stay in place physically, but its reference is removed from the index
- b. contains a field that holds the address of another records