Question
If the length and breadth of a rectangle are increased
by 8 m each, its area increases by 544 m². The ratio of the perimeter of the square to that of the rectangle is 2:3. Find the side of the square.Solution
Let length = x m, breadth = y m (x + 8)(y + 8) – xy = 544 ⇒ 8x + 8y + 64 = 544 ⇒ 8x + 8y = 480 ⇒ x + y = 60 Perimeter of rectangle = 2(x + y) = 120 m Perimeter of square = (2/3) × 120 = 80 m Side of square = 80 ÷ 4 = 20 m
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...