Input Output # MCQs Practice set

Q.1 In a certain code language, 'CAT' is written as 'XZG'. How is 'DOG' written in that code?

WLJ
WLF
WLH
WLK
Explanation - 'C' → 'X', 'A' → 'Z', 'T' → 'G'. Similarly, 'D' → 'W', 'O' → 'L', 'G' → 'J'.
Correct answer is: WLJ

Q.2 Input: 3 5 8 2 6 → Step 1: Arrange in ascending order, Step 2: Replace each number by its square. What is the final output?

4 9 25 36 64
4 9 36 64 100
9 4 36 64 100
4 9 36 64 16
Explanation - Ascending order: 2 3 5 6 8 → Square each: 4 9 25 36 64.
Correct answer is: 4 9 25 36 64

Q.3 In a certain code language, 'INPUT' is written as 'KORWV'. How is 'OUTPUT' written?

RWTKZV
RWTLXV
RWTLZV
RWUKZV
Explanation - Each letter is replaced by the letter 2 positions ahead in the alphabet. Apply same for 'OUTPUT'.
Correct answer is: RWTLZV

Q.4 Input: 12 45 78 34 → Step 1: Add 5 to each number, Step 2: Arrange in descending order. What is the output?

50 83 39 17
83 50 39 17
17 39 50 83
50 39 83 17
Explanation - Add 5: 17 50 83 39 → Descending: 83 50 39 17.
Correct answer is: 83 50 39 17

Q.5 If in a certain code 'A' is coded as 'Z', 'B' as 'Y', and so on, how is 'HELLO' written?

SVOOL
SVOLL
SVOLO
SVLLL
Explanation - Letter is replaced by its opposite in alphabet: H→S, E→V, L→O, L→O, O→L.
Correct answer is: SVOOL

Q.6 Input: 7 2 9 4 → Step 1: Multiply each by 3, Step 2: Arrange in ascending order. What is the final output?

6 12 21 27
6 12 27 21
12 6 21 27
21 12 6 27
Explanation - Multiply by 3: 21 6 27 12 → Ascending: 6 12 21 27.
Correct answer is: 6 12 21 27

Q.7 In a certain code language, if 'PENCIL' → 'QFODJM', then 'ERASER' → ?

FSBTFS
FSATFS
FSBTFR
FSBTDS
Explanation - Each letter is shifted by +1 in alphabetical order.
Correct answer is: FSBTFS

Q.8 Input: 4 9 1 6 → Step 1: Subtract 1 from each, Step 2: Arrange in ascending order. Output?

0 3 5 8
3 5 0 8
8 5 3 0
3 0 5 8
Explanation - Subtract 1: 3 8 0 5 → Ascending: 0 3 5 8.
Correct answer is: 3 0 5 8

Q.9 If in a certain code 'MARCH' is written as 'NZSDI', how is 'JULY' written?

KVNZ
KVNY
KVMZ
KVLY
Explanation - Each letter is replaced by the next letter in alphabet: J→K, U→V, L→N, Y→Z.
Correct answer is: KVNZ

Q.10 Input: 5 8 2 6 → Step 1: Reverse the numbers, Step 2: Add 2 to each. Output?

8 4 10 7
8 10 4 7
8 4 7 10
6 8 4 8
Explanation - Reverse: 6 2 8 5 → Add 2: 8 4 10 7.
Correct answer is: 8 4 10 7

Q.11 Input: 1 3 5 7 → Step 1: Multiply by 2, Step 2: Arrange in descending order. Output?

2 6 10 14
14 10 6 2
2 6 10 14
14 2 6 10
Explanation - Multiply by 2: 2 6 10 14 → Descending: 14 10 6 2.
Correct answer is: 14 10 6 2

Q.12 If in a certain code 'RIVER' → 'UIWFS', how is 'OCEAN' written?

PDFBO
PDFAO
PDEBO
PDFCN
Explanation - Each letter is replaced by the next letter: O→P, C→D, E→F, A→B, N→O.
Correct answer is: PDFBO

Q.13 Input: 9 4 7 2 → Step 1: Add 3 to each, Step 2: Arrange in ascending order. Output?

5 7 10 12
12 10 7 5
12 7 5 10
12 10 5 7
Explanation - Add 3: 12 7 10 5 → Ascending: 5 7 10 12.
Correct answer is: 5 7 10 12

Q.14 Input: 21 34 13 8 → Step 1: Divide by 2 (ignore remainder), Step 2: Arrange ascending. Output?

4 6 10 17
10 17 4 6
4 6 10 17
10 6 17 4
Explanation - Divide by 2: 10 17 6 4 → Ascending: 4 6 10 17.
Correct answer is: 4 6 10 17

Q.15 Input: 7 14 21 → Step 1: Subtract 3, Step 2: Reverse the order. Output?

18 11 4
4 11 18
4 11 14
18 4 11
Explanation - Subtract 3: 4 11 18 → Reverse: 18 11 4.
Correct answer is: 18 11 4

Q.16 If 'APPLE' → 'BQQMF', then 'BANANA' → ?

CBOBOB
CBMBOB
CBPBOB
CBOBOC
Explanation - Each letter is shifted by +1: B→C, A→B, N→O, etc.
Correct answer is: CBMBOB

Q.17 Input: 2 5 3 8 → Step 1: Multiply by 4, Step 2: Arrange descending. Output?

32 20 12 8
8 12 20 32
32 12 20 8
32 20 8 12
Explanation - Multiply: 8 20 12 32 → Descending: 32 20 12 8.
Correct answer is: 32 20 12 8

Q.18 If in a code language, 'BLUE' is written as 'CMVF', then 'RED' is written as?

SFE
SFE
SFE
SFD
Explanation - Each letter is replaced by the next letter in alphabet: R→S, E→F, D→E.
Correct answer is: SFE

Q.19 Input: 10 20 30 → Step 1: Subtract 2, Step 2: Multiply by 3. Output?

24 54 84
24 54 84
24 54 84
24 54 84
Explanation - Subtract 2: 8 18 28 → Multiply by 3: 24 54 84.
Correct answer is: 24 54 84

Q.20 Input: CAT DOG RAT → Step 1: Reverse letters of each word, Step 2: Arrange alphabetically. Output?

GOD TAC TAR
TAC GOD TAR
TAC TAR GOD
GOD TAR TAC
Explanation - Reverse letters: TAC GOD TAR → Alphabetical order: GOD TAC TAR.
Correct answer is: GOD TAC TAR

Q.21 Input: 3 6 9 12 → Step 1: Divide by 3, Step 2: Add 5. Output?

6 7 8 9
6 5 8 9
6 7 9 8
5 6 7 8
Explanation - Divide by 3: 1 2 3 4 → Add 5: 6 7 8 9.
Correct answer is: 6 7 8 9

Q.22 If 'FISH' → 'GJTI', how is 'BIRD' written?

CJSF
CJSF
CJSF
CJSE
Explanation - Each letter is shifted by +1, F→G, I→J, S→T, H→I. Similarly, B→C, I→J, R→S, D→F.
Correct answer is: CJSF

Q.23 Input: 11 22 33 44 → Step 1: Add 10, Step 2: Arrange ascending. Output?

21 32 43 54
21 32 43 54
21 32 54 43
54 43 32 21
Explanation - Add 10: 21 32 43 54 → Ascending: 21 32 43 54.
Correct answer is: 21 32 43 54

Q.24 Input: 2 4 6 8 → Step 1: Multiply by 5, Step 2: Reverse the order. Output?

40 30 20 10
10 20 30 40
40 20 30 10
10 30 20 40
Explanation - Multiply: 10 20 30 40 → Reverse: 40 30 20 10.
Correct answer is: 40 30 20 10