Question
Priya lent Rs. 10,000 to her colleague at a compound
interest rate of 'a%' per annum, compounded annually. A year later, the colleague paid back Rs. 10,800. Had the loan been at simple interest of (a + 3)% instead, what would have been the interest earned?Solution
ATQ, Find the rate 'a': Calculate the simple interest:
The interest earned would have been Rs. 1100.
If 2 K bits/second is bit rate, what is the minimum PCM bandwidth required for successful transmission?Â
A recursive backtracking solution for the Subset Sum problem is generating duplicate subsets or missing valid subsets. Assuming the input array might co...
Which algorithm is used for constraint satisfaction problems?
Which traversal method for a binary tree processes the root node *after* visiting both its left and right subtrees?
When a large number of analog signal is to be converted to digital form, an analog multiplexer is used. The best suites analog to digital converter for ...
Complete the insert_at_beginning function for a singly linked list. Assume Node has data and next attributes.
class Node:
  def __init...
What is the purpose of "code review"?
A C function pop(Stack* s) is designed to remove and return the top element from a stack.
#include
#include
#d...
A greedy algorithm is used to make change for a given amount using a set of coin denominations. For denominations {1, 5, 10, 25} and an amount of 30, it...
Which is used for C shell?