Question
A man invested certain sum at simple interest of r% p.a.
such that it amounts to 130% of itself in 3 years. Find the interest earned when Rs. 3000 is invested at simple interest of r% p.a. for 3 years.Solution
Let the sum invested be Rs. ‘P’ Therefore, interest earned in 3 years = 1.3P – P = Rs. 0.3P ATQ; 0.3P = (P × r × 3) ÷ 100 Or, r = 30 ÷ 3 Or, r = 10 So, required interest earned = (3000 × 10 × 3) ÷ 100 = Rs. 900
Which attack can be mitigated using DNSSEC (Domain Name System Security Extensions)?
In Python, what will be the output of the following code snippet, considering scope rules?
x = 5Â Â Â Â Â Â Â Â Â Â Â Â Â Â
Â
What is the primary purpose of a B+ Tree in a database management system?
What is the primary purpose of an abstract class?
If a stack is implemented using a fixed-size array, what is a significant disadvantage when the stack grows beyond its initial capacity?
What is "rubber duck debugging"?
Consider the following Python code for calculating the length of the LCS:
def lcs_length(text1, text2):
  m = len(text1)
  ...
Time complexity of heap sort is:
A code flow involves processing a stream of data where elements are added to the front and removed from the front. Which type of linked list would provi...
Which of the following best describes Abstraction in Object-Oriented Programming (OOP)?