Question
Shalini is younger than Rashi by 2 years. If the ratio
of Shalini and Rashi ages is 6:7 respectively, then find the age of Shalini.Solution
If Rashi’s age be x years, then Shalini’s age be(x-2) years. According to question, => (x – 2)/x = 6/7 => 7x – 14 = 6x => x = 14 Therefore Shalini age = 14 – 2 = 12 years
Which keyword is used in Java to indicate that a class is inheriting from another class?
Which of the following scenarios is best suited for implementation using a stack data structure?
In R, which function reshapes data from long to wide format?
In OOP, what is an instance of a class called?
Consider the following Java code:
public class LengthMix {
  public static void main(String[] args) {
    int[] numbers...
What is the time complexity of a Binary Search algorithm on a sorted array of 'n' elements?
What does a star schema consist of?
What is the keyword used in Java to indicate that a class is inheriting from another class?
Binary trees are often used to represent hierarchical data. Which of the following is NOT a direct application of binary trees?
Consider the following C code snippet designed to calculate the sum of digits of a non-negative integer:
  #include
  in...