Autokey Cipher Multiple Choice Questions and Answers (MCQs)

This set of Data Structures & Algorithms Multiple Choice Questions & Answers (MCQs) focuses on “Autokey Cipher”.

1. What is the meaning of cipher in cryptography?
a) an algorithm that performs encryption
b) an algorithm that generates a secret code
c) an algorithm that performs encryption or decryption
d) a secret code
View Answer

Answer: c
Explanation: Cipher is an algorithm for performing encryption or decryption. In cryptography, a set of defined steps are followed to generate ciphers. These are necessary to prevent a data breach.

2. Autokey cipher is an example of ___________
a) mono-alphabetic cipher
b) poly-alphabetic cipher
c) transposition cipher
d) additive cipher
View Answer

Answer: b
Explanation: Autokey cipher is a substitution cipher. It falls under the category of poly alphabetic cipher as it uses multiple substitutions at different positions in order to cipher the plain text.

3. Encryption in Autokey cipher is done using ___________
a) vigenere formula
b) vigenere cycle
c) vigenere table
d) vigenere addition
View Answer

Answer: c
Explanation: Encryption of plain text in Autokey cipher is done using the same table which is used for encryption in vigenere cipher. It is known as vigenere table.
advertisement
advertisement

4. Which of the following correctly defines poly alphabetic cipher?
a) a substitution based cipher which uses multiple substitution at different positions
b) a substitution based cipher which uses fixed substitution over entire message
c) a transposition based cipher which uses multiple substitution at different positions
d) a transposition based cipher which uses fixed substitution over entire message
View Answer

Answer: a
Explanation: Poly alphabetic cipher is a type of substitution cipher. It uses multiple substitution at different positions in order to cipher the plain text.

5. Which of the following is not a type of poly alphabetic cipher?
a) Autokey cipher
b) Hill cipher
c) One time pad cipher
d) Additive cipher
View Answer

Answer: d
Explanation: In poly alphabetic cipher each symbol of plain text is replaced by a different cipher text regardless of its occurrence. Out of the given options only additive cipher is not a poly alphabetic cipher.

6. Autokey cipher is closely related to ___________
a) Vigenere cipher
b) Hill cipher
c) Play fair cipher
d) Rotor cipher
View Answer

Answer: a
Explanation: Autokey cipher like vigenere cipher uses vigenere table in order to encrypt the plain text. The difference in these cipher is the usage of the keyword.

7. Autokey cipher is harder to crack than keyword cipher.
a) true
b) false
View Answer

Answer: a
Explanation: Keyword cipher is less secure than Autokey cipher. It is due to the fact that keyword cipher is mono alphabetic and thus can be cracked using frequency analysis. But Autokey cipher being a poly alphabetic cipher cannot be cracked using this method.
advertisement

8. What will be the plain text corresponding to cipher text “ZEYQC” if autokey cipher is used with keyword as “SANFOUNDRY”?
a) INDIA
b) WORLD
c) HELLO
d) SECRET
View Answer

Answer: c
Explanation: Autokey cipher is a type of poly alphabetic substitution which uses vigenere table for making substitutions in the plain text after generating key using plain text. Using the table we find the plain text to be “HELLO”.

9. Autokey cipher is also known as?
a) vigenere cipher
b) autoclave cipher
c) auto key cipher
d) auto cipher
View Answer

Answer: b
Explanation: Autoclave cipher is an alternative name given to autokey cipher. It is because the encrypted text is formed using a key that is generated from a message(plain text) itself.
advertisement

10. In which of the following cipher the plain text and the ciphered text does not have same number of letters?
a) affine cipher
b) autokey cipher
c) columnar cipher
d) additive cipher
View Answer

Answer: b
Explanation: In transposition cipher and mono alphabetic cipher the number of letters remain same in ciphered and deciphered text. But in poly alphabetic cipher the number of letters are different. So here as autokey cipher is the only poly alphabetic cipher so it will be the answer.

11. What will be the ciphered text if the string “SECRET” is given as input to the code of autokey cipher with keyword as “SANFOUNDRY”?
a) KEPWSN
b) EKWPSN
c) EKWPSNFDED
d) KEPWSNFDED
View Answer

Answer: a
Explanation: For encrypting a plain text in autokey cipher we first add the keyword at the beginning of the plain text in order to obtain the key for encryption. Then we use the vigenere table for making respective substitutions.

12. Vigenere cipher is harder to crack than autokey cipher.
a) true
b) false
View Answer

Answer: b
Explanation: Autokey cipher is harder to crack than vigenere cipher. It is because in autokey cipher the key is formed using the plain text itself whereas in vigenere cipher the key is independent of the plain text. This makes autokey cipher more secure.

Sanfoundry Global Education & Learning Series – Data Structures & Algorithms.

To practice all areas of Data Structures & Algorithms, here is complete set of 1000+ Multiple Choice Questions and Answers.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.