Algorithms on Data Structure and Algorithms related Questions and Answers - Page 4

Question 31 : A page that is not going to be used for the next 7 seconds will be swapped out over a page that is going to be used within the next 0.7 seconds.
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 32 : As the number of frames available increases, the number of page faults decreases.
1. True
2. False
3.
4.
View Answer   Discuss with Members

Question 34 : Optimal page replacement algorithm is said to satisfy __________
1. Online algorithm
2. Stack algorithm
3. Queue algorithm
4. Array algorithm
View Answer   Discuss with Members

Question 35 : Time complexity of fractional knapsack problem is ____________
1. O(n log n)
2. O(n)
3. O(n2)
4. O(nW)
View Answer   Discuss with Members

Question 37 : In Huffman coding, data in a tree always occur?
1. roots
2. leaves
3. left sub trees
4. right sub trees
View Answer   Discuss with Members

Question 38 : How many printable characters does the ASCII character set consists of?
1. 120
2. 128
3. 100
4. 98
View Answer   Discuss with Members

Question 39 : The code length does not depend on the frequency of occurrence of characters.
1. true
2. false
3.
4.
View Answer   Discuss with Members

Question 40 : Fractional knapsack problem is solved most efficiently by which of the following algorithm?
1. Divide and conquer
2. Dynamic programming
3. Greedy algorithm
4. Backtracking
View Answer   Discuss with Members


View 31 - 40 of 55 Questions

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter