Question
Find the sum of all the possible values of 'a' such that
'9a5784' is always divisible by 3.Solution
A number is divisible by 3 when sum of its digits is divisible by 3.Sum of digits = 9 + a + 5 + 7 + 8 + 4 = a + 33(a + 33) is divisible by 3 when 'a' = 0, 3, 6 or 9Therefore, required sum = 0 + 3 + 6 + 9 = 18
Which of the following is a basic equation used in the COCOMO model?
How many stable states does a positive-edge-triggered D-type flip-flop have?
Basic syntax to create a bar-chart in R is
Which of the following is a component of a combined cycle power plant?
Which are types of system design
Which SQL keyword is used to remove rows from a table?
Which is the correct format specifier for double type value in C?
Which concurrency control technique allows a transaction to read uncommitted data?
keyword is used to skip this iteration and move to next iteration ?
Which type of digital circuit produces an output solely based on its current inputs and doesn't have any memory elements?