Question
The area of a square is 729 cm2 which is 48
cm2 less than that of a rectangle. Find the perimeter of the rectangle if the length of the rectangle is 10 cm more than the length of each side of the square.Solution
Area of the square = 729 cm2 Length of each side of the square = √729 = 27 cm Area of the rectangle = 729 + 48 = 777 cm2 Length of the rectangle = 10 + 27 = 37 cm So, area of rectangle = length × breadth = 37 × breadth = 777 cm2 So, breadth of the rectangle = 777/37 = 21 cm Therefore, perimeter of the rectangle = 2 × (length +breadth) = 2 × (21 + 37) = 116 cm
The Knuth-Morris-Pratt (KMP) algorithm improves upon the Naive approach by avoiding unnecessary re-comparisons. It achieves this by:
Which of the following is NOT a data transformation activity?
The following Python code attempts to call a method from the parent class, but it's using an outdated or incorrect syntax. How should it be corrected?
What is a characteristic feature of a bipartite graph?
Which collision resolution technique involves storing collided elements in a linked list at the hash table index?
.Consider the following Java code:
class Shape {
  void draw() {
    System.out.println("Drawing a generic shape");
...The output of circuit shown below is
If a series is already sorted, which sorting technique will finish in the least time?
Which of the following accurately describes Type 1 hypervisor virtualization?Â
Which AI technique is used for uncertain reasoning?