0% found this document useful (0 votes)
65 views

Coding Decoding Practice Questions

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
65 views

Coding Decoding Practice Questions

Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

1

Coding-Decoding Practice Questions


1. In a certain code BROTHER is written as 5. The letters from A to Z are numbered from
$&53@4& and DREAM is written as 1 to 26 respectively. If IHG = 1974 and FED
9&47*. How is THREAD written in that = 1308, then what is CBA equal to?
code?
(a) 246
(a) *@34&7
(b) 468
(b) 3@&479
(c) 5@4&79 (c) 642
(d) 4*3@47 (d) 864

2. If banana is called ‘sweet’, sweet is called 6. If each alphabet from A to Z is assigned a


‘soap’, soap is called ‘pen’, pen is called prime number starting from the smallest
‘honey’, and honey is called ‘aky’. Which of prime number assigned to 'A' and the next to
the following is used for washing clothes?
'B' and so on, then PET will be written as:
(a) Honey
(a) 471167
(b) Sweet
(b) 471371
(c) Pen
(d) Soap (c) 531367
(d) 531171
3. In a certain code language, ‘sa ra ga’ means
‘dogs are barking’, ‘ra jo ma’ means ‘dogs 7. If KITE is written as 2025 and ATE is
and horses’ and ‘mo sa ko’, means ‘donkeys
written as 676, then what will be the code of
are mad’. Which word in the language
REST in the same language?
means ‘barking’?
(a) ga (a) 3721
(b) ra (b) 3844
(c) jo (c) 3969
(d) sa (d) 4225

4. In a code language ‘EINSTEIN’ is written


8. In a code language, if ‘APPEAL’ is written
as ‘DJMTSFHO’ and 'BAT' is written as
as ‘367683’ and ‘PLAY’ is written as
'ABS'. How is ‘RUTHERFORD’ written in
‘8369’, then how will ‘PEARL’ be written?
that code language?
(a) SVUIFSGPSE (a) 36874
(b) SWUJDTFQTD (b) 36148
(c) QUSJDSDPRC (c) 78633
(d) QVSIDSEPQE (d) 36789
2

9. If ACCENT is coded as YEAGLV and 10. If DENSE is coded as FRODE and


PRODUCT is coded as NTMFSER, then COMPANY is coded as ZMBONND, then
DIRECT will be coded as? CLARIFY will be coded as
(a) BKPGAV (a) EDTOJME
(b) FKTGEV (b) ZEJSBMD
(c) FGTCER (c) ZEJQBKD
(d) BGPCAR (d) ZDKSBKD
3

Answer
1. (b) 6. (d)
2. (c) 7. (b)
3. (a) 8. (a)
4. (d) 9. (a)
5. (c) 10. (c)
4

Hints and Solutions


1. Ans: (b) 4. Ans: (d)
Explanation:
Explanation:
In a code language ‘EINSTEIN’ is written as
We can observe that each alphabet has a
‘DJMTSFHO’.
symbol/letter associated with it.
The pattern used in the above code is as
Letter B R O T H E R follows:
Code $ & 5 3 @ 4 & E E–1 D
I I+1 J
And,
N N–1 M
Letter D R E A M S S+1 T
Code 9 & 4 7 * T T–1 S
Similarly, THREAD will be written as E E+1 F
3@&479. I I–1 H
N N+1 O
Hence, option (b) is correct.
And,
B B–1 A
2. Ans: (c) A A+1 B
Explanation: T T–1 S
We know that soap is used for washing clothes. Similarly, ‘RUTHERFORD’ is written as
But soap is called ‘pen’. ‘QVSIDSEPQE’
R R–1 Q
So, ‘pen’ is used for washing clothes.
U U+1 V
Hence, option (c) is correct. T T–1 S
H H+1 I
3. Ans: (a) E E–1 D
R R+1 S
Explanation:
F F–1 E
In a certain code language, ‘sa ra ga’ means O O+1 P
‘dogs are barking’ …(1) R R–1 Q
‘ra jo ma’ means ‘dogs and horses’ …(2) D D+1 E
‘mo sa ko’, means ‘donkeys are mad’ …(3) Hence, option (d) is correct.
From equations (1) and (2), we can observe that
5. Ans: (c)
‘ra and dogs’ are common in both the cases.
Explanation:
It means ra is coded for dogs.
The numerical values of alphabets are:
From equations (1) and (3), we can observe that IHG = 987
‘sa and are’ are common in both the cases. FED = 654
This means ‘sa’ is coded for ‘are’. CBA = 321
So, from equation (1), we conclude that ga is According to the question,
coded for barking. IHG = 1974 = 2 × 987
FED = 1308 = 2 × 654
Hence, option (a) is correct.
So, CBA = 2 × 321 = 642
Hence, option (c) is correct.
5

6. Ans: (d) So, A or P can be coded as 3 or 6 while E or L


Explanation: can be coded as 7 or 8
We have to assign a prime number to each From PLAY = 8369, we can say that L = 8 and
alphabet. Y=9
A B C D E F G So, E = 7
2 3 5 7 11 13 17 In case of PEARL, there should be 3, 6, 7, 8 and
H I J K L M N for R there should be another digit.
19 23 29 31 37 41 43 Now, we go by the options.
O P Q R S T U In option (a) and (d), 3678 is coming but in
option (d), there is 9 but 9 corresponds to Y.
47 53 59 61 67 71 73
So, there should be another digit for R that is 4.
V W X Y Z
Hence, option (a) is correct.
79 83 89 97 101
We can observe that
9. Ans: (a)
P = 53, E = 11 and T = 71
Explanation:
So, PET is written as 531171.
We can observe the following pattern
Hence, option (d) is correct.
A A–2 Y
C C+2 E
7. Ans: (b)
C C–2 A
Explanation:
E E+2 G
We observe that the code is square of sum of
the numerical value assigned to each alphabet. N N–2 L
Given, KITE = 2025 T T+2 V
We know, K = 11, I = 9, T = 20 and E = 5 And,
2 2
Also, (11 + 9 + 20 + 5) = 45 = 2025 P P–2 N
Also, ATE = 676 R R+2 T
We know, A = 1, T = 20 and E = 5 O O–2 M
Also, (1 + 20 + 5)2 = 262 = 676 D D+2 F
Similarly, in case of REST, U U–2 S
R = 18, E = 5, S = 19 and T = 20 C C+2 E
2 2
So, (18 + 5 + 19 + 20) = (62) = 3844 T T–2 R
So, the code for REST is 3844 Similarly, DIRECT will be coded as BKPGAV
Hence, option (b) is correct. D D–2 B
I I+2 K
8. Ans: (a) R R–2 P
Explanation: E E+2 G
We are given that, C C–2 A
APPEAL = 367683 and PLAY = 8369 T T+2 V
We can clearly see that in the case of APPEAL, Hence, option (a) is correct.
there are two P’s and two A’s and 3 and 6 are
coming two times each in the coded form.
6

10. Ans: (c) Now, 'D', 'N', 'N', 'O', 'B', 'M' and 'Z' are written
Explanation: in reverse order for the coding i.e. ZMBONND
We can observe that in the given code, DENSE Similarly, CLARIFY will be coded as
– FRODE and COMPANY – ZMBONND ZEJQBKD:
For DENSE; C + 1 = D; L – 1 = K; A + 1 = B; R – 1 = Q; I
D + 1 = E; E – 1 = D; N + 1 = O; S – 1 = R; E + 1 = J; F – 1 = E; Y + 1 = Z
+1=F Now, 'D', 'K', 'B', 'Q', 'J', 'E' and 'Z' are written
Now, 'E', 'D', 'O', 'R' and 'F' are written in in reverse order for the coding i.e. ZEJQBKD
reverse order for the coding i.e. FRODE Hence, option (c) is correct.
Similarly for COMPANY;
C + 1 = D; O – 1 = N; M + 1 = N; P – 1 = O; A
+ 1 = B; N – 1 = M; Y + 1 = Z


You might also like