Question
The speed of βAβ and βBβ is 60 km/hr and 30
km/hr, respectively. If the distance covered by βAβ in βxβ hours is 120 km more than that by βBβ in the same time, then find the value of βxβ.Solution
If the time is same, then the ratio of the speeds is equal to the ratio of the distance covered Therefore, ratio of the distance covered by βAβ and βBβ = 60:30 = 2:1 Let the distance covered by βAβ and βBβ be 2y km and y km, respectively According to the question, 2y β y = 120 Or, y = 120/1 = 120 Therefore, distance coved by βAβ = 2y = 240 km Time taken by βAβ = x = 240/60 = 4 hours
Which of the following integrity constraints ensures that every non-null foreign key value must reference an existing primary key value in another tabl...
Hashing is used for:
The amortized cost of appending an element at the end of a dynamic array is:
Consider the following stack operations. What will be the content of the stack after executing all the operations?
Stackstack = new Stack... Which of the following is NOT among the OWASP Top 10 Web Security Risks?
In Python, what will be the output of the following code snippet, considering scope rules?
x = 5Β Β Β Β Β Β Β Β Β Β Β Β Β Β
Β
In asymmetric encryption, which of the following statements is correct?
Which algorithm constructs a suffix tree in linear time?
What is the primary purpose of a B+ Tree in a database management system?
Which sorting algorithm has O(n log n) average case?