Exam 3: Parallel Execution in CUDA, Sorting Algorithms, and Search Techniques

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

Bubble sort is difficult to parallelize since the algorithm has no concurrency.

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

True

What makes a CUDA code runs in parallel

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

D

The performance of quicksort depends critically on the quality of the ______-.

Free
(Multiple Choice)
4.8/5
(29)
Correct Answer:
Verified

B

the complexity of quicksort is O(nlog n).

(True/False)
4.7/5
(36)

The fundamental operation of comparison-based sorting is ________.

(Multiple Choice)
4.9/5
(41)

Graph search involves a closed list, where the major operation is a _______

(Multiple Choice)
4.7/5
(39)

_____ algorithms use a heuristic to guide search.

(Multiple Choice)
4.9/5
(38)

Breadth First Search is equivalent to which of the traversal in the Binary Trees?

(Multiple Choice)
4.9/5
(33)

Cost of a parallel system is sometimes referred to____ of product

(Multiple Choice)
4.9/5
(39)

______________ algorithms use auxiliary storage (such as tapes and hard disks) for sorting because the number of elements to be sorted is too large to fit into memory.

(Multiple Choice)
4.7/5
(32)

Quicksort is one of the most common sorting algorithms for sequential computers because of its simplicity, low overhead, and optimal average complexity.

(True/False)
4.7/5
(41)

The main advantage of ______ is that its storage requirement is linear in the depth of the state space being searched.

(Multiple Choice)
4.9/5
(38)

______ can be comparison-based or noncomparison-based.

(Multiple Choice)
5.0/5
(30)

mathematically efficiency is

(Multiple Choice)
4.8/5
(41)

In BFS, how many times a node is visited?

(Multiple Choice)
4.8/5
(31)

If the heuristic is admissible, the BFS finds the optimal solution.

(True/False)
4.8/5
(30)

In ___________, the number of elements to be sorted is small enough to fit into the process's main memory.

(Multiple Choice)
4.7/5
(30)

Is Best First Search a searching algorithm used in graphs.

(True/False)
4.8/5
(35)

Which of the following is not an application of Breadth First Search?

(Multiple Choice)
4.9/5
(35)

The critical issue in parallel depth-first search algorithms is the distribution of the search space among the processors.

(True/False)
4.7/5
(29)
Showing 1 - 20 of 25
close modal

Filters

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