Company: Nobroker
Difficulty: medium
Question 27 Language Coding Coding 2 15 marks You and Nikhil always converse using a code language, which converts your message to an equivalent binary number sequence (0s and/or 1s). You are using some secret channel to send the information to Nikhil. If any of your friends tap the channel to steal the message, he/she can only extract the length of the binary number sequence and the number of zeros and ones in the code. The exact binary code cannot be extracted by tapping the channel. However, Priya wants to know the secret information you are sending to Nikhil. Therefore, she taps the channel and tries to extract some information. All she can extract is the total number of digits and also the number of zeros and ones in the message. After extracting this information, she arranges the extracted numbers in a random binary sequence of the same length and uses circular right shift on the code in an attempt to convert it into the original message, she used to perform x number of the circu