DAA Prefinals

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/34

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 1:44 PM on 5/7/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

35 Terms

1
New cards

It is the process of finding the exact copy of patterns with all the substrings of a given text.

String matching

2
New cards

It deals with finding a given value called the search key in a given list or set.

Searching Problem

3
New cards

It is sometimes referred to as linear search.

Sequential search

4
New cards

It is a method of mathematical proof in which the statement to be proved is split into a finite number of cases.

Brute Force algorithm

5
New cards

It is used to find minimum matches in which the time of completion or cost of making all activities by the number of persons is minimized.

Hungarian Method

6
New cards

Who first published the Hungarian Method in 1955?

Harold W. Kuhn

7
New cards

It examines a series of data objects one by one until a match is encountered.

Sequential search

8
New cards

This sorting algorithm chooses the smallest element in the unsorted portion of a list and then swaps with the element at the beginning of the sorted portion of the list.

Selection sort

9
New cards

It is a path that begins and ends at the same vertex and passes through all other vertices of the graph exactly one time.

Hamiltonian circuit

10
New cards

Its goal is to find the least expensive or shortest way to visit through a given set of cities once and return to the original starting point.

Traveling Salesman Problem

11
New cards

This sorting algorithm compares the adjacent pair of elements of the list and swaps them if they are in the wrong order.

Bubble sort

12
New cards

It is also known as proof by exhaustion.

Brute Force Algorithm

13
New cards

Who is the Irish mathematician after whom the Hamiltonian circuit is named?

Sir William Rowan Hamilton

14
New cards

It requires pairing of people to execute jobs to minimize or maximize the total cost/profit of the pairings.

Assignment Problem

15
New cards

In an assignment problem, each task is to be performed by exactly how many entities?

1

16
New cards

In an assignment problem, how many tasks are assigned to each entity?

1

17
New cards

It arranges the items in a given list in ascending or descending order.

Sorting

18
New cards

It essentially generates a list of all potential solutions to a problem and evaluates them one by one.

Exhaustive search

19
New cards

Which of the following DOES NOT belong to the group? (Traveling Salesman Problem, Maximization, Minimization, Assignment Problem)

Maximization

20
New cards

Which of the following DOES NOT belong to the group? (Reference point, Assignment problem, Hamiltonian circuit, Traveling Salesman Problem)

Reference point

21
New cards

What is the first step of the Traveling Salesman Problem?

Choose a reference point or a vertex where you want to start.

22
New cards

Which of the following is NOT a rule of the Traveling Salesman Problem?

Align the pattern at the beginning of the text.

23
New cards

Which of the following is NOT TRUE about a Hamiltonian circuit?

It is a cycle that may repeat vertices multiple times to complete the path.

24
New cards

Which of the following is an advantage of the Brute Force algorithm?

It yields standard algorithms for graph traversal problems.

25
New cards

What is the first step of Brute Force string matching?

Align the pattern at the beginning of the text.

26
New cards

In solving a maximization problem using the Hungarian method, what should be done next after identifying the highest value in each row?

Subtract each row value from each of the highest values.

27
New cards

In solving a maximization problem using the Hungarian method, what should be done next after selecting the lowest entry in each column?

Subtract the lowest entry from every entry in the column.

28
New cards

What is the first step in solving a minimization problem using the Hungarian method?

Identify the lowest value in each row.

29
New cards

Which of the following steps comes first in solving a maximization problem using the Hungarian method?

Identify the highest value in each row.

30
New cards

In solving a minimization problem using the Hungarian method, what should be done next after selecting the lowest entry in each column?

Select the lowest entry from every entry in that column.

31
New cards

What is the second step of the Traveling Salesman Problem?

List all the Hamilton circuits with the chosen reference point.

32
New cards

Which of the following is NOT TRUE about the Hungarian Method?

It was named after Sir William Rowan Hamilton, who studied cycles in graphs.

33
New cards

Which of the following is NOT TRUE about the Brute Force algorithm?

It is a path that begins and ends at the same vertex.

34
New cards

Which of the following is NOT a rule of Brute Force string matching?

Select the smallest element among all the uncovered elements.

35
New cards

What is the third step of the Traveling Salesman Problem?

Determine the cost (or distance) associated with each of these Hamilton circuits