All questions of Coding and Decoding for Computer Science Engineering (CSE) Exam

1 Crore+ students have signed up on EduRev. Have you? Download the App

Direction: Study the following question carefully and choose the right answer.
If ZOO is coded as 2, TAN is coded as 8, then what is the code for WAR?
  • a)
    3
  • b)
    6
  • c)
    4
  • d)
    7
Correct answer is option 'B'. Can you explain this answer?

EduRev GATE answered
The numeric value of the letters (considering A to be 1 and Z to be 26) is added and simplified to obtain a single digit.
For ZOO, the numeric value of Z, O and O is 26, 15 and 15 respectively. Their sum is 56, Now 56 is further simplified to obtain a single digit by adding 5 and 6, which gives us 11 which is again added to obtain 2 as the final value.
Similarly for TAN, the numeric value of T, A and N is 20, 1 and 14 respectively. Their sum is 35, which is simplified as 3 + 5 = 8.
Similar process will be done to obtain the code for WAR, the numeric value of W, A and R is 23, 1 and 18 respectively. Their sum is 42, which is simplified as 4 + 2 = 6.
So, the code for WAR is 6.
Hence option (B) is correct.

If REQUEST is written as S2R52TU, how will ACID be written?

a) 1DBE             
b) 1DEB       
c) 1EDB                     
d) 1D3E     
Correct answer is option 'D'. Can you explain this answer?

Manoj Ghosh answered
Here we see, vowels A, E, I, 0, U are coded as 1, 2, 3, 4, 5 respectively,
Each of the consonants in the word REQUEST is moved one step forward to give the corresponding letter of the code. 
So, the code for ACID becomes 1D3E.

Direction: Study the following question carefully and choose the right answer.
If RED is coded as 6720, then how would GREEN be coded?
  • a)
    1677199
  • b)
    1677209
  • c)
    16717209
  • d)
    9207716
Correct answer is option 'B'. Can you explain this answer?

EduRev GATE answered
Clearly, the order of letters in the word is reversed and then each letters is replaced by the numeral denoting its position in the English alphabet. Next, 2 is added to each numeral and the numerals so obtained are joined together physically to get the code. Thus, we have :
RED → DER → 4/5/18 → 6/7/20 → 6720.
GREEN → NEERG → 14/5/5/18/7 → 16/7/7/20/9 → 1677209.
Hence, option B is correct.

Direction: Study the following question carefully and choose the right answer.
If REASON is coded as 5 and BELIEVED as 7, then what is the code for GOVERNMENT?
  • a)
    6
  • b)
    8
  • c)
    9
  • d)
    10
Correct answer is option 'C'. Can you explain this answer?

EduRev GATE answered
Clearly, each word is coded by the numeral which is 1 less than the number of letters in the word.
Since, there are 10 letters in the word GOVERNMENT, so required = 10 – 1 = 9.
Hence, option C is correct.

Directions: In this type of questions, some particular words are assigned certain substituted names. Then a question is asked that is to be answered in the substituted code language.
If 'dust' is called 'air', 'air' is called 'fire', 'fire' is called 'water', 'water' is called 'colour', 'colour' is called 'rain', and 'rain' is called 'dust', then where do fish live ?
  • a)
    fire
  • b)
    water
  • c)
    colour
  • d)
    dust
  • e)
    none of these
Correct answer is option 'C'. Can you explain this answer?

Anshika Khanna answered
Explanation:

Given Substitutions:
- Dust is called air
- Air is called fire
- Fire is called water
- Water is called colour
- Colour is called rain
- Rain is called dust

Analysis:
- According to the given substitutions, we have to trace back the original term for 'fish.'
- Fish live in water.
- Water is called colour in the substituted language.

Conclusion:
Therefore, in the substituted code language, fish live in colour.

Final Answer:
The correct answer is option C) colour.

In a certain code language, ‘MOST’ is written as ‘134’ and ‘FUR’ is written as ‘90’. How will ‘SUCCESS’ be written in that language?
  • a)
    89
  • b)
    175
  • c)
    178
  • d)
    215
  • e)
    none of these
Correct answer is option 'C'. Can you explain this answer?

Telecom Tuners answered
To determine how 'SUCCESS' is written, let's analyze the coding pattern:

