Question
The least common multiple (LCM) of two numbers is 22
times their highest common factor (HCF). One of the numbers is 132, and the sum of the HCF and LCM is 276. Determine the other number.Solution
Let the HCF of the two numbers be ‘x’ So, LCM of the two numbers = 22x ATQ; 22x + x = 276 Or, 23x = 276 So, x = 12 So, HCF of the two numbers = 12 And LCM of the two numbers = 12 × 22 = 264 So, the other number = 12 × 264 ÷ 132 = 24
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?