Question
Aamir distributed 775 gifts among 4 children. First part
of the child, twice the share of the other child, three times the third child's share and four times the fourth child's share, all are equal. Please tell the number of total gifts received by the first and the second child.Solution
Let the number of gifts received by the first child be x. Number of gifts received by second child = x/2 Number of gifts received by third child = x/3 Number of gifts received by fourth child = x/4 According to the question- x + x/2 + x/3 + x/4 = 775 (12x + 6x + 4x + 3x)/12 = 775 25x/12 = 775 x = 775 x 12/25 x = 372 Total number of gifts received by first and second child- = x + x/2 = 3x/2 = 3/2 x 372 = 558
What is false about linked list?
Which layer of the TCP/IP model is responsible for IP addressing and routing?
Which hazard occurs when there is a conflict in accessing a shared resource, such as a register file or an ALU, in an instruction pipeline?
Which consensus mechanism is used by Bitcoin, the first blockchain-based cryptocurrency?
In dynamic programming, what does "optimal substructure" mean?
What is a "token" in lexical analysis?
Which sorting algorithm is known for its best-case time complexity of O(n) when the input is already partially sorted?
Which data visualization technique is commonly used to represent the frequency distribution of a large dataset?
An XML document is a string of ____.
Which of the following algorithm is most sensitive to outliers?