Question
If the seven-digit number 94x29y6 is divisible by 72,
then what is the value of (2x+3y) for x ≠ y?Solution
94x29y6 is divisible by 72 => 72 = 8 × 9 Last three digits should be divisible by 8. So only 936 and 976 are completely divisible. That means y = 3 or 7 Putting x = 3 (given that x ≠ y) We can only put y = 7 94x2976 = divisibility rule of 9 (sum of digits should be divisible by 9) => x = 8 and y = 7 Now, (2x+3y) = 2 × 8 + 3 × 7 = 16 + 21 = 37
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?