Question
In a certain code language, ‘PLATFORM’ is coded as
‘RJDQJKWI’, then ‘FLAMINGO’ is coded as ____ in the same code language.Solution
The logic followed here is: The 1st, 3rd, 5th and 7th letters are replaced by their 2nd, 3rd, 4th and 5th succeeding letters respectively and the 2nd, 4th, 6th and 8th letters are replaced by their 2nd, 3rd, 4th and 5th preceding letters respectively. P + 2 = R L – 2 = J A + 3 = D T – 3 = Q F + 4 = J O – 4 = K R + 5 = W M – 5 = I Similarly, F + 2 = H L – 2 = J A + 3 = D M – 3 = J I + 4 = M N – 4 = J G + 5 = L O – 5 = J
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?