logo

Crowdly

Browser

Add to Chrome

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

Looking for CSD201 - Trương Thị Mỹ Ngọc test answers and solutions? Browse our comprehensive collection of verified answers for CSD201 - Trương Thị Mỹ Ngọc at lms-hcm.fpt.edu.vn.

Get instant access to accurate answers and detailed explanations for your course questions. Our community-driven platform helps students succeed!

Which of the following is the appropriate description of the “selection sort” algorithm?

100%
0%
0%
0%
View this question
What is output if using LZW algorithm with the table initialized with the letters x, y, z encode the string “xyxyzxxy”?
0%
0%
0%
100%
View this question

In a min-heap:

100%
0%
0%
0%
View this question

What is the tightest Big-O running time to calculate the Flesch readability score the first time in the EfficientDocument class, where n is the length of the document, assuming you include the time it takes to initialize the numSyllables, numWords, and numSentences variables?

Note that this is not necessarily the running time that you saw when you plotted the graph of your EfficientDocument running time when you did your benchmarking. That time included the time to initialize the numSyllables, numWords and numSentences variables.

0%
0%
0%
View this question

A hash table of length 10 uses open addressing with hash function h(k)=k mod 10, and linear probing. After inserting 6 values into an empty hash table, the table is

as shown below.

Which one of the following choices gives a possible order in which the key values could have been inserted in the table? (Assume that Linear probing was used to resolved collision)

0%
100%
0%
0%
View this question

An array contains the elements shown below:

7 8 26 44 13 23 98 57

What would be the value of the elements in the array after two pass of the heap sort algorithm.

0%
100%
0%
0%
View this question

Select true / false statement in regarding to graph representation:

a. There are n possible adjacency matrices for the same graph.

b. Multigraphs can be represented in the following adjacency matrix:

aij = number of edges between vi and vj
0%
100%
0%
0%
View this question
Suppose you are doing a breadth-first search of a graph with n vertices, using a queue implemented with a static array. What is the minimum number of elements of this array?

0%
0%
0%
0%
View this question

After two passes of a sort algorithm, the following array:

47 3 21 32 56 92

has been rearranged as shown below:

3 21 47 32 56 92

Which sorting algorithm is being used?
100%
0%
0%
0%
View this question

Using the coalesced hashing to put the following values in a table with 10 elements:

A5, A2, A3, B5, A9, B2, B9, C2

Using the extraction method to extract the number as the key.

What is the chain to begin with A5?
0%
0%
0%
0%
View this question

Want instant access to all verified answers on lms-hcm.fpt.edu.vn?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome