# Which of the following array initialization

• Notes
• 19
• 100% (4) 4 out of 4 people found this document helpful

This preview shows page 11 - 14 out of 19 pages.

59. Which of the following array initialization statements is valid? a. int ary {5} = {1 2 3 4 5}; d. int ary [5] = {1, 2, 3}; b. int ary {5} = {1, 2, 3, 4, 5}; e. int ary [5] = [1 3 4 5 6]; c. int ary [5] = {1 2 3 4 5}; ____ 60. Which of the following statements about assigning values to arrays is false? ____ 61. Which of the following statements about passing arrays to a function is false? ____ 62. The sort in which the smallest element from the unsorted sublist is swapped with the element at the beginning of the unsorted sublist is: ____ 63. The sort in which the first element from the unsorted sublist is transferred to the sorted sublist at its sorted location is: a. selection sort d. exchange sort b. bubble sort e. binary sort c. insertion sort ____ 64. Given the following array, what would be the array order after two passes of the selection sort? {22 38 57 26 91 10 63}

Subscribe to view the full document.

____ 65. Given the following array, what would be the array order after two passes of the selection sort? {22 38 57 26 91 10 63} ____ 66. Which of the following statements about sequential searches is true?
____

Subscribe to view the full document.

You've reached the end of this preview.
• Spring '11
• ColinArchibald
• Array, following statements, REF, c. C

{[ snackBarMessage ]}

### What students are saying

• As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

Kiran Temple University Fox School of Business ‘17, Course Hero Intern

• I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

Dana University of Pennsylvania ‘17, Course Hero Intern

• The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

Jill Tulane University ‘16, Course Hero Intern