Q.1 If in a certain code language, 'APPLE' is written as 'BQRMF', how will 'ORANGE' be written in that code?
PSBOHF
PSBNHF
PSBOGG
PSBNGF
Explanation - Each letter is replaced by the next letter in the alphabet: A->B, P->Q, etc. Similarly, ORANGE becomes PSBOHF.
Correct answer is: PSBOHF
Q.2 In a certain code, '1234' is coded as '3412' and '5678' as '7856'. How is '91011' coded?
10119
01119
11019
01911
Explanation - The first two digits move to the end: 1234→3412, so 91011→11019.
Correct answer is: 11019
Q.3 In a certain code language, if 'TABLE' is coded as 'YFQJP', what is the code for 'CHAIR'?
HFMNW
HFJNW
HFMNX
HFMNX
Explanation - Each letter is replaced by a letter 5 positions forward in the alphabet: C→H, H→M, etc.
Correct answer is: HFMNW
Q.4 Input sequence: 2 5 9 4 7. Output sequence follows a rule: largest number first, smallest last, others in ascending order in between. Find the output.
9 4 5 7 2
9 4 5 7 2
9 4 5 7 2
9 5 4 7 2
Explanation - Largest number 9 first, smallest 2 last, remaining numbers in ascending order: 4, 5, 7.
Correct answer is: 9 5 4 7 2
Q.5 If in a code, 'COMPUTER' is written as 'ERETUPMOC', how is 'LAPTOP' written?
POTALP
PTALO P
PTOLAP
POTALP
Explanation - The word is simply reversed: LAPTOP → POTALP.
Correct answer is: POTALP
Q.6 Input: 7 2 9 4 5. Output: smallest number first, then second largest, then remaining in ascending order. Find output.
2 7 4 5 9
2 7 4 5 9
2 7 4 5 9
2 7 4 5 9
Explanation - Smallest 2 first, second largest 7 next, remaining numbers 4,5,9 arranged ascending after that.
Correct answer is: 2 7 4 5 9
Q.7 In a certain code language, if 'FRIEND' is coded as 'GSHJFO', what is the code for 'LOVE'?
MPWF
MPXE
MPWF
NQXF
Explanation - Each letter is shifted by +1: L→M, O→P, V→W, E→F.
Correct answer is: MPWF
Q.8 Input: 15 9 12 7 20. Output is coded as: largest number at center, remaining numbers in decreasing order around it. Find output.
15 12 20 9 7
12 15 20 9 7
15 12 20 9 7
12 15 20 7 9
Explanation - Largest number 20 at center, left numbers decreasing 12, 15, right numbers decreasing 9, 7.
Correct answer is: 12 15 20 9 7
Q.9 If in a code, '12345' is written as '51432', how is '6789' coded?
9876
8967
9678
9786
Explanation - Positions are rearranged as 5→1,1→5,2→4,4→2,3→3. Applying same to 6789→9786.
Correct answer is: 9786
Q.10 Input: DOG, Output follows rule: 2nd letter comes first, then last letter, then first letter. Find output.
OGD
GOD
ODG
GDO
Explanation - DOG → second letter O, last G, first D → GOD.
Correct answer is: GOD
Q.11 In a code, 'BLUE' is written as 'EKQH'. What is the code for 'RED'?
UFG
UFH
TFG
UGF
Explanation - Each letter is shifted by +3: R→U, E→F, D→G.
Correct answer is: UFG
Q.12 Input sequence: 6 1 9 3 7. Output sequence follows: ascending order except the first element is the largest. Find output.
9 1 3 6 7
9 1 3 6 7
9 1 3 7 6
9 1 3 7 6
Explanation - Largest number 9 first, remaining numbers 1,3,6,7 arranged ascending: 1,3,6,7.
Correct answer is: 9 1 3 7 6
Q.13 If 'MANGO' is coded as 'NBOPH', how is 'PEACH' coded?
QFBDI
QFCBI
QFADI
QFBDH
Explanation - Each letter is shifted +1: P→Q, E→F, A→B, C→D, H→I.
Correct answer is: QFBDI
Q.14 Input: 4 9 2 8 7. Output: reverse the sequence and swap first and last elements. Find output.
7 8 2 9 4
4 8 2 9 7
7 9 2 8 4
7 9 2 8 4
Explanation - Reverse sequence: 7 8 2 9 4, then swap first and last: 7↔4 → 7 9 2 8 4.
Correct answer is: 7 9 2 8 4
Q.15 In a code, 'EASY' is written as 'HFVB'. How is 'CODE' written?
FRGH
FRHD
FRHE
FQHF
Explanation - Each letter is shifted +3: C→F, O→R, D→G, E→H.
Correct answer is: FRGH
Q.16 Input: 12 5 8 3 10. Output rule: alternate largest and smallest numbers. Find output.
12 3 10 5 8
12 3 10 5 8
12 3 10 5 8
12 3 10 5 8
Explanation - Largest 12, smallest 3, next largest 10, next smallest 5, remaining 8 in middle.
Correct answer is: 12 3 10 5 8
Q.17 If 'SUN' is coded as 'VTQ', how is 'MOON' coded?
PRRQ
PRRS
PRRQ
PSRQ
Explanation - Each letter is shifted +3: M→P, O→R, O→R, N→Q.
Correct answer is: PRRQ
Q.18 Input: 5 8 2 9 1. Output: second largest first, largest last, others in ascending order. Find output.
8 1 2 5 9
8 2 1 5 9
8 2 5 1 9
8 1 5 2 9
Explanation - Second largest 8 first, largest 9 last, remaining numbers 1,2,5 ascending in middle.
Correct answer is: 8 1 2 5 9
Q.19 If 'BOOK' is coded as 'CPPL', how is 'PEN' coded?
QFO
QGP
QEO
QFO
Explanation - Each letter is shifted +1: P→Q, E→F, N→O.
Correct answer is: QFO
Q.20 Input: 3 6 9 2 5. Output: numbers sorted in ascending order except the last element becomes first. Find output.
5 2 3 6 9
5 2 3 6 9
5 2 3 6 9
5 2 3 6 9
Explanation - Ascending order: 2,3,5,6,9. Last element 5 moved to first: 5,2,3,6,9.
Correct answer is: 5 2 3 6 9
Q.21 If 'EARTH' is coded as 'HFUWK', what is 'WATER' coded as?
ZDWHU
ZDWHV
ZDWHR
ZDWGU
Explanation - Each letter shifted +3: W→Z, A→D, T→W, E→H, R→U.
Correct answer is: ZDWHU
Q.22 Input: 10 15 5 20 25. Output: largest number first, smallest second, rest in ascending order. Find output.
25 5 10 15 20
25 5 10 15 20
25 5 10 15 20
25 5 10 15 20
Explanation - Largest 25 first, smallest 5 second, remaining numbers ascending: 10,15,20.
Correct answer is: 25 5 10 15 20
Q.23 If 'LIGHT' is coded as 'OLMKW', what is 'DARK' coded as?
GDUN
GDVK
GDVK
GDUK
Explanation - Each letter shifted +3: D→G, A→D, R→U, K→N.
Correct answer is: GDUN
Q.24 Input: 8 3 6 1 7. Output: numbers arranged as second largest, largest, smallest, remaining in ascending order. Find output.
7 8 1 3 6
6 8 1 3 7
7 8 1 3 6
6 8 1 3 7
Explanation - Second largest 7 first, largest 8 second, smallest 1 third, remaining numbers 3,6 in ascending order.
Correct answer is: 7 8 1 3 6
