Question
In a 15 km race, X, Y, and Z are running at uniform speed.
If ‘X’ beats ‘Y’ by 3 km, and ‘Y’ beats ‘Z’ by 2 km, then by how many metres does ‘X’ beat ‘Z’?Solution
ATQ,
When ‘X’ covers 15 km, ‘Y’ will cover 12 km
Similarly, when ‘Y’ covers 15 km, ‘Z’ covers 13 km
Therefore, when ‘Y’ covers 12 km, then ‘Z’ will cover = (12 × 13) / 15 = 10.4 km
Therefore, ‘X’ will beat ‘Z’ by = 15 – 10.4 = 4.6 km = 4600 metres
Complete the Java method to extract a substring from text starting at startIndex and having length characters.
public class StringUtil {
�...
Which module in Python is used to define Abstract Base Classes (ABCs)?
State True or False
Semi-structured data is data that does not conform to a data model but has some structure. It lacks a fixed or rigid sc...
Consider the following statement regarding DIAC.
Statement (1): DIAC is unidirectional device.
Statement (2): DIAC can be used for trigger...
Which backup strategy involves creating copies of data that allow for point-in-time recovery and typically includes both full and incremental backups? ...
In the context of cloud computing, what is the main difference between containers and virtual machines?
Which of the following is a disadvantage of a static (array-based) queue compared to a dynamic (linked list-based) queue?
Which heuristic function property ensures A* algorithm finds an optimal path?
The latency of a network is
Which of the following statements best describes the concept of a computing model in computer science?