{
  "id": "XAT2021-Q65",
  "exam": "XAT",
  "year": 2021,
  "slot": "Full Paper",
  "question_no": 65,
  "section": "Quantitative Ability & Data Interpretation",
  "sub_section": "Modern Maths",
  "topic": "Coding-Decoding",
  "sub_topic": "Encryption rule",
  "difficulty": "Medium",
  "ideal_time_seconds": 75,
  "set": null,
  "context_text": null,
  "question_text": "An encryption system operates as follows: Step 1. Fix a number $k$ ( $k\\le26$ ). Step 2. For each word, swap the first $k$ letters from the front with the last $k$ letters from the end in reverse order. If a word contains less than $2k$ letters, write the entire word in reverse order. Step 3. Replace each letter by a letter $k$ spaces ahead in the alphabet. If you cross Z in the process to move $k$ steps ahead, start again from A. Example: $k=2$ : zebra $\\to$ arbez $\\to$ ctdgb. If the word “flight” becomes “znmorl” after encryption, then the value of $k$ :",
  "question_html": "An encryption system operates as follows:<br>Step 1. Fix a number <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k\">$k$</span> (<span class=\"ck-tex\" data-d=\"0\" data-tex=\"k\\le26\">$k\\le26$</span>).<br>Step 2. For each word, swap the first <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k\">$k$</span> letters from the front with the last <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k\">$k$</span> letters from the end in reverse order. If a word contains less than <span class=\"ck-tex\" data-d=\"0\" data-tex=\"2k\">$2k$</span> letters, write the entire word in reverse order.<br>Step 3. Replace each letter by a letter <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k\">$k$</span> spaces ahead in the alphabet. If you cross Z in the process to move <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k\">$k$</span> steps ahead, start again from A.<br>Example: <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k=2\">$k=2$</span>: zebra <span class=\"ck-tex\" data-d=\"0\" data-tex=\"\\to\">$\\to$</span> arbez <span class=\"ck-tex\" data-d=\"0\" data-tex=\"\\to\">$\\to$</span> ctdgb.<br>If the word “flight” becomes “znmorl” after encryption, then the value of <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k\">$k$</span>:",
  "figures": [],
  "figure_description": null,
  "options": [
    {
      "id": "A",
      "text": "6",
      "html": "6"
    },
    {
      "id": "B",
      "text": "4",
      "html": "4"
    },
    {
      "id": "C",
      "text": "5",
      "html": "5"
    },
    {
      "id": "D",
      "text": "7",
      "html": "7"
    },
    {
      "id": "E",
      "text": "Cannot be determined uniquely from the given information",
      "html": "Cannot be determined uniquely from the given information"
    }
  ],
  "answer": {
    "key": "A",
    "text": "6"
  },
  "answer_verified": true,
  "solution_text": "1. Encryption has two parts: first the block swap, then a shift of every letter by $k$ . 2. For $k\\ge3$ the word (6 letters) has at most $2k$ letters, so the whole word is reversed: thgilf. For $k=1$ the swap gives tlighf and for $k=2$ it gives thiglf. In every case the first letter after the swap is t. 3. The encrypted word starts with z, so t must move to z: $20+k=26$ , giving $k=6$ (a valid case, since then the word is simply reversed to thgilf). 4. Shift thgilf by 6: t to z, h to n, g to m, i to o, l to r, f to l, giving znmorl. Quick check: no other $k$ makes t become z, so $k=6$ is unique. Answer: A) 6",
  "solution_html": "1. Encryption has two parts: first the block swap, then a shift of every letter by <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k\">$k$</span>.<br>2. For <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k\\ge3\">$k\\ge3$</span> the word (6 letters) has at most <span class=\"ck-tex\" data-d=\"0\" data-tex=\"2k\">$2k$</span> letters, so the whole word is reversed: thgilf. For <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k=1\">$k=1$</span> the swap gives tlighf and for <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k=2\">$k=2$</span> it gives thiglf. In every case the first letter after the swap is t.<br>3. The encrypted word starts with z, so t must move to z: <span class=\"ck-tex\" data-d=\"0\" data-tex=\"20+k=26\">$20+k=26$</span>, giving <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k=6\">$k=6$</span> (a valid case, since then the word is simply reversed to thgilf).<br>4. Shift thgilf by 6: t to z, h to n, g to m, i to o, l to r, f to l, giving znmorl.<br>Quick check: no other <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k\">$k$</span> makes t become z, so <span class=\"ck-tex\" data-d=\"0\" data-tex=\"k=6\">$k=6$</span> is unique.<br>Answer: A) 6",
  "g_strategy": {
    "note": "Cetking™'s famous G Strategy: Sacred Art of Shortcut & Sacred Art of Tukka Shortcut — available after login on cetking.com.",
    "login_url": "https://cetking.com/login/",
    "page_url": "https://cetking.com/xat-2021-q65-an-encryption-system-operates-as-follows/#q65"
  },
  "page_url": "https://cetking.com/xat-2021-q65-an-encryption-system-operates-as-follows/#q65",
  "json_url": "https://cetking.com/api/xat/q/XAT2021-Q65.json",
  "paper_index_url": "https://cetking.com/api/xat/paper/2021.json",
  "publisher": {
    "name": "Cetking",
    "url": "https://cetking.com"
  }
}