Miscellaneous On Data Structures - Study Mode
[#796] What will be the ciphered text corresponding to "EXAMPLE" if running key cipher is used for encryption with keyword as "DATASTRUCTURE"?
Correct Answer
(A) IYUNIFW
Explanation
Solution: Running Key Cipher is a polyalphabetic substitution cipher where a plaintext is combined with a keyword to generate a ciphered text. The keyword is usually a long text that matches or exceeds the length of the plaintext. Given: Plaintext: "EXAMPLE" Keyword: "DATASTRUCTURE" Step 1: Convert each letter to its corresponding position in the alphabet: E = 5, X = 24, A = 1, M = 13, P = 16, L = 12, E = 5 D = 4, A = 1, T = 20, A = 1, S = 19, T = 20, R = 18 Step 2: Add the positions of the plaintext and keyword letters: (5 + 4), (24 + 1), (1 + 20), (13 + 1), (16 + 19), (12 + 20), (5 + 18) = 9, 25, 21, 14, 35, 32, 23 Step 3: If the sum exceeds 26, subtract 26 to get the cipher position: 9, 25, 21, 14, 35 - 26 = 9, 32 - 26 = 6, 23 Step 4: Convert these positions back to letters: 9 = I, 25 = Y, 21 = U, 14 = N, 9 = I, 6 = F, 23 = W Ciphered Text: The final ciphered text is "IYUNIFW". Conclusion: The correct answer corresponds to the following option: Option A: IYUNIFW
[#797] Co-ordinate compression reduces the number of squares in a graph.
Correct Answer
(A) true
[#798] How many unique colors will be required for proper vertex coloring of a complete graph having n vertices?
Correct Answer
(C) n
[#799] Which word offers a word rate that is typical of 5-letter code groups?
Correct Answer
(B) CODEX
[#800] . . . . . . . . is the mechanism of sending data bits multiple times to ensure consistency.
Correct Answer
(A) Repetition