Question
The ratio of number of balls in bag A and bag B is 6:8
respectively. If six balls are transferred from bag B to bag A, then number of balls are equal in each bag. Find the number of balls in bag B initially?Solution
Let number of balls in bag A be 6x and in bag B be 8x.  As per the question,  8x - 6 = 6x + 6  ⇒ 8x - 6x = 6 + 6  ⇒x = 6   No. of ball in bag B = 8x = 8 × 6 = 48 balls
A good hash function aims to achieve which of the following characteristics?
Which of the following statements best describes a "trap door" in the context of computer security?
Which statement is FALSE for analog input module for PLCs?Â
What was the term "Monitor" used to describe in the context of early operating systems?
In the context of algorithm analysis, what does "Big O notation" primarily describe?
Consider the following C code:
#include
#include
int main() {
  char* text = "The quick brown fox j...
Which of the following problems is a classic example solved using backtracking?
Method overriding is an example of which type of polymorphism?
What is the phenomenon where a process spends more time paging (swapping pages between main memory and disk) than executing instructions?
Which operation adds an element to the rear of a queue?