Question
The average of 15 numbers is 80. The first seven
numbers and the last five numbers have averages of 90 and 54 respectively. The ninth number exceeds the eighth number by 20%, and the tenth number is reduced by (50/9)% from the ninth number. Determine the value of the ninth number.Solution
Let eighth number is 10x
So, ninth number = 1.20 Γ 10x = 12x
Tenth number = 850/9 Γ 1/100 Γ 12x = 34x/3
So, 10x + 12x + 34x/3
= 80 Γ 15 β 7 Γ 90 β 5 Γ 54
= 1200 β 630 β 270
= 300
Or, 100x/3 = 300
Or, x = 9
So, ninth number = 12 Γ 9 = 108
Complete a simple hash function for a string s that sums the ASCII values of its characters and then takes the modulo of a prime number M.
def si...
Which is relational Database
Which of the following is a potential problem when multiple threads access and modify shared data concurrently without proper synchronization?
Complete the Java method to extract a substring from text starting at startIndex and having length characters.
public class StringUtil {
οΏ½...
What mechanism is primarily responsible for managing the sequence of function calls and their local variables in a recursive function?
In Java, a class can inherit from how many other classes directly?
If you have MAC address then to know the IP address you will use :
Which of the following operation is performed by Domain Name Server (DNS)?
Which TCP feature improves performance specifically over wireless networks where packet loss occurs due to noise, not congestion?
A data analyst frequently performs range queries (e.g., "find all records where salary is between X and Y"). Which type of indexing is generally most ef...