Create a class called ‘Matrix’ containing a constructor that initializes the number of rows and number of columns of a new Matrix object. The Matrix class has the following information: 1.number of rows of matrix 2 number of columns of ...Read more
SIKSHAPATH Latest Questions
Use the Decision tree to classify the students in the class based on their academic performance. If you came to know that your model is suffering from low bias and high variance. Which algorithm should you use to tackle it? ...Read more
Define power function. Write a code in C/C++ to calculate power function in O(logn) time complexity.
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