Question
Perimeter of a rectangle is 40% more than that of a
square of side 40 cm. If difference between length and breadth of the rectangle is 8 cm, then find the length of the rectangle.Solution
Perimeter of square = 40 × 4 = 160 cm Perimeter of rectangle = 1.40 × 160 = 224 cm Let, breadth of rectangle = ‘x’ cm So, length of rectangle = ‘x + 8’ cm So, 2(x + x + 8) = 224 Or, 2x + 8 = 112 Or, 2x = 104 Or, x = 52 Length of rectangle = 52 + 8 = 60 cm
The "load factor" of a hash table is a critical metric. What does it represent?
Predict the output
list1 = ['physics', 'chemistry', 1997, 2000]
list2 = [1, 2, 3, 4, 5, 6, 7 ]
print "list1[0]: ", list1[0]Â Â Â ...
Which of the following is a default connector for Shielded twisted pair?
Consider a singly linked list: 1 -> 2 -> 3 -> 4 -> None. If a delete_node(head, 3) function is called (which deletes the node with value 3), what will b...
Which type of inheritance in C++ allows a class to inherit from more than one base class?
Which of these is a key characteristic of SaaS (Software as a Service)?
Which of the following best explains why communication latency is generally higher in microservices compared to monolithic architectures?Â
A C function attempts to find a substring.
#include
#include
char* find_substring(char* haystack, char* needle...
In a common backtracking approach to generate permutations of a string, elements are swapped to explore different arrangements. Complete the line that s...
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 ...