logo

Crowdly

Browser

Додати до Chrome

CSD201 - Trương Thị Mỹ Ngọc

Шукаєте відповіді та рішення тестів для CSD201 - Trương Thị Mỹ Ngọc? Перегляньте нашу велику колекцію перевірених відповідей для CSD201 - Trương Thị Mỹ Ngọc в lms-hcm.fpt.edu.vn.

Отримайте миттєвий доступ до точних відповідей та детальних пояснень для питань вашого курсу. Наша платформа, створена спільнотою, допомагає студентам досягати успіху!

When the bubble sort algorithm is used for sorting the dataset (23, 43, 56, 12, 87, 14, 87, 15, 90, 23, 10) in descending order, how many data exchanges occur during the first iteration of outer loop?

0%
0%
0%
0%
Переглянути це питання

In the algorithm for spelling suggestions in this week's assignment, there was a hash set to mark Strings as visited. What is the BEST ANSWER for why we used the visited set?

0%
0%
0%
Переглянути це питання

Use Dijkstra’s algorithm to find shortest paths from vertex A to others in the following graph:

What is “current distance of F“ after iteration 3 of the algorithm?

0%
0%
0%
100%
Переглянути це питання
In a weighted graph, the minimum spanning tree tries to minimize ………..
0%
0%
0%
0%
Переглянути це питання
A chained hash table has an array size of 512. What is the maximum number of entries that can be placed in the table?
0%
0%
100%
0%
0%
Переглянути це питання

When a hash table becomes too full, which of the following is required to resize the table?

0%
0%
0%
Переглянути це питання

In .................................. algorithm, each vertex v is visited and then each unvisited vertex adjacent to v is visited. If a vertex v has no adjacent vertices or all of its adjacent vertices have been visited, we backtrack to the predecessor of v. The traversal is finished if this visiting and backtracking process leads to the first vertex where the traversal started. If there are still some unvisited vertices in the graph, the traversal continues restarting for one of the unvisited vertices.

0%
0%
0%
Переглянути це питання
Given the character frequencies

B : 32%

C : 28%

D : 16%

E : 6%

F : 18%

Using Huffman encoding, what is the code for character D? (Suppose that when constructing a sub tree from 2 nodes we always place node with higher frequency on the left; and the left branch of a node gets value 0, the right one gets value 1)
0%
0%
0%
0%
Переглянути це питання

Apply Floyd algorithm to the following graph:

Which of the following statements is false?

0%
0%
0%
0%
Переглянути це питання
Find the average length LHuf for the letters X, Y, and Z and their probabilities .05, .05 and .9 respectively.

0%
0%
0%
100%
0%
Переглянути це питання

Хочете миттєвий доступ до всіх перевірених відповідей на lms-hcm.fpt.edu.vn?

Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!

Browser

Додати до Chrome