Question
The ratio of age of βBβ after 5 years from now and
age of βCβ 4 years ago from now is 7:4, respectively. The present age of βCβ is 30% of the present age of βAβ. If present age of βAβ is 60 years then find the present age of βBβ.Solution
Present age of βCβ = 0.3 Γ 60 = 18 years 4 years ago from now, age of βCβ = 18 β 4 = 14 years 5 years hence from now, age of βBβ = 14 Γ (7/4) = 24.5 years Present age of βBβ = 24.5 β 5 = 19.5 years
Which heuristic function property ensures A* algorithm finds an optimal path?
Fill in the correct option for 29 blank space.
What is the primary purpose of Continuous Integration (CI) in software development?Β
What is the keyword used in Java to indicate that a class is inheriting from another class?
How do you correctly create a new Map object in JavaScript?
What is the primary purpose of the Banker's Algorithm in operating systems?
Complete the recurrence relation for dp[i][j] in the Longest Common Subsequence (LCS) problem when text1[i-1] is *not equal* to text2[j-1].
# dp[...
A Python Queue class uses a list. Its is_empty method is implemented incorrectly.
class Queue:
Β Β def __init__(self):
Β Β Β οΏ½...
In cloud computing, what is the primary benefit of containerization compared to traditional virtualization?Β
If 1011 is transmitted with alternate-mark-inversion bipolar encoding and the corresponding transmitted voltage levels are {+1,0,-1,+1}. If the received...