Question
There are some assistants and officers in an office, if
12 assistants leave then there are 2 officers for each assistant. After this again 36 officers go and there are 5 assistants for each officer, initially there were assistants.Solution
Assistance denotes by A and officers denote by F. ATQ- 2(A-12) = F         … (1) (A-12) = F/2 (A-12) = (F-36)5 F/2 = (F-36)5 F/10-F = -36 9F = 360 F = 40 Put the value of F in Equation (1) 2A -30 =40 2A =70 A = 35
Linux uses a time-sharing algorithm ___________
What is a "final" class in Java?
In n-gram models, what does 'n' represent?
Consider the in-order traversal of a Binary Search Tree. What characteristic does the sequence of visited nodes possess?
What is the purpose of the fork() system call in Unix-based operating systems?
What is a "call stack" in the context of debugging?
What is edge computing in IoT?
Consider the following Java code snippet:
  import java.util.PriorityQueue;
  public class HeapQuestion9 {
    publ...
Consider the following C++ code:
  class Base {
  public:
    void show() { std::cout << "Base::show" << std::endl;...
Which CPU scheduling algorithm gives preference to processes with shorter CPU burst times?