Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

1. Employee records stored in order from highest-paid to lowest-paid have been o

ID: 3675574 • Letter: 1

Question

1. Employee records stored in order from highest-paid to lowest-paid have been order. sorted in a. recursive b. ascending order. c. staggered d. descending 2. Student records stored in alphabetical order by last name have been sorted in order. c. staggered d. descending b. ascending When computers sort data, they always a. 3. . place items in ascending order b. use a bubble sort use numeric values when making comparisons d. c. begin the process by locating the position of the lowest value Which of the following code segments correctly swaps the values of variables named x and y? 4. y = temp x-temp tempx y temp b. temp x d. temp x x=y y = temp y=x x = temp

Explanation / Answer

Solutions:
1. d
2. b
3. c
4. b
5. c
6. c
7. c
8. b
9. a
10. a
11. c
12. b
13. c
14. a
15. d
16. a
17. c
18. d
19. d
20. b