Question
The present average age of βXβ and βYβ is 16
years, present average age of βXβ and βZβ is 56 years and present average age of βYβ and βZβ is 22 years. Find the present age of βXβ.Solution
According to the question, Present ages of (X + Y) = 16 Γ 2 = 32β¦. (1) Than, the Present ages of (X + Z) = 56 Γ 2 = 112β¦. (2) Than, the Present ages of (Y + Z) = 22 Γ 2 = 44β¦.. (3) Therefore From equations (1), (2) and (3), we get Present ages of (X + Y + Z) = (32 + 112+ 44)/2 = 94 years Therefore From equation (3)we will get the, present age of βXβ = 94 β 44 = 50 years
With either equal or proportional algorithm, a high priority process is treated ___________ a low priority process.
What is the default replication factor in HDFS?
In which case is QuickSortβs performance worst?
Which of the following is NOT a divide-and-conquer algorithm?
Which of the following problems cannot be solved using greedy algorithms for optimal result?
Which graph traversal technique is commonly used for topological sorting?
Output of below code
public class Prg {
public static void main(String args[]){
System.out.print("A" + "B" + 'A');
}
...Which sorting algorithm divides the array into halves recursively?
In dynamic programming, overlapping subproblems and _________ are key properties.
In Data Communication, what protocol is used to ensure reliable transmission of data over a network?