Question
In 2021, Ravi's income was Rs.
18,000, out of which he spent 35% and saved the rest. In 2022, if Ravi's income increased by 15% and his expenses increased by Rs. 1,200, how much does he save in 2022?Solution
ATQ,
Ravi's income in 2022 = 18,000 x 1.15 = Rs. 20,700 Ravi's expenses in 2021 = 18,000 x 0.35 = Rs. 6,300 Ravi's expenses in 2022 = 6,300 + 1,200 = Rs. 7,500 Amount saved by Ravi in 2022 = 20,700 - 7,500 = Rs. 13,200
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 ...