0 votes
4 answers
1
Up(Semaphore S) { if (Suspended list() is empty) S.value=1; else { Select a process from the suspended list and WakeUp() } }
4 votes
4 answers
2
A Binary semaphore variable mutex is initialized to '1' and the various binary semaphore operations like 9P(), 14V(), 6P(), 8V(), 3P(), 2V() are performed, then what is t...
0 votes
1 answer
3
What is the difference between $\log^m n$ and $(\log n)^m.$ Can anyone explain?
1 votes
1 answer
4
A file contains characters a,e,i,o,u,s and t with frequencies 10,15,12,3,4,13 and 1 respectively. If we use Huffman Coding for data compression then the average code leng...
3 votes
1 answer
5
The time complexity of computing the transitive closure of a binary relation on a set of n elements is know to be a -1) O(n) 2) O(nlogn)3) O(n3...
0 votes
3 answers
6
(logn)1/2=O(loglogn)
1 votes
1 answer
7
$\sum(range - 1<=k<=n) O(n)$, where O(n) stands for order n is -a) O(n) b) O(n2)c) O(m3) d) O(3n2)
0 votes
1 answer
8
19 votes
8 answers
10
The minimum number of comparisons required to sort 5 elements is -4567
0 votes
1 answer
13
0 votes
1 answer
15
If we are inserting an element in chaining(outside) hashing technique, then what will be the time complexity in best case, average case and Worst case.