Question
15 is divided in three parts which are in arithmetic
progression (A.P.) in such a way that the sum of their square is 83. Find the smallest part?Solution
Let the three numbers be (a - d), a, (a + d) a - d + a + a + d = 15 3a = 15 a = 5 (5 - d)² + 5² + (5 + d)² = 83 25 + d² - 10d + 25 + 25 + d² + 10d = 83 2d² = 8 d² = 4 d = ± 2 series = 3,5,7
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?