Question
A boy is supposed to distribute Rs.3600 among his three
friends P, Q and R in the ratio of 3:2:5 respectively, but mistakenly he distributed in the ratio of 5:3:2 respectively. Find the difference between amount received by P mistakenly and the amount that P should have actually received.Solution
Amount that should be received by P initially = [3/(3 + 2 + 5)] × 3600 = Rs.1080 Amount received by P mistakenly = [5/(5 + 3 + 2)] × 3600 = Rs.1800 Required difference = 1800 – 1080 = Rs.720
Which of the following is the primary goal of a Cross-Site Scripting (XSS) attack?
In the context of page replacement algorithms, which one minimizes page faults in an ideal scenario?
Which of the following allows dynamic memory allocation?
Which OSI model layer is responsible for reliable delivery of data between devices?
Which of the following is a primary advantage of using a star schema in a data warehouse design?
In CI/CD pipelines, which of the following is NOT a key benefit of Continuous Integration (CI)?
What is the primary role of a Certificate Authority (CA) in a Public Key Infrastructure (PKI)?
Which of the following is true about triggers in a relational database?
Which data structure is used in recursion?
What is the output of the following recursive function call func(3) ?
int func ( int n) {
if (n == 0 ) return 1 ; <...