Question
Rahul bought 25 notebooks for Rs. 200 and he sold them
in such a manner so that selling price of 10 notebooks is Rs. 100. Find the value of 5(P + 5) if the profit percent earned by Rahul is 'P%'.Solution
ATQ, Cost price of 1 notebook = 200/25 = Rs. 8 Selling price of 1 notebook = 100/10 = Rs. 10 Profit earned = 10 − 8 = Rs. 2 So, 'P' = (2/8) × 100 = 25% P = 25 Required value = 5×(25+5) = 5×30 = 150
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?