- MOST134
- M = 13
- O = 15
- S = 19
- T = 20
- Sum = 13 + 15 + 19 + 20 = 67
- Adding the digits of 67: 6 + 7 = 13 (1 + 3) = 4

- FUR90
- F = 6
- U = 21
- R = 18
- Sum = 6 + 21 + 18 = 45
- Adding the digits of 45: 4 + 5 = 9

Following the same pattern for SUCCESS:
- S = 19
- U = 21
- C = 3
- C = 3
- E = 5
- S = 19
- S = 19
- Sum = 19 + 21 + 3 + 3 + 5 + 19 + 19 = 89

Hence, ‘SUCCESS’ is written as 178 (1 + 7 + 8). Answer: C: 178

Directions: In this type of questions, some particular words are assigned certain substituted names. Then a question is asked that is to be answered in the substituted code language.
If 'cushion' is called 'pillow', 'pillow' is called 'mat', 'mat' is called 'bedsheet' and 'bedsheet' is called 'cover', which will be spread on the floor ?
  • a)
    Cover
  • b)
    Bedsheet
  • c)
    Mat
  • d)
    Pillow
  • e)
    None of these
Correct answer is option 'B'. Can you explain this answer?

Abhay Khanna answered
Explanation:

Given Information:
- Cushion is called pillow
- Pillow is called mat
- Mat is called bedsheet
- Bedsheet is called cover

Identifying the correct option:
- We need to find out what will be spread on the floor according to the given substitutions.
- According to the substitutions:
- Pillow is called mat
- Mat is called bedsheet
- Bedsheet is called cover
- Therefore, the item that will be spread on the floor is actually the bedsheet.
Therefore, the correct answer is option B) Bedsheet.

Directions: In this type of questions, some particular words are assigned certain substituted names. Then a question is asked that is to be answered in the substituted code language.
If 'light' is called 'morning', 'morning' is called 'dark', 'dark' is called 'night', 'night' is called 'sunshine', and 'sunshine' is called 'dusk', when do we sleep?
  • a)
    night
  • b)
    sunshine
  • c)
    dusk
  • d)
    dark
  • e)
    none of these
Correct answer is option 'B'. Can you explain this answer?

Debanshi Nair answered

Explanation:

Given Substitutions:
- light is called morning
- morning is called dark
- dark is called night
- night is called sunshine
- sunshine is called dusk

Analysis:
- If light is morning, then morning is dark.
- If morning is dark, then dark is night.
- If dark is night, then night is sunshine.
- If night is sunshine, then sunshine is dusk.

Conclusion:
- Following the substitutions, we find that sleep is associated with night.
- Therefore, when we sleep is represented by 'night'.

Therefore, the correct answer to the question "When do we sleep?" in the substituted code language is option 'B) sunshine'.

Directions: In this type of questions, some particular words are assigned certain substituted names. Then a question is asked that is to be answered in the substituted code language.
If 'orange' is called 'butter', 'butter' is called 'soap', 'soap' is called 'ink', 'ink' is called 'honey' and 'honey' is called 'orange', which of the following is used for washing clothes ?
  • a)
    honey
  • b)
    butter
  • c)
    orange
  • d)
    soap
  • e)
    ink
Correct answer is option 'E'. Can you explain this answer?

Explanation:

Given substitutions:
- orange is called butter
- butter is called soap
- soap is called ink
- ink is called honey
- honey is called orange

Solution:
- Since honey is called orange and orange is called butter, it means honey is actually butter.
- Similarly, butter is called soap, so honey is actually soap.
- Following the same logic, we can determine that ink is called honey, so ink is actually orange.
- Therefore, ink is used for washing clothes.
Therefore, the correct answer is option E) ink.

Directions: Study the following question carefully and choose the right answer.
If CUSTOM is written as UCTSMO then how PARENT be written in the same code?
  • a)
    APERTN
  • b)
    RAPTNE
  • c)
    TNERAP
  • d)
    ERAPTN
Correct answer is option 'A'. Can you explain this answer?

Snehal Rane answered
Explanation:

Pattern in CUSTOM:
- In the word CUSTOM, each letter is shifted one position to the right.
- C becomes D, U becomes V, S becomes T, etc.
- Therefore, CUSTOM becomes UCTSMO.

Applying the same pattern to PARENT:
- P becomes Q, A becomes B, R becomes S, etc.
- So, PARENT will become APERTN.
Therefore, the correct answer is option A (APERTN).

Directions: Study the following question carefully and choose the right answer.
In a certain coding system, APPLE stands for ETTPI. What is the code for "DELHI"?
  • a)
    CQMND
  • b)
    CQPLM
  • c)
    ZAHDE
  • d)
    HIPLM
Correct answer is option 'D'. Can you explain this answer?

Swati Shah answered
Explanation:

Given Information:
In the coding system, APPLE is coded as ETTPI.

Analysis:
- The number of letters in the word APPLE is 5.
- The word APPLE has 5 unique letters.

Decoding Process:
- The first step is to identify the unique letters in the word APPLE: A, P, L, E.
- The next step is to assign a corresponding letter to each unique letter. In this case, the code for A is E, P is T, L is P, and E is I.

Applying the Decoding to DELHI:
- DELHI has 5 unique letters: D, E, L, H, I.
- Based on the decoding process, the code for D is H, E is I, L is P, H is M, and I is L.
Therefore, the code for "DELHI" in the given coding system is HIPLM.

Direction: Study the following question carefully and choose the right answer.
If STAFF is coded as $2#55 and FOLD is coded as 5@3% then how is STOLL written in that code language?
  • a)
    $@332
  • b)
    $2@33
  • c)
    #2@33
  • d)
    $23
Correct answer is option 'B'. Can you explain this answer?

Avantika Kaur answered

Explanation:

Given Codes:
- STAFF is coded as $2#55
- FOLD is coded as 5@3%

Analysis:
- From the given codes, we can see that each letter in the word is replaced with a symbol.
- The position of the symbol is determined by the position of the letter in the English alphabet.

Applying the same logic to STOLL:
- S -> $, T -> 2, O -> 3, L -> 3, L -> 3

Encoded form of STOLL:
- The encoded form of STOLL will be $2@33

Therefore, the correct answer is option B) $2@33.

In a certain code language, ' first of all' is written as 'kan dan san', who is first' is written as 'zan kan ven', and 'this is pale' is written as 'ven gen len'. How will 'who' be written in that language?
  • a)
    zan
  • b)
    gen
  • c)
    kan
  • d)
    ven
  • e)
    none of these
Correct answer is option 'A'. Can you explain this answer?

Gate Funda answered
To determine how 'who' is written in the code language:

1. Identify common words and corresponding codes:
- 'first' = 'kan' (common in both 'first of all' and 'who is first')
- 'is' = 'ven' (common in 'who is first' and 'this is pale')

2. Compare phrases:
- 'first of all' = 'kan dan san'
- 'who is first' = 'zan kan ven'

The remaining code 'zan' must represent 'who'.

Therefore, 'who' is written as 'zan'.Clearly. a 'bag' is used to carry the books but a 'bag' is called 'dictionary'. So, a dictionary will be used to carry the books.
Hence, option A is correct.

Directions: Study the following question carefully and choose the right answer.
If ACELDNRA stands for CALENDAR, what does LEGIBIEL stands for?
  • a)
    LIEGIBLE
  • b)
    ELIGIBLE
  • c)
    BIGEELIC
  • d)
    None of these
Correct answer is option 'B'. Can you explain this answer?

Shivam Das answered
Decoding the given code:
To decode the given code LEGIBIEL, we can refer back to the provided example where ACELDNRA stands for CALENDAR. By comparing the two words, we can identify the pattern or relationship between the coded and decoded words.

Identifying the pattern:
Upon examination, we can see that the letters in ACELDNRA have been rearranged to form the word CALENDAR. Therefore, it is likely that the same pattern of rearranging letters is applied to the word LEGIBIEL to reveal its decoded form.

Decoding LEGIBIEL:
When we rearrange the letters in LEGIBIEL using the same pattern as ACELDNRA to CALENDAR, we get the word ELIGIBLE. Therefore, the decoded form of LEGIBIEL is ELIGIBLE.

Conclusion:
Hence, the correct answer is option b) ELIGIBLE.

Directions: Study the following question carefully and choose the right answer.
In a certain code PAUSE is written as OBVTD and SHIFT is written as RIJGS. How will THINK be written in the same code?
  • a)
    UGHML
  • b)
    SIJMJ
  • c)
    SIJOJ
  • d)
    SIJQJ
Correct answer is option 'C'. Can you explain this answer?

