Question
P says to Q “I am four times as old as you were
when I was as old as you are”. The difference between their ages is 15 years. Find the sum of their ages?Solution
P says to Q “I am four times as old as you were when I was as old as you are”. P = 4[Q- (P-Q)] P = 4Q – 4P + 4Q 5P = 8Q ………………….(i) P – Q = 15 …………………(ii) By solving (i) and (ii), we get Q = 25 & P = 40 Therefore, sum of their ages = 40 +25 = 65 years
Fill the correct option for blank space 23.
- Does Dijkstra's algorithm work for graphs with both negative and positive edge weights?
State true or false                              Â
ODBC drivers are available for Oracle, Sybase, Informix, Mic...
Which of the following statements accurately describes hard computing?
In IPv6, which of the following addresses is used for local communication within a network segment and is not routable beyond the local network?Â
What is the main goal of the Dining Philosophers Problem in computer science?
Which of the following best describes the nature of TCP (Transmission Control Protocol) as a connection-oriented protocol?
Which of the following is a key characteristic of OLAP systems?
What is the output for the below code
MyList = ["New York", "London", "Paris", "New Delhi"] MyFile=open('output.txt','w') Â for element in MyLis...
The latency of a network isÂ