Miscellaneous On Data Structures - Study Mode

[#856] Which header file contains the function rand() in C language?
Correct Answer

(A) stdlib

[#857] Which among the following algorithms can be used to decide which page should be replaced when the new page comes in?
Correct Answer

(C) Page replacement algorithm

[#858] What will be the time complexity of the code to print combinations?
Correct Answer

(D) O(2 n )

[#859] What is the running time of the Huffman encoding algorithm?
Correct Answer

(C) O(C log C)

[#860] Which is the smallest number of 3 digits that is divisible by 2, 4, 8?
Correct Answer

(D) 104