Question
‘Rahul’ spends 75% of his income whereas ‘Sohan’
spends 60% of his income. If each of them saves Rs. 3,000, then find the total expenses of ‘Rahul’ and ‘Sohan’ together.Solution
ATQ; Let the income of ‘Rahul’ be Rs. ‘100x’ and income of ‘Sohan’ be Rs. ‘100y’ Expense of ‘Rahul’ = 0.75 × 100x = Rs. ‘75x’ Expense of ‘Sohan’ = 0.60 × 100y = Rs. ‘60y’ ATQ; 100x – 75x = 3000 Or, 25x = 3000 So, x = 120100y – 60y = 3000 Or, 40y = 3000 Or, y = 75 So, required sum = (75 × 120) + (60 × 75) = 9000 + 4500 = Rs. 13,500
Which of the following uses Latent Dirichlet Allocation (LDA)?
You are tasked with implementing a search feature for a large, constantly changing dataset where the order of elements doesn't matter, but fast lookups ...
Complete the C function to calculate the length of a null-terminated string s without using strlen.
int custom_strlen(const char* s) {
 ...
Which of the following protocol should be used for those websites which need login credentials for sending the data?
int i=10;
float f=i;
What kind of typecasting is happening in the above scenario?
What is the primary goal of disk scheduling in operating systems?
What is the primary purpose of Encapsulation in Object-Oriented Programming?
What is the main purpose of disk scheduling in an operating system?
The transfer function of the system below is ___________
What is the primary purpose of the ALOHA protocol in networking?