Define power function. Write a code in C/C++ to calculate power function in O(logn) time complexity.
SIKSHAPATH Latest Questions
Q.1 What is meant by Greatest Common Divisor? Write an algorithm to compute the greatest common divisor(GCD) of two numbers.
Give an example of a Process State from real life.
A system has five processes P1 through P5 and four resource types R1 through R4. There are 2 units of each resource type. Given that: P1 holds 1 unit of R1 and requests 1 unit of R4 P2 holds 1 unit of R3 ...Read more
Which broader category of Scheduling does SRTF and RR scheduling algorithm fall in? Give 4 characteristics of above mentioned broader category.
Differentiate between SJF and LJF CPU scheduling algorithms
Write a solution to Dining philosopher problem from your own perspective.
Calculate waiting time, turnaround time by preemptive shortest job first scheduling algorithm for the following: Process Arrival Time Burst Time P1 0.0 7 P2 2.0 4 P3 4.0 1 P4 5.0 4
Consider the page reference string of size 12: 1, 2, 3, 4, 5, 1, 3, 1, 6, 3, 2, 3 with frame size 4. Calculate the hit ratio using LRU.
Elaborate the term Directory Structure? Also describe the logical structure of Directory?