Exam 9: Sorting,stacks,and Queues

arrow
  • Select Tags
search iconSearch Question
  • Select Tags

Queues use pushing and popping to add and delete data.

Free
(True/False)
4.8/5
(33)
Correct Answer:
Verified

False

When processing a queue:

Free
(Multiple Choice)
4.9/5
(35)
Correct Answer:
Verified

D

Sorting is done through multiple comparisons and exchanges.

Free
(True/False)
4.7/5
(37)
Correct Answer:
Verified

True

The shell sort is a modification of the selection sort.

(True/False)
4.8/5
(35)

Stacks use the first in,first out procedure.

(True/False)
4.9/5
(30)

Use the bubble sort method to show the first pass of the following array: Element Values 1 15 2 23 3 17 4 12 5 65

(Multiple Choice)
4.8/5
(34)

Queues use the first in,first out procedure.

(True/False)
4.8/5
(27)

When a stack is pushed:

(Multiple Choice)
5.0/5
(36)

In a queue:

(Multiple Choice)
4.8/5
(30)

The selection exchange sort:

(Multiple Choice)
4.8/5
(33)

Sorting Data means to separate data into catagories.

(True/False)
4.8/5
(32)

The bubble sort bubbles the largest number to the bottom.

(True/False)
4.9/5
(43)

The bubble sort:

(Multiple Choice)
4.9/5
(33)

When processing a stack:

(Multiple Choice)
4.8/5
(30)

Data structures are the various ways to store data in the computer.

(True/False)
4.8/5
(44)

The sorting technique that requires the least number of comparisons and exchanges is the selection-exchange method.

(True/False)
4.7/5
(32)

Use the selection exchange method to show the first pass of the following array: Element Values 1 15 2 23 3 17 4 12 5 65

(Multiple Choice)
4.8/5
(36)

The Shell sort:

(Multiple Choice)
5.0/5
(38)

Given a stack,what would the final value of the stack pointer be after the following instructions were executed: PUSH 23 PUSH 35 PUSH 42 POP X PUSH 20 POP X POP X PUSH 30

(Multiple Choice)
4.8/5
(29)
close modal

Filters

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