Randomized quicksort is an extension of quicksort where the pivot is chosen randomly. What is the worst case complexity of sorting n numbers using randomized quicksort?
A) O(n)
B) O(n Log n)
C) O(n2)
D) O(n!)
how many 256x4 RAM chips are required to organise a memory of capacity 32KB and the size of decoder required in this implementation to select a row of chip? pls friends I need explanation .
In selective repeat protocol, we are transmitting 10,000 packets and every 100th packet is lost can anyone tell how many retransmissions will be there?
Consider a virtually indexed physically tagged cache with following configurations: Virtual address = 32 bits Page size 8 KB 4-way set associative cache Cache Size 512 KB Cache Block Size 64 bytes How many bits ofthe virtual address should remain unchanged for the memory hierarchy to work
can anyone please self notes of data structure and algorithm other than what sir has provided bcz thats quite unreadable to me as compared to c notes(which is very great)
Let T(n) be the function defined by T(1)= 1, T(n)= 2T (?n/2?) + ?n for n?2. Which of the following statement(s) is true? a. T(n) = O(?n) b. T(n) = O(n) c. T(n) = O(log n) d. None of the above
Locality of reference implies that the page reference being made by a process
A) will always be to the page used in the previous page reference
B) is likely to be to one of the pages used in the last few page references
C) will always be to one of the pages existing in memory
D) will always lead to a page fault
The time complexity of the following C function is (assume n > 0) int recursive (mt n) { if (n == 1) return (1); else return (recursive (n-1) + recursive (n-1)); }
Suppose the letters a, b, c, d, e, f have probabilities 1/2, 1/4, 1/8, 1/16, 1/32, 1/32 respectively. Which of the following is the Huffman code for the letter a, b, c, d, e, f?
Let G be an undirected connected graph with distinct edge weight. Let emax be the edge with maximum weight and emin the edge with minimum weight. Which of the following statements is false?
A) Every minimum spanning tree of G must contain emin
B) If emax is in a minimum spanning tree, then its removal must disconnect G
C) No minimum spanning tree contains emax
D) G has a unique minimum spanning tree
In a permutation a1.....an of n distinct integers, an inversion is a pair (ai, aj) such that i < j and ai > aj. What would be the worst case time complexity of the Insertion Sort algorithm, if the inputs are restricted to permutations of 1.....n with at most n inversions?
A) ? (n2)
B) ? (n log n)
C) ? (n1.5)
D) ? (n)
Locality of reference implies that the page reference being made by a process
A) will always be to the page used in the previous page reference
B) is likely to be to one of the pages used in the last few page references
C) will always be to one of the pages existing in memory
D) will always lead to a page fault
"The Forum is to encourage students discussions. If you expect our mentors to resolve your doubts/queries please reach out to us by posting comments under the video lectures or sending us a mail on gatecse@appliedcourse.com. Our mentors will get back to you in 3-4 working hours."