Reading a Code by Its Parts
Offices give codes to almost everything: staff, files, roll numbers, parcels, receipts. A code looks like a jumble of letters and digits, but it is really a short sentence written in parts. The question always tells you what each part means. Your job is to read the parts, not to guess them.
Splitting at the marks
Most codes split themselves at hyphens or slashes. Suppose the rule says: in a roll number such as BKN-2-24-118, the letters are the centre, the next digit is the shift, the two digits after that are the year (24 means 2024), and the last three digits are the seat number. Split at the hyphens and the code reads like this:
| Part | BKN | 2 | 24 | 118 |
|---|---|---|---|---|
| Meaning | centre | shift | year 2024 | seat |
When the digits run together
Some codes have no marks inside the number. Take a staff code such as KTR-3196, with this rule: the first digit is the department, the second and third digits are the year of joining (19 means 2019), and the last digit is the desk number. Now you have to count places. The first place holds 3, the second and third places hold 19, and the fourth place holds 6. So this person is in department 3, joined in 2019 and sits at desk 6.
Read by place, not by look
The same digits mean different things in different places. In KTR-3196, the 19 is a year only because it stands in the second and third places. A 19 at the end of another code would be part of a desk or serial number. Wrong options are often built on exactly this: the digits you want are there, but in the wrong place.
Read the whole rule once
Read the rule once, slowly, before you look at any code. Note how many letters and digits a code has, what each part means, and which values are allowed, such as "1: morning, 2: afternoon".
Solved Questions
Question 1
In a cooperative bank in Surat, every employee code has three letters, a hyphen and four digits, such as ADJ-2185. The letters are the branch (ADJ: Adajan, UDN: Udhna, VRC: Varachha). The first digit is the department (1: Loans, 2: Deposits, 3: Cash). The second and third digits are the year of joining (18 means 2018). The last digit is the desk number.
What does the code UDN-3207 tell you about the employee?
(a) Udhna branch, Cash, joined in 2007 (b) Udhna branch, Deposits, joined in 2020 (c) Udhna branch, Cash, joined in 2020 (d) Varachha branch, Cash, joined in 2020
Answer. Split the code at the hyphen, and then split the digits by place: UDN, then 3, then 20, then 7. The letters UDN are the Udhna branch. The first digit, 3, is the department, and 3 means Cash. The second and third digits, 20, are the year of joining, so 2020. The last digit, 7, is only the desk number. Option (a) reads the last two digits as the year, and option (b) takes the 2 as the department. So the answer is (c) Udhna branch, Cash, joined in 2020.
Question 2
For a recruitment test in Maharashtra, every roll number has three letters, a hyphen and five digits, such as KOP-21047. The letters are the centre, and there are three centres: KOP for Kolhapur, NSK for Nashik and PNE for Pune. The first digit is the shift: 1 for morning, 2 for afternoon. The second digit is the hall number, and the last three digits are the seat number.
Which of the following roll numbers belongs to a candidate at the Pune centre in the afternoon shift?
(a) PNE-12204 (b) NSK-23116 (c) KOP-22075 (d) PNE-24318
Answer. Make a small key: PNE, then 2 right after the hyphen. Options (b) and (c) are from Nashik and Kolhapur, so they go at once. Option (a) is PNE, but its first digit is 1, the morning shift. The 2s in it are the hall and seat numbers, not the shift. Option (d) has PNE and 2 in the shift place. So the answer is (d) PNE-24318.
Question 3
In a district office in Bikaner, every file number has three parts joined by slashes, such as REV/2023/1182. The letters are the section (ACC: Accounts, EST: Establishment, REV: Revenue). The middle part is the year the file was opened. The last part is the four-digit serial number of the file.
Which of the following is a file of the Establishment section opened in 2022?
(a) EST/2021/2022 (b) ETS/2022/1406 (c) EST/2022/1640 (d) REV/2022/1534
Answer. The key is EST in the first part and 2022 in the middle part. Option (a) does show 2022, but in the serial place. Its middle part says 2021. Option (b) has the letters ETS, which is not a section at all, so read the letters in order and not just which letters are there. Option (d) is a Revenue file. Only option (c) has EST and then 2022. So the answer is (c) EST/2022/1640.
Write the Rule as a Small Key
The rule in the question is often three or four long sentences. Do not read it again for every code. Turn it into a short key on your rough sheet before you start.
How to write the key
Write one box for each part of the code, and under each box a word or two. For the roll numbers in the last part, the key could be:
| Letters | 1st digit | Next 2 digits | Last 3 digits |
|---|---|---|---|
| centre | shift: 1 morning, 2 afternoon | year | seat |
It takes ten seconds to write and saves far more.
Shorten the question too
Now cut the question down the same way. "Which roll number belongs to the BKN centre in the afternoon shift?" becomes "BKN, 2 in the shift place". You are looking for codes that start with BKN and have 2 right after the first hyphen. Everything else in the code can be ignored.
For example
A hostel gives its rooms codes such as BH-3-12. BH means the boys' hostel and GH the girls' hostel, the middle digit is the floor, and the last two digits are the room. You want a room on floor 3 of the boys' hostel, so the key is "BH, 3".
BH-3-12 fits. GH-3-07 is on floor 3, but in the girls' hostel. BH-1-31 is in the boys' hostel, but on floor 1. So only BH-3-12 fits.
Why it helps
With the key in front of you, each code needs two quick looks: one at the letters and one at a single digit. You stop rereading the long rule, and you stop mixing up which digit is the shift and which is the year.
Solved Questions: Using a Key
Question 4
In a junior college in Pune, every student code is written like SC22-B-117. The first two letters are the stream (AR: Arts, CM: Commerce, SC: Science). The two digits after them are the year of admission (22 means 2022). The letter after the first hyphen is the division, and the last three digits are the roll number in that division.
How many of the following students are in the Commerce stream and were admitted in 2024?
- CM24-A-108
- CM23-B-124
- SC24-C-131
- CM24-D-102
- AR24-A-119
- CM24-B-146
(a) 3 (b) 2 (c) 4 (d) 5
Answer. First turn the question into a key: Commerce is CM and 2024 is 24, so the code must start with CM24. Now read only the first four characters of each code: CM24, CM23, SC24, CM24, AR24, CM24. Codes 1, 4 and 6 start with CM24. Code 2 has a 24 later on, but that is part of its roll number, and its year is 23. So the answer is (a) 3.
Question 5
Post offices in Goa give every article they book a code such as PNJ-P-4123. The first three letters are the booking office (MPS: Mapusa, MRG: Margao, PNJ: Panaji, VSC: Vasco). The single letter is the kind of article (D: document, L: letter, P: parcel). Of the four digits, the first is the counter number (1 to 4) and the last three are the serial number.
Which two articles were booked at the same office?
- VSC-P-1407
- MRG-L-2318
- PNJ-D-3254
- VSC-D-4062
- MPS-L-2190
(a) 2 and 5 (b) 1 and 4 (c) 3 and 4 (d) 1 and 3
Answer. The question is only about the office, so read just the first three letters: VSC, MRG, PNJ, VSC, MPS. VSC comes twice, in codes 1 and 4. Codes 2 and 5 look alike, as both are letters from counter 2, but one was booked at Margao and the other at Mapusa. So the answer is (b) 1 and 4.
Question 6
In a group of schools in Jaipur, every staff code is written like SCI-T-1507. The three letters are the subject or work (HIN: Hindi, MAT: Mathematics, OFF: Office, SCI: Science). The single letter is T for a teacher and N for non-teaching staff. Of the four digits, the first two are the year of joining (15 means 2015) and the last two are the staff number.
Which of the following is the code of a non-teaching staff member who joined in 2017?
(a) HIN-T-1711 (b) OFF-N-1704 (c) OFF-N-0717 (d) SCI-N-2017
Answer. The key is N for the single letter and 17 in the first two digit places. Option (a) has 17 in the right place, but T means a teacher. Option (c) is N, but its year digits are 07, so that person joined in 2007. Option (d) shows 2017 as a whole, which is tempting. By the rule, though, its year is 20, and 17 is just the staff number. Option (b) has N and then 17 in the year places. So the answer is (b) OFF-N-1704.
Question 7
In a college library in Satara, every book code has three parts joined by hyphens, such as ECO-19-0457. The letters are the subject (ECO: Economics, ENG: English, HIS: History, MAR: Marathi). The two digits in the middle are the year the book was bought (19 means 2019). The last four digits are the serial number.
How many of the following are History books bought in 2021?
- HIS-21-0384
- HIS-12-2104
- ENG-21-0912
- HIS-21-1150
- HIS-20-2121
- HIS-21-0216
(a) 3 (b) 4 (c) 2 (d) 1
Answer. The key is HIS in the first part and 21 in the middle part. Mark the middle part of every code first: 21, 12, 21, 21, 20, 21. Codes 1, 3, 4 and 6 have 21 there. Of these, code 3 is an English book, so it drops out. Codes 2 and 5 have 21 inside the serial number, but that place does not tell the year. Three books fit. So the answer is (a) 3.
The Question Shapes
Code questions come in four main shapes. Each needs a slightly different way of working.
Which code fits a group
The group is described in words, such as "a clerk of the Pune office who joined in 2021". Turn it into a key with one entry for each part: office, job, year. Then test each option against every part. The right option fits all of them. The wrong options are usually built to fit all but one.
How many codes in a list fit
You get five to seven codes and one or more conditions. Check every code against every condition, and tick it only when all the conditions hold. Then count the ticks. Do not stop early, because the count needs the whole list.
Which two codes share a part
For "Which two candidates are at the same centre?", write down only the centre part of each code. The value that repeats gives the pair. If the question asks for two parts at once, such as the same centre and the same shift, the pair must match in both. A pair that matches in only one part is a trap.
Which code breaks the rule
Here the rule fixes the shape of the code: how many letters and digits, the order of the parts, and the values allowed in each part. Exactly one code fails. Check in this order:
- Length: count the letters and digits in each part.
- Order: is every part where the rule puts it?
- Values: is every value one the rule allows, such as a shift of 1 or 2, or a centre from the list?
The code that fails any one of these is the answer, even if it looks neat.
Solved Questions: The Four Shapes
Question 8
In a municipal office in Rajkot, every complaint file is numbered like W14-R-207. W and the two digits after it give the ward number. The letter after the first hyphen is the kind of complaint (D: drainage, L: streetlight, R: road). The last three digits are the serial number.
Which of the following file numbers does NOT follow the rule?
(a) W21-D-315 (b) W08-L-142 (c) W17-R-031 (d) W9-R-260
Answer. Check the shape part by part: W and two digits, a hyphen, one of D, L or R, a hyphen, and three digits. W21-D-315 fits. W08-L-142 fits as well, because 08 is two digits. W17-R-031 fits too, since 031 is three digits. W9-R-260 has only one digit after the W, so its ward part is too short. So the answer is (d) W9-R-260.
Question 9
The state scholarship cell in Gandhinagar numbers every application like SCH-22-RJK-0417. SCH stands for scholarship. The two digits after it are the year of applying (22 means 2022). The three letters after that are the district (AMD: Ahmedabad, BVN: Bhavnagar, RJK: Rajkot, VDR: Vadodara). The last four digits are the serial number.
Which two applications are from the same district?
- SCH-24-AMD-0872
- SCH-23-VDR-1146
- SCH-23-AMD-1458
- SCH-23-RJK-0915
- SCH-24-BVN-1320
(a) 2 and 4 (b) 1 and 5 (c) 2 and 3 (d) 1 and 3
Answer. The question is about the district only, so read the three letters after the year: AMD, VDR, AMD, RJK, BVN. AMD comes twice, in codes 1 and 3. Their years are different, 2024 and 2023, but the question does not ask about the year. Codes 1 and 5 share a year, and that is the trap here. So the answer is (d) 1 and 3.
Question 10
In a cooperative bank in Surat, every employee code has three letters, a hyphen and four digits, such as ADJ-2185. The letters are the branch (ADJ: Adajan, UDN: Udhna, VRC: Varachha). The first digit is the department (1: Loans, 2: Deposits, 3: Cash). The second and third digits are the year of joining (18 means 2018). The last digit is the desk number.
How many of the following employees work in the Loans department and joined in 2019?
- VRC-1194
- UDN-2192
- ADJ-1196
- VRC-1214
- UDN-1189
- ADJ-2119
(a) 2 (b) 3 (c) 4 (d) 1
Answer. Write the key: Loans is 1 in the first digit place, and 2019 is 19 in the second and third places. So the code must have 119 right after the hyphen. Code 1, VRC-1194, has 119: yes. Code 2 starts with 2: no. Code 3, ADJ-1196: yes. Code 4 has 21 as its year: no. Code 5, UDN-1189, is Loans, but its year is 18: no. Code 6, ADJ-2119, has 19 at the end, but its department is 2 and its year is 11: no. Two codes fit. So the answer is (a) 2.
Question 11
For a recruitment test in Maharashtra, every roll number has three letters, a hyphen and five digits, such as KOP-21047. The letters are the centre, and there are three centres: KOP for Kolhapur, NSK for Nashik and PNE for Pune. The first digit is the shift: 1 for morning, 2 for afternoon. The second digit is the hall number, and the last three digits are the seat number.
How many of the following candidates will sit in hall 3 of the Nashik centre in the morning shift?
- NSK-13072
- NSK-23045
- PNE-13119
- NSK-13208
- NSK-11334
- KOP-13156
(a) 1 (b) 2 (c) 3 (d) 4
Answer. Write the group as a key: NSK, shift 1, hall 3. So the code must begin NSK-13. Code 1, NSK-13072: yes. Code 2 begins NSK-23, the afternoon shift: no. Code 3 is from Pune and code 6 from Kolhapur, though both have 13 after the hyphen: no. Code 4, NSK-13208: yes. Code 5, NSK-11334, has plenty of 1s and 3s, but its hall is 1: no. Two candidates fit. So the answer is (b) 2.
Habits for Speed
Code questions reward a steady routine more than quick eyes. These habits keep you fast without slips.
Mark the asked part first
Before you test anything, find the one or two parts the question is about. Then, in every code, put a small line under just those parts. If the question is about the year, underline the year places in every code and ignore the rest. Your eyes then go straight to the digits that matter.
One condition at a time
With two conditions, go down the list once for the first condition and strike out the codes that fail. Then go down what is left for the second condition. This is quicker and safer than holding both conditions in your head for every code.
Start with the part that removes the most
If one condition is a single letter or digit and the other is a longer part, check the short one first. A glance at one place in each code can strike out half the list.
Same place in every code
Codes in a list have the same shape, so the part you want sits in the same place in every one. Keep your pencil at that place and move straight down the list.
Time
Aim for 30–40 seconds. A count question with seven codes may need the full 40, and a question with four options to test should be nearer 30.
[SSC Tip] With +2 for a right answer and −0.5 for a wrong one, a careful count is worth the extra ten seconds. A wrong answer here usually comes from one code read in a hurry, not from a difficult rule.
Solved Questions: Working Fast
Question 12
In a district office in Bikaner, every file number has three parts joined by slashes, such as REV/2023/1182. The letters are the section (ACC: Accounts, EST: Establishment, REV: Revenue). The middle part is the year the file was opened. The last part is the four-digit serial number of the file.
How many files in the list belong to the Accounts section and were opened before 2022?
- ACC/2021/1047
- REV/2021/1309
- ACC/2023/1215
- EST/2020/1188
- REV/2022/1452
- ACC/2020/1376
- EST/2023/1061
(a) 1 (b) 2 (c) 3 (d) 4
Answer. Mark the first part of every code before anything else, and keep only the ACC files: codes 1, 3 and 6. Now read only their middle parts: 2021, 2023 and 2020. Before 2022 means 2021 or earlier, so 2021 and 2020 count and 2023 does not. Two files fit.
Time check: by marking the section first, you read three years instead of seven.
So the answer is (b) 2.
Question 13
In a junior college in Pune, every student code is written like CM21-D-130. The first two letters are the stream (AR: Arts, CM: Commerce, SC: Science). The two digits after them are the year of admission (21 means 2021). The letter after the first hyphen is the division, and the last three digits are the roll number in that division.
Which two students are in the same stream and the same division?
- AR25-C-105
- SC25-A-142
- AR25-A-117
- SC25-A-109
- CM25-C-121
(a) 1 and 3 (b) 1 and 5 (c) 2 and 4 (d) 3 and 4
Answer. All five were admitted in 2025, so the year does not help. Read only the stream letters and the division letter: AR C, SC A, AR A, SC A, CM C. Codes 1 and 3 are both Arts, but in divisions C and A. Codes 1 and 5 are both in division C, but in different streams. Codes 2 and 4 are both Science, division A. Code 3 is in division A too, but it is Arts. So the answer is (c) 2 and 4.
Question 14
In a college library in Satara, every book code has three parts joined by hyphens, such as ENG-22-1035. The letters are the subject (ECO: Economics, ENG: English, HIS: History, MAR: Marathi). The two digits in the middle are the year the book was bought (22 means 2022). The last four digits are the serial number.
Which of the following is a Marathi book bought in 2018?
(a) MAR-81-0418 (b) ENG-18-0533 (c) MAR-16-1803 (d) MAR-18-0726
Answer. The key is MAR and then 18 in the middle part. Option (b) is an English book. Option (a) has 81 in the middle, which is 18 the wrong way round. Option (c) has 18 only inside its serial number, and its year is 16. Option (d) has MAR and 18 in the right places.
Time check: two places to read in each option, so this should take about 30 seconds.
So the answer is (d) MAR-18-0726.
Question 15
In a group of schools in Jaipur, every staff code is written like SCI-T-1507. The three letters are the subject or work (HIN: Hindi, MAT: Mathematics, OFF: Office, SCI: Science). The single letter is T for a teacher and N for non-teaching staff. Of the four digits, the first two are the year of joining (15 means 2015) and the last two are the staff number.
How many of the following staff members are teachers who joined in 2016?
- HIN-T-1603
- MAT-T-1316
- SCI-N-1608
- MAT-T-1612
- SCI-T-1621
- HIN-T-1619
(a) 4 (b) 3 (c) 5 (d) 2
Answer. Start with the part that removes the most, the single letter. Code 3 has N, so it drops out, and the other five are teachers. Now look at the first two digits of those five: 16, 13, 16, 16, 16. Code 2 has 16 only as its staff number, and its year is 13. That leaves codes 1, 4, 5 and 6. So the answer is (a) 4.
Common Mistakes
Wrong options in code questions are usually built in a few set ways. Knowing them makes the checking quicker.
Fits two parts but not the third
The most common wrong option matches the group in every part but one. Say you want a morning-shift candidate at the Ajmer centre in hall 2. Expect options from Ajmer and hall 2 but the afternoon shift, or from the morning shift and hall 2 but another centre. Check every part of every option, even after the first two parts match.
The right digits in the wrong place
If the year you want is 2019, a wrong option may have 19 in its serial number and some other year in the year place. Read by place, never by spotting the digits.
Swapped digits
A year written 81 instead of 18, or a floor and a flat number swapped, looks right at a glance. Read each part in its own order, left to right.
Wrong length
In a "breaks the rule" question, count the characters in each part. A code with four digits where the rule says five, or a one-digit ward number where the rule says two, fails the rule even if every part looks sensible.
Parts in the wrong order
The rule fixes the order of the parts. A code with the year and the district swapped has all the right pieces and the right length, but it still breaks the rule.
A value outside the list
If the rule names three centres, any other letters in the centre place break the rule. The same goes for a shift digit or a type letter that the rule does not list. When the rule gives a list of allowed values, copy it onto your key.
Solved Questions: Common Mistakes
Question 16
In a cooperative bank in Surat, every employee code has three letters, a hyphen and four digits, such as ADJ-2185. The letters are the branch (ADJ: Adajan, UDN: Udhna, VRC: Varachha). The first digit is the department (1: Loans, 2: Deposits, 3: Cash). The second and third digits are the year of joining (18 means 2018). The last digit is the desk number.
Which of the following codes does NOT follow the rule?
- UDN-2234
- VRC-31175
- ADJ-1225
- VRC-2168
- UDN-3152
(a) UDN-2234 (b) ADJ-1225 (c) VRC-31175 (d) UDN-3152
Answer. The rule fixes the shape: three letters, a hyphen and four digits. Count the digits in each code first. UDN-2234, ADJ-1225, VRC-2168 and UDN-3152 have four each. VRC-31175 has five. It starts with 3, a real department, and VRC is a real branch, so it looks fine at a glance, but it is one digit too long. So the answer is (c) VRC-31175.
Question 17
Post offices in Goa give every article they book a code such as PNJ-P-4123. The first three letters are the booking office (MPS: Mapusa, MRG: Margao, PNJ: Panaji, VSC: Vasco). The single letter is the kind of article (D: document, L: letter, P: parcel). Of the four digits, the first is the counter number (1 to 4) and the last three are the serial number.
Which of the following is a parcel booked at Margao at counter 3?
(a) MRG-L-3217 (b) MPS-P-3046 (c) MRG-P-3105 (d) MRG-P-1335
Answer. The key is MRG, then P, then 3 as the first digit. Test every part of every option. Option (a) is Margao and counter 3, but L means a letter. Option (b) is a parcel from counter 3, but MPS is Mapusa. Option (d) is a Margao parcel, but its counter is 1, and its 3s come later, in the serial number. Each of these fits two parts and fails the third. Only option (c) fits all three. So the answer is (c) MRG-P-3105.
Question 18
The state scholarship cell in Gandhinagar numbers every application like SCH-24-BVN-0581. SCH stands for scholarship. The two digits after it are the year of applying (24 means 2024). The three letters after that are the district (AMD: Ahmedabad, BVN: Bhavnagar, RJK: Rajkot, VDR: Vadodara). The last four digits are the serial number.
Which of the following application numbers does NOT follow the rule?
(a) SCH-22-RJK-0634 (b) SCH-VDR-22-0791 (c) SCH-22-AMD-1207 (d) SCH-21-BVN-0458
Answer. All four options have the same pieces and the same length, so here the order of the parts decides. The rule says SCH, then the year, then the district, then the serial number. SCH-VDR-22-0791 has the district before the year. Each piece is a real value, but two of them have changed places. So the answer is (b) SCH-VDR-22-0791.