Time Left - 15:00 mins
GATE 2023 Algorithm Quiz 8
Attempt now to get your rank among 96 students!
Question 1
The greedy algorithm generates ………..loadings.
Question 2
Which of the following is true about Huffman coding?
Question 3
Consider the following comparison sorting algorithms:
i. Merge Sort
ii. Quick Sort
iii. Heap Sort
iv. Insertion Sort
Which of the following(s) is/are optimal comparison sorts?
i. Merge Sort
ii. Quick Sort
iii. Heap Sort
iv. Insertion Sort
Which of the following(s) is/are optimal comparison sorts?
Question 4
Fractional knapsack problem is solved most efficiently by which of the following algorithm?
Question 5
What is the maximum profit obtained by processing below jobs by using job sequencing algorithm?
Question 6
Which of the following is true about insertion sort?
I. Insertion sort work better when the array is almost sorted.
II. Insertion Sort will asymptotically work better when we use binary search instead of linear search.
III. Insertion sort best case is O(n2).
IV. Between insertion sort and Selection sort, Selection sort is preferred when swap is costly instead of insertion sort.
- 96 attempts
- 0 upvotes
- 1 comment
Tags :
GATE & PSU CSAlgorithmsAug 22GATE & PSU CS