Question
Find the difference between minimum and maximum value
of 'g' such that '9g5621' is always divisible by 3.Solution
A number is divisible by 3 when the sum of its digits is divisible by 3.
Sum of digits of '9g5621' = (9 + g + 5 + 6 + 2 + 1) = g + 23.
So, g + 23 should be divisible by 3.
Possible values of 'g' = 2, 5, 8
Minimum value of 'g' = 2
Maximum value of 'g' = 8
Required difference = 8 – 2 = 6
Which of these is a key characteristic of SaaS (Software as a Service)?
In object-oriented programming, when defining an interface method, which of the following statements is true regarding method parameters?
Consider the following Java code snippet:
  import java.util.Collections;
  import java.util.PriorityQueue;
  public cl...
The Banker's Algorithm is primarily used for:
Which of the following is NOT a core principle of Object-Oriented Programming?
What is the defining property of a Binary Search Tree (BST)?
Which TCP feature improves performance specifically over wireless networks where packet loss occurs due to noise, not congestion?
Fill in the correct option for 25 blank space.
Which of the following is a major advantage of using a Mesh Network topology over a Star topology in large-scale networks?Â
Which of the following scheduling algorithms minimizes average seek time?