Exam 9: Sorting and Searching Arrays

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

The swap module is executed with three arguments to correctly swap the elements in an array.

(True/False)
4.7/5
(27)

In an insertion sort,what order are the elements in an array placed using the following Boolean expression? // variable p is used to scan the array While p > 0 AND array[p-1] > array[p]

(Multiple Choice)
4.8/5
(46)

In a selection sort,when changing from ascending to descending order,only _____ modifications need to be made to the algorithm.

(Short Answer)
4.9/5
(40)
Showing 41 - 43 of 43
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)