Number Systems & Codes
Asked in real papers: 3 questions in 3 official papers (Kerala PSC Accountant 2025; Kerala PSC LD Typist / Typist 2023; Kerala PSC LD Clerk / Clerk 2022), last asked 2025.
Kerala PSC Accountant 2025 · Q85 Kerala PSC LD Typist / Typist 2023 · Q35 Kerala PSC LD Clerk / Clerk 2022 · Q82
Only real questions from official papers carry this tag; our practice questions never do.
Computers store everything as binary (base 2). Questions ask you to convert between binary, octal (base 8), decimal (base 10) and hexadecimal (base 16), add binary numbers, find two's complements and read character codes (ASCII, Unicode).
What should you know about Number Systems & Codes?
- Decimal to binary: divide by 2 again and again and read the remainders from bottom to top (13 → 1101).
- Binary to decimal: add the place values of the 1s: 1101 = 8 + 4 + 1 = 13.
- 1 to 4 bytes: UTF-8 is variable-length: English letters take 1 byte, Devanagari letters 3 bytes; UTF-32 always uses 4 bytes.
- 16: Hexadecimal uses 16 symbols: 0–9 and A–F.
- 65: A = 65, a = 97, digit 0 = 48. Small letters are 32 more than capital letters.
- 15: A=10, B=11, C=12, D=13, E=14, F=15.
What are the shortcuts for Number Systems & Codes questions?
- Group binary digits in 3s for octal and in 4s for hexadecimal, starting from the right.
- ASCII codes: "A" = 65, "a" = 97, "0" = 48; capital and small letters differ by 32.
- The three wrong options are always of the same kind as the answer (four Articles, four years, four names). Recall one firm fact about each option and strike out the ones you are sure of.
How do you solve Number Systems & Codes questions? Worked examples
Example 1
How many different digits does the decimal number system use?
Options: 10; 16; 2; 8
Solution
Decimal (base 10) uses the digits 0 to 9.
Answer: 10
Example 2
Which encoding standard gives a unique number to every character of almost every language in the world?
Options: ASCII; BCD; ISCII; Unicode
Solution
Unicode provides a unique number for every character, whatever the platform, program or language.
Answer: Unicode
What mistakes should you avoid in Number Systems & Codes?
- In hexadecimal, A to F stand for 10 to 15; "10" in hexadecimal is sixteen, not ten.
- Read the question word carefully: NOT, FIRST, LAST, "correct" and "incorrect" turn the answer around.
Sources: NCERT Computer Science, Classes 11-12
Number Systems & Codes question book: practice each sub-topic
- Number Systems & Codes
Question book · 1 chapters
Number Systems & Codes
What is the 8-bit 2's complement representation of −68?
Solution
- 68 in 8 bits = 01000100
- Invert every bit (1's complement): 10111011
- Add 1: 10111011 + 1 = 10111100
- Check: 256 − 68 = 188 = (10111100)₂.
Source: NCERT Computer Science, Class XI, Chapter 2 "Encoding Schemes and Number System", https://ncert.nic.in/textbook.php?kecs1=2-11
Open the book to turn the pages: every question with its answer and full solution.
Ready? Take a mock: fresh questions every time, each with a step-by-step solution.