Question
Cost price of a bag is Rs.760. The shopkeeper marked it
70% above the cost price and sold it after giving a discount of 25%. If the shopkeeper had sold it at a profit of 30%, then find the difference between original and new selling price of a bag.Solution
Original selling price of a bag = (170/100) × (75/100) × 760 = Rs.969 New selling price of a bag = (130/100) × 760 = Rs.988 Required difference = 988 – 969 = Rs.19
The number of significant figures for 5.1250 and 0.06900 respectively are____Â
What is a "collision" in the context of hashing?
What is the final value of x after the following C++ code snippet executes?
  int x = 10;
  for (int i = 0; i < 3; ++i) {
�...
What is the keyword used in Java to indicate that a class is inheriting from another class?
Using a bottom-up dynamic programming approach to calculate the 6th Fibonacci number (F(0)=0, F(1)=1), what are the values stored in the DP table F at i...
Which of the following sorting algorithms has the best worst-case time complexity of O(n log n)?
The order of convergence of Newton-Raphson method is:
Bourne-style shells uses which below symbol
Which of the following is a property of an admissible heuristic in A* search?
In which of the following scenarios would the Floyd-Warshall algorithm be most suitable?