Skip to content

Instantly share code, notes, and snippets.

@seyDoggy
Created March 13, 2013 19:49
Show Gist options
  • Save seyDoggy/5155490 to your computer and use it in GitHub Desktop.
Save seyDoggy/5155490 to your computer and use it in GitHub Desktop.
Chapter 8 review questions

Problem Solving and Programming Concepts

Adam Merrifield (2697795).

Chapter 8 Review Questions: pg 347

  1. b. descending
  2. a. ascending
  3. c. use numeric values when making comparisons 4 .b. temp = x x = y y = temp
  4. a. bubble sort
  5. b. seven
  6. c. 49
  7. d. You cannot sort items if you do not know the number of items when you write the program.
  8. a. one comparison sooner
  9. a. no swaps are made
  10. c. a relatively easy sort to understand
  11. b. two-dimensional
  12. c. 7
  13. a. 5
  14. d. impossible to tell from the information given
  15. a. are supported in many modern programming languages
  16. c. logical
  17. d. an index
  18. d. the record can stay in place physically, but its reference is removed from the index
  19. b. contains a field that holds the address of another records
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment