Ratio of distance covered by 'P' to that of 'Q' = 1000:850 = 20:17 Ratio of distance covered by 'Q' to that of 'R' = 1000:900 = 10:9 Let the distance covered by 'Q' be '170x' metres. So, the distance covered by 'P' = (20/17) × 170x = '200x' metres Distance covered by 'R' = (9/10) × 170x = '153x' metres When 200x = 1000 So, x = 5 So, the distance covered by 'R' = 153 × 5 = 765 metres So, the distance by which 'P' beats 'R' = 1000 - 765 = 235 metres
Which keyword is used to allocate dynamic memory in C++?
In which part of a function are local variables typically declared?
Attributes that do not exist in the physical database, but their values are derived from other attributes present in the database.
What is the purpose of the "GROUP BY" clause in an SQL query?
In a compiler, keywords of a language are recognized during
Which type of variable has the widest scope and can be accessed from any part of the program?
Sending a packet to all destination simultaneously is called
Which tree traversal visits the nodes in the order: left, root, right?
What is machine learning?
In dynamic programming, what is memoization?