Sparsh Nambiar answered
Explanation:

Decoding the given codes:
- In the given codes, each letter in the word is replaced by a different letter.
- For example, in the code for PAUSE, P is replaced by O, A is replaced by B, U is replaced by V, S is replaced by T, and E is replaced by D.

Applying the same pattern to THINK:
- T in THINK can be replaced by S (from SHIFT).
- H in THINK can be replaced by I (from SHIFT).
- I in THINK remains I (from SHIFT).
- N in THINK can be replaced by J (from SHIFT).
- K in THINK can be replaced by O (from SHIFT).
Therefore, the word THINK will be written as SIJOJ in the same code.
So, the correct answer is option C - SIJOJ.

Direction: Study the following question carefully and choose the right answer.
If RAM is coded as 5, GUI is coded as 1, then what is the code for SAP?
  • a)
    3
  • b)
    9
  • c)
    4
  • d)
    7
Correct answer is option 'B'. Can you explain this answer?

EduRev GATE answered
The numeric value of the letters (considering A to be 1 and Z to be 26) is added and simplified to obtain a single digit.
For RAM, the numeric value of R, A and M is 18, 1 and 13 respectively. Their sum is 32, Now 32 is further simplified to obtain a single digit by adding 3 and 2, which gives us 5 as the final value.
Similarly for GUI, the numeric value of G,U and I is 7, 21 and 9 respectively. Their sum is 37, which is simplified as 3 + 7 = 10 => 1 + 0 = 1.
Similar process will be done to obtain the code for SAP, the numeric value of S, A and P is 19, 1 and 16 respectively. Their sum is 36, which is simplified as 3 + 6 = 9.
So, the code for SAP is 9.
Hence option (B) is correct.

Direction: Study the following question carefully and choose the right answer.
IF E = 5, PEN = 35, then PAGE = ?
  • a)
    27
  • b)
    28
  • c)
    29
  • d)
    36
Correct answer is option 'C'. Can you explain this answer?

EduRev GATE answered
Clearly, putting A = 1, B = 2, C = 3, D = 4, E = 5, ..........M = 13, ...... x = 24, Y = 25, Z = 26, we have :
PEN = P + E + N = 16 + 5 + 14 = 35.
So, PAGE = P + A + G + E = 16 + 1 + 7 + 5 = 29.
Hence, option C is correct.

Directions: Study the following question carefully and choose the right answer.
In a certain code ‘TERMINAL’ is written as ‘SDQLJOBM’. How is CREDIBLE written in that code?
  • a)
    BQDCJCMF
  • b)
    BQDCHAKD
  • c)
    DSFEJCMF
  • d)
    DSFEHAKD
Correct answer is option 'A'. Can you explain this answer?

Amar Sengupta answered
Analysis:
To find the code for the word 'CREDIBLE' based on the given code for 'TERMINAL', we need to understand the pattern or rule applied in the coding.

Pattern:
1. Each letter in the word 'TERMINAL' is replaced by the letter that is 1 position before it in the English alphabet.
2. Applying the same pattern to the word 'CREDIBLE', we can find the coded word.

Solution:
- C -> B
- R -> Q
- E -> D
- D -> C
- I -> H
- B -> A
- L -> K
- E -> D
Therefore, the code for 'CREDIBLE' is 'BQDCJCMF'.
Therefore, the correct answer is option 'A' which is 'BQDCJCMF'.

Chapter doubts & questions for Coding and Decoding - RRB JE Mock Test Series for Computer Science Engineering 2025 2024 is part of Computer Science Engineering (CSE) exam preparation. The chapters have been prepared according to the Computer Science Engineering (CSE) exam syllabus. The Chapter doubts & questions, notes, tests & MCQs are made for Computer Science Engineering (CSE) 2024 Exam. Find important definitions, questions, notes, meanings, examples, exercises, MCQs and online tests here.

Chapter doubts & questions of Coding and Decoding - RRB JE Mock Test Series for Computer Science Engineering 2025 in English & Hindi are available as part of Computer Science Engineering (CSE) exam. Download more important topics, notes, lectures and mock test series for Computer Science Engineering (CSE) Exam by signing up for free.

Top Courses Computer Science Engineering (CSE)

Signup to see your scores go up within 7 days!

Study with 1000+ FREE Docs, Videos & Tests
10M+ students study on EduRev