Question
The HCF of two numbers is 33 and their sum is 594. Find
the total number of such possible pairs of numbers.Solution
Let the two numbers be 33a and 33b (33 is the H.C.F.) 33a +33b = 594 33(a + b) = 594 a+b = 594/33 a+b=18 Now, a and b must be co-primes Pairs = (1, 17), (5, 13), and (7, 11) Number of pairs are 3
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?