Opens in a new tab
Join Anantam IAS Channel on Telegram

TOPIC

Coding-Decoding

3 UPSC Prelims MCQs tagged "Coding-Decoding". Free practice with answer keys, explanations, and timed mock tests on Anantam IAS.

  1. DRIVEN is related to EIDRVN in the same way as BEGUMF is related to:

    DRIVEN is related to EIDRVN in the same way as BEGUMF is related to:

    1. ABGMEFU
    2. BBGMUEF
    3. CGMBEUF
    4. DMGBEUF
    Answer and explanation

    Correct answer: D

    In DRIVEN the letters occupy positions 1-6 as D-R-I-V-E-N; the output EIDRVN rearranges them by picking original positions in the order 5,3,1,2,4,6. Applying the same order to BEGUMF (B1-E2-G3-U4-M5-F6) gives M-G-B-E-U-F, that is MGBEUF.
  2. In a certain code language, 781 means ‘Flowers of beautiful’, 612 means ‘Roses are…

    In a certain code language, 781 means 'Flowers of beautiful', 612 means 'Roses are red', and 982 means 'Roses are beautiful'. Which number denotes 'Flowers'?

    1. A8
    2. B7
    3. C2
    4. D6
    Answer and explanation

    Correct answer: B

    Codes 781 and 982 share the word 'beautiful' and the digit 8, so 8 = beautiful. Codes 612 and 982 share the words 'Roses' and 'are' and the digit 2. In 781 = 'Flowers of beautiful', once 8 is beautiful, the remaining digits 7 and 1 stand for 'Flowers' and 'of'. The digit 7 appears only in this code, so it maps to the word unique here, 'Flowers'.
  3. In a certain code language, 781 means ‘Flowers of beautiful’, 612 means ‘Roses are…

    In a certain code language, 781 means 'Flowers of beautiful', 612 means 'Roses are red', and 982 means 'Roses are beautiful'. What does the number '9' denote?

    1. ARoses
    2. BFlowers
    3. CRed
    4. Dare
    Answer and explanation

    Correct answer: A

    From 781 and 982 the shared word 'beautiful' fixes 8 = beautiful. Codes 612 ('Roses are red') and 982 ('Roses are beautiful') share 'are', which maps to the common digit 2, so 2 = are. In 982 the remaining digit after beautiful (8) and are (2) is 9, which therefore stands for 'Roses'.