Question
A pipe can fill a tank in 10 hours, while another pipe
can empty it in 15 hours. If both pipes are opened simultaneously, in how many hours will the tank be full?Solution
ATQ, Filling pipe's rate = 1/10 Emptying pipe's rate = 1/15 Net filling rate = 1/10 - 1/15 = 1/30 The tank will be full in 30 hours.
Which of the following statements is true about deadlocks in an operating system?
Which traversal of binary tree gives nodes in sorted order?
Which I/O scheduling algorithm is most suitable for minimizing seek time in hard drives?
Which of the following allows dynamic memory allocation?
Which attack can be mitigated using DNSSEC (Domain Name System Security Extensions)?
Which of the following collision resolution techniques involves storing all elements that hash to the same value in a linked list?
Which data structure is most suitable for implementing a priority queue with logarithmic time complexity for insertion and deletion?
KMP improves naive string matching by:
In the context of system analysis, which of the following best defines the "use case" diagram?
Which design pattern is best suited for managing the creation of objects without specifying their concrete classes?