---
title: "Number System Class 11 Computer Science: Conversions, Logic"
description: "Number system Class 11 computer science: binary, octal, decimal and hexadecimal conversion worked, Boolean logic and circuits, 40 questions with answers."
canonical: https://learn.modernagecoders.com/cbse-class-11-number-system-conversion
source: src/pages/cbse-class-11-number-system-conversion.html
---
> Number system Class 11 computer science: binary, octal, decimal and hexadecimal conversion worked, Boolean logic and circuits, 40 questions with answers.

Start here

## Where this topic sits in a course

Number systems come early in the Class 11 course. The other two build on the same thinking: Python, where you write the conversions as programs, and databases, where AND, OR and NOT return inside queries.

[![Computer Science Class 11 and 12 course thumbnail](/images/ip-cs-class-11-12.webp)  Unit 1 and after Computer Science Class 11 and 12 Two years of the subject, joinable in any month. The CBSE track takes this unit and then moves into Python. Open the course →](/courses/cbse-icse-computer-science-class-11-12-python-java-complete-course)[![Python for Teens course thumbnail](/images/python-teens.webp)  Loops and remainders Python for Teens The division method is a while loop with % and //. Learn to program and the method checks itself. Open the course →](/courses/python-complete-masterclass-teens)[![MySQL for Teens course thumbnail](/images/mysql-teens.webp)  Logic in use MySQL for Teens A WHERE clause with AND, OR and NOT is a Boolean expression tested on every row of a table. Open the course →](/courses/mysql-mastery-for-teens)

Ans. The short version

The number system topic in Class 11 computer science covers binary (base 2), octal (base 8), decimal (base 10) and hexadecimal (base 16), and conversion between them. To reach decimal, add digit times place value. To leave decimal, divide the whole part by the base and read remainders upwards; multiply the fraction part and read whole parts downwards. Between binary and octal or hexadecimal, group bits in threes or fours. Modern Age Coders teaches this with Boolean logic live, personalised one to one at your own timing, and a priority demo is the way to try a full class.

Q1. What are the four bases?

## What is a number system? Binary, octal, decimal and hexadecimal in Class 11

A number system is a way of writing numbers with a fixed set of digits, and the count of digits is its base. The digit on the left of another is worth one more power of the base.

| System | Base | Digits | Place values near the point |
| --- | --- | --- | --- |
| Binary | 2 | 0 and 1 | 8, 4, 2, 1 . 1/2, 1/4, 1/8 |
| Octal | 8 | 0 to 7 | 512, 64, 8, 1 . 1/8, 1/64 |
| Decimal | 10 | 0 to 9 | 1000, 100, 10, 1 . 1/10, 1/100 |
| Hexadecimal | 16 | 0 to 9, then A to F | 4096, 256, 16, 1 . 1/16 |

In hexadecimal A is 10, B is 11, C is 12, D is 13, E is 14 and F is 15. A digit can never equal or exceed its base, so 8 is not an octal digit and 2 is not a binary one. That single rule answers most "find the invalid number" questions.

Computers use binary because a circuit has two dependable states. Octal and hexadecimal are for people: one octal digit stands for exactly three bits and one hexadecimal digit for exactly four, so a long row of bits becomes short enough to read aloud.

| Decimal | Binary | Octal | Hex |
| --- | --- | --- | --- |
| 0 | 0000 | 0 | 0 |
| 1 | 0001 | 1 | 1 |
| 2 | 0010 | 2 | 2 |
| 3 | 0011 | 3 | 3 |
| 4 | 0100 | 4 | 4 |
| 5 | 0101 | 5 | 5 |
| 6 | 0110 | 6 | 6 |
| 7 | 0111 | 7 | 7 |
| 8 | 1000 | 10 | 8 |
| 9 | 1001 | 11 | 9 |
| 10 | 1010 | 12 | A |
| 11 | 1011 | 13 | B |
| 12 | 1100 | 14 | C |
| 13 | 1101 | 15 | D |
| 14 | 1110 | 16 | E |
| 15 | 1111 | 17 | F |

Learn this table once. The binary column counts by itself: the last bit flips on every row, the one before it on every second row, then every fourth and every eighth.

Method 1. Any base to decimal

## How do you convert binary, octal or hexadecimal to decimal?

Multiply each digit by its place value and add the products. The place values are powers of the base: they start at 1 just left of the point and become fractions to its right.

| Place values | Add | Result |
| --- | --- | --- |
| 256, 128, 64, 32, 16, 8, 4, 2, 1 | 256 + 32 + 8 + 4 + 1 | (100101101)2 = (301)10 |
| 64, 8, 1 | 5 x 64 + 1 x 8 + 6 x 1 = 320 + 8 + 6 | (516)8 = (334)10 |
| 256, 16, 1 | 2 x 256 + 12 x 16 + 7 = 512 + 192 + 7 | (2C7)16 = (711)10 |
| 8, 4, 2, 1 . 0.5, 0.25, 0.125 | 8 + 2 + 1 + 0.25 + 0.125 | (1011.011)2 = (11.375)10 |
| 8, 1 . 0.125 | 7 x 8 + 3 + 2 x 0.125 = 56 + 3 + 0.25 | (73.2)8 = (59.25)10 |

### Write the powers first

Put them in a row above the digits before doing any multiplication. Most wrong answers come from starting the powers at the base and not at 1.

### Letters become numbers

Replace C by 12 on paper, with a bracket, before you multiply. 12 x 16 is easy; C x 16 invites a slip.

### Keep the base in the answer

Write (301)10 and not just 301. A number without a base is an incomplete answer in this topic.

Method 2. Decimal to any base

## How do you convert decimal to binary, octal and hexadecimal?

Divide the whole part by the new base again and again, keep the remainders, and read them from the last to the first. For the fraction part multiply by the base, keep the whole parts, and read them from the first to the last.

### 298 to binary, by 2

| Divide | Quotient | Remainder |
| --- | --- | --- |
| 298 | 149 | 0 |
| 149 | 74 | 1 |
| 74 | 37 | 0 |
| 37 | 18 | 1 |
| 18 | 9 | 0 |
| 9 | 4 | 1 |
| 4 | 2 | 0 |
| 2 | 1 | 0 |
| 1 | 0 | 1 |

Upwards: (298)10 = (100101010)2.

### 298 to octal, by 8

| Divide | Quotient | Remainder |
| --- | --- | --- |
| 298 | 37 | 2 |
| 37 | 4 | 5 |
| 4 | 0 | 4 |

Upwards: (298)10 = (452)8.

### 298 to hexadecimal, by 16

| Divide | Quotient | Remainder |
| --- | --- | --- |
| 298 | 18 | 10, so A |
| 18 | 1 | 2 |
| 1 | 0 | 1 |

Upwards: (298)10 = (12A)16.

### The fraction 0.40625, by 2

| Multiply | Product | Whole part |
| --- | --- | --- |
| 0.40625 | 0.8125 | 0 |
| 0.8125 | 1.625 | 1 |
| 0.625 | 1.25 | 1 |
| 0.25 | 0.5 | 0 |
| 0.5 | 1.0 | 1 |

Downwards: (0.40625)10 = (0.01101)2. Stop when the fraction left is 0.

By 8 it takes two steps (3.25, then 2.0) and gives (0.40625)10 = (0.32)8. By 16: 6.5, then 8.0, so (0.40625)10 = (0.68)16.

### A number with both parts

Convert the two parts separately and join them at the point. For 26.375: the whole part gives (26)10 = (11010)2 by division, the fraction gives (0.375)10 = (0.011)2 by multiplication, so (26.375)10 = (11010.011)2. The same number is (32.3)8 and (1A.6)16.

### When the fraction never ends

0.1 in binary begins 0.000110011001 and goes on repeating 0011 for ever. If the question does not say how many places, write four or five and put dots after them. This is also why `0.1 + 0.2` in Python is not exactly 0.3.

***Check homework in Python**interactive mode*

```
>>> int("2C7", 16)
711
>>> bin(298), oct(298), hex(298)
('0b100101010', '0o452', '0x12a')
>>> 0.1 + 0.2
0.30000000000000004
```

The prefixes 0b, 0o and 0x only name the base; leave them out of a written answer. These four functions work on whole numbers, and they are for checking: an exam answer needs the steps.

A quick sum for any answer: convert it back. Two minutes of Method 1 proves a Method 2 answer right or wrong.

Method 3. Binary, octal and hexadecimal

## How do you convert between binary, octal and hexadecimal without decimal?

Group the bits: three for each octal digit, four for each hexadecimal digit. Start at the point and move outwards, adding zeros at the far ends to complete a group.

| Groups of bits | Result |
| --- | --- |
| 011 010 110 011 | (11010110011)2 = (3263)8 |
| 0110 1011 0011 | (11010110011)2 = (6B3)16 |
| 001 101 110 . 010 100 | (1101110.0101)2 = (156.24)8 |
| 0110 1110 . 0101 | (1101110.0101)2 = (6E.5)16 |
| 1110 0101 . 0110 | (E5.6)16 = (11100101.011)2 |
| 0100 1011 0111, then 010 010 110 111 | (4B7)16 = (2267)8 |

### All twelve conversions on one card

| From and to | Method |
| --- | --- |
| Binary, octal or hex to decimal | Place values, added (3 kinds) |
| Decimal to binary, octal or hex | Divide and multiply by the new base (3 kinds) |
| Binary to octal; binary to hex | Groups of 3; groups of 4 |
| Octal to binary; hex to binary | 3 bits a digit; 4 bits a digit |
| Octal to hex; hex to octal | Through binary, then regroup |

After the point the zeros go on the right, never on the left: 0101 becomes 010 100 and not 001 01. Before the point they go on the left. Getting the side wrong changes the number.

Between octal and hexadecimal, binary is the bridge: spread the digits into bits, regroup, read off. Going through decimal also works, with more arithmetic to get wrong.

Q2. What is Boolean logic?

## Boolean logic for Class 11 computer science: gates, truth tables and De Morgan

Boolean logic works with two values, 0 (false) and 1 (true), and combines them with NOT, AND, OR, NAND, NOR and XOR. A truth table lists the result for every combination of inputs: two variables need 4 rows, three need 8.

| Gate | Written | Output is 1 when | Output is 0 when |
| --- | --- | --- | --- |
| NOT | A' | the input is 0 | the input is 1 |
| AND | A . B | every input is 1 | any input is 0 |
| OR | A + B | any input is 1 | every input is 0 |
| NAND | (A . B)' | any input is 0 | every input is 1 |
| NOR | (A + B)' | every input is 0 | any input is 1 |
| XOR | A XOR B | the two inputs differ | the two inputs match |

**Order of work:** brackets, then NOT, then AND, then OR. So A + B . C means A + (B . C), and A . B' means A . (B'), which is not the same as (A . B)'.

### XOR built from the other three

| A | B | A.B' | A'.B | A.B' + A'.B | A XOR B |
| --- | --- | --- | --- | --- | --- |
| 0 | 0 | 0 | 0 | 0 | 0 |
| 0 | 1 | 0 | 1 | 1 | 1 |
| 1 | 0 | 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 0 | 0 | 0 |

The last two columns agree on every row, so they are the same function.

### From a sentence to a truth table

"The library door opens if the card is valid and there are no dues, or if the librarian uses the key." Let C be card valid, D be dues pending, K be key used. The door is C . D' + K.

| C | D | K | D' | C.D' | C.D' + K |
| --- | --- | --- | --- | --- | --- |
| 0 | 0 | 0 | 1 | 0 | 0 |
| 0 | 0 | 1 | 1 | 0 | 1 |
| 0 | 1 | 0 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 | 0 | 1 |
| 1 | 0 | 0 | 1 | 1 | 1 |
| 1 | 0 | 1 | 1 | 1 | 1 |
| 1 | 1 | 0 | 0 | 0 | 0 |
| 1 | 1 | 1 | 0 | 0 | 1 |

Build one column for each step and never jump to the final one. Here the door opens in 5 rows out of 8.

### De Morgan's laws, with three variables

| A | B | C | (A.B.C)' | A' + B' + C' |
| --- | --- | --- | --- | --- |
| 0 | 0 | 0 | 1 | 1 |
| 0 | 0 | 1 | 1 | 1 |
| 0 | 1 | 0 | 1 | 1 |
| 0 | 1 | 1 | 1 | 1 |
| 1 | 0 | 0 | 1 | 1 |
| 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 0 | 1 | 1 |
| 1 | 1 | 1 | 0 | 0 |

**First law:** the NOT of an AND is the OR of the NOTs, (A . B)' = A' + B'. **Second law:** the NOT of an OR is the AND of the NOTs, (A + B)' = A' . B'. The table shows the first law holding for three variables.

In words: "not (hot and humid)" means "not hot, or not humid". To use a law, put a NOT on every part, change the sign between them, and remove the NOT from outside.

**Worked:** simplify (X' + Y . Z)'. It is X . (Y . Z)', and the bracket becomes Y' + Z', so the answer is X . (Y' + Z'). Two uses of the law, one line each.

Gate symbols and the two-variable proof are on [the Class 11 notes page](/cbse-class-11-computer-science-notes), and [logic gates for beginners](/blog/logic-gates-for-beginners) goes further, to a circuit that adds.

Q3. How do you read and draw a logic circuit?

## Logic circuits in Class 11: from drawing to expression and back

To read a circuit, start at the inputs and write the output of each gate on its wire until you reach the end. To draw one, count the operators in the expression and place one gate for each, brackets first.

### Read this one

X is the NAND of P and Q, so X = (P . Q)'. Y is R'. The OR gate joins them: F = (P . Q)' + R'. By De Morgan that equals (P . Q . R)', one NAND gate with three inputs.

| P | Q | R | (P.Q)' | R' | (P.Q)' + R' |
| --- | --- | --- | --- | --- | --- |
| 0 | 0 | 0 | 1 | 1 | 1 |
| 0 | 0 | 1 | 1 | 0 | 1 |
| 0 | 1 | 0 | 1 | 1 | 1 |
| 0 | 1 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 1 | 1 |
| 1 | 0 | 1 | 1 | 0 | 1 |
| 1 | 1 | 0 | 0 | 1 | 1 |
| 1 | 1 | 1 | 0 | 0 | 0 |

### Draw Y = (A + B') . C

Three operators, so three gates: NOT on B, OR for the bracket, AND with C at the end. Label every input and the output, so that the drawing can be read without the question beside it.

| A | B | C | A + B' | (A + B').C |
| --- | --- | --- | --- | --- |
| 0 | 0 | 0 | 1 | 0 |
| 0 | 0 | 1 | 1 | 1 |
| 0 | 1 | 0 | 0 | 0 |
| 0 | 1 | 1 | 0 | 0 |
| 1 | 0 | 0 | 1 | 0 |
| 1 | 0 | 1 | 1 | 1 |
| 1 | 1 | 0 | 1 | 0 |
| 1 | 1 | 1 | 1 | 1 |

Y is 1 in three rows. Test a drawing by sending one of those rows through it with a pencil.

Q4. Practice with answers

## Class 11 computer science number system conversion questions, with Boolean logic: 40 in five sets

Cover the answers, write the steps, then open them. A fair pace is two minutes for a conversion and five for a truth table. Every answer has been recomputed by a program.

### Set A. To decimal

1. Convert (110101)2. Answer 32 + 16 + 4 + 1: (110101)2 = (53)10
2. Convert (10011011)2. Answer 128 + 16 + 8 + 2 + 1: (10011011)2 = (155)10
3. Convert (1010.01)2. Answer 8 + 2 + 0.25: (1010.01)2 = (10.25)10
4. Convert (347)8. Answer 192 + 32 + 7: (347)8 = (231)10
5. Convert (62.4)8. Answer 48 + 2 + 4/8: (62.4)8 = (50.5)10
6. Convert (2BE)16. Answer 512 + 176 + 14: (2BE)16 = (702)10
7. Convert (A9.8)16. Answer 160 + 9 + 8/16: (A9.8)16 = (169.5)10
8. Which is larger, (11111111)2 or (377)8? Answer Neither: (11111111)2 = (377)8, and both are 255 in decimal.

### Set B. From decimal

1. (74)10 to binary. Answer (74)10 = (1001010)2
2. (200)10 to binary. Answer (200)10 = (11001000)2
3. (19.75)10 to binary. Answer (19.75)10 = (10011.11)2
4. (0.6875)10 to binary. Answer (0.6875)10 = (0.1011)2
5. (500)10 to octal. Answer (500)10 = (764)8
6. (1023)10 to octal. Answer (1023)10 = (1777)8
7. (2026)10 to hexadecimal. Answer (2026)10 = (7EA)16
8. (44.5)10 to hexadecimal. Answer (44.5)10 = (2C.8)16

### Set C. By grouping

1. (11100101)2 to octal. Answer 011 100 101: (11100101)2 = (345)8
2. (1101111010)2 to hexadecimal. Answer 0011 0111 1010: (1101111010)2 = (37A)16
3. (7206)8 to binary. Answer (7206)8 = (111010000110)2
4. (C3F)16 to binary. Answer (C3F)16 = (110000111111)2
5. (10110.101)2 to octal. Answer 010 110 . 101: (10110.101)2 = (26.5)8
6. (10110.101)2 to hexadecimal. Answer 0001 0110 . 1010: (10110.101)2 = (16.A)16
7. (3D)16 to octal. Answer 111 101: (3D)16 = (75)8
8. (527)8 to hexadecimal. Answer 1 0101 0111: (527)8 = (157)16

### Set D. Think before you convert

1. Which of these cannot be octal: 705, 681, 111? Answer 681, since 8 is not an octal digit.
2. Which of these cannot be hexadecimal: BAD, FACE, EGG? Answer EGG. G would be 16, and the digits stop at F.
3. Arrange in ascending order: (101101)2, (54)8, (2F)16, (46)10. Answer They are 45, 44, 47 and 46, so the order is octal, binary, decimal, hexadecimal.
4. In (3x)16 = (60)10, what is x? Answer 60 - 48 = 12, so x is C.
5. A number written 121 in some base is 81 in decimal. Which base? Answer 8, because 64 + 16 + 1 = 81. The largest digit, 2, allows it.
6. What is the largest number 8 bits can hold, in three bases? Answer (11111111)2 = (255)10, and (255)10 = (FF)16.
7. How many bits does a four-digit hexadecimal number need at most, and how many does a four-digit octal number need? Answer 16 and 12.
8. A student wrote 0.6875 in binary as 0.1101. What went wrong? Answer The whole parts 1, 0, 1, 1 were read upwards. A fraction is read downwards: 0.1011.

### Set E. Boolean logic and circuits

1. Evaluate A . (B + C)' for A = 1, B = 0, C = 1. Answer 0. B + C is 1, its NOT is 0, and 1 . 0 is 0.
2. Write the output column of A' + B for rows 00, 01, 10, 11. Answer 1, 1, 0, 1
3. Apply De Morgan to (P' . Q)'. Answer P + Q'
4. Which gate gives 1 only when both inputs are 0? Answer NOR
5. Show that (A + B) . (A' + B') is XOR. Answer

  | A | B | A + B | A' + B' | (A + B).(A' + B') |
  | --- | --- | --- | --- | --- |
  | 0 | 0 | 0 | 1 | 0 |
  | 0 | 1 | 1 | 1 | 1 |
  | 1 | 0 | 1 | 1 | 1 |
  | 1 | 1 | 1 | 0 | 0 |

  1 only where A and B differ.
6. A NAND gate on A and B feeds an OR gate with C. Write the output and say in how many rows it is 1. Answer (A . B)' + C. It is 0 only for A = 1, B = 1, C = 0, so it is 1 in 7 rows.
7. An alarm rings if the door is open and the key is not turned, or if the panic button is pressed. With D, K and P, write it and find the value for D = 1, K = 1, P = 0. Answer D . K' + P. The value is 0.
8. How many rows has a truth table of four variables, and how many gates does (A + B') . C . D' need if every gate other than NOT has two inputs? Answer 16 rows. Five gates: two NOT, one OR, two AND.

**Marking yourself:** below 30, redo the set you lost most in tomorrow, not today. Full questions in exam style are on [the Class 11 sample paper](/cbse-class-11-computer-science-sample-paper).

**What the 2026-27 syllabus names here:** the four systems and conversion between them, the six gates, truth tables, De Morgan's laws and logic circuits, in a unit of 10 marks that also holds computer organisation, software, the operating system and encoding schemes. Binary addition, complements, K-maps and adders are not named.

Programs that use these loops are in [the practical file](/cbse-class-11-computer-science-practical-file). If you have not settled on the subject yet, compare [CS and IP in Class 11](/computer-science-or-informatics-practices-class-11): the number system belongs to CS only.

One to one, at your own timing

## Learn conversions with someone watching your working

A wrong conversion usually has one wrong line in it, and a teacher who sees you write can point at that line. Classes are personalised one to one at your own days and timing. The priority demo is a paid full class at a slot you pick, with a written skill report, and what you pay is adjusted against month one on enrolling; the free demo class is there too. Billing is monthly, without an admission fee.

Before you enrol · Try a class

### Priority demo, at a slot you pick

a full live class of about 45 to 60 minutes

- Four conversions done aloud, so the weak method shows itself
- That method retaught with a fresh number each time
- One truth table and one circuit finished without help
- A written report that says what to practise and in which order

[Book a priority demo](/book-demo)

The classes · Choose your own timing

### Personalised one to one

₹4,999

per month, 4 private classes, fully flexible timing

- Pace set by your accuracy, not by a chapter count
- Working checked line by line on a shared board
- Each method turned into a short Python program later in the year
- School tests and the annual paper worked into the plan

Ask for a personalised plan

This topic by itself is short. Most families use it as the first weeks of a full Class 11 plan and stay for Python; some come for a few lessons before a unit test and stop at the month end, which is also fine.

Studying outside India?

## Bases and logic for CBSE students abroad

Students at CBSE schools in Doha, Kathmandu or Kuala Lumpur take the same unit. Working is written on a shared board, so a tablet pen helps but paper held to the camera does the job.

| Where you live | Time difference | Usual class window, local time | Format |
| --- | --- | --- | --- |
| India every Indian city | Indian time | Any time you choose | Personalised 1-on-1 |
| UAE and Oman Dubai, Abu Dhabi, Sharjah, Muscat | 1 h 30 min behind India | 3:00 PM to 9:00 PM | Personalised 1-on-1 |
| Saudi Arabia, Qatar, Kuwait, Bahrain Riyadh, Jeddah, Dammam, Doha, Kuwait City, Manama | 2 h 30 min behind India | 3:00 PM to 9:00 PM | Personalised 1-on-1 |
| Nepal Kathmandu | 15 min ahead of India | 4:30 PM to 9:00 PM | Personalised 1-on-1 |
| Ethiopia and East Africa Addis Ababa and East Africa Time | 2 h 30 min behind India | 4:30 PM to 9:00 PM | Personalised 1-on-1 |
| Singapore and Malaysia Singapore, Kuala Lumpur | 2 h 30 min ahead of India | 3:30 PM to 9:00 PM | Personalised 1-on-1 |

For the year as a whole, including Python and the practical, see [Class 11 Computer Science tuition for CBSE](/computer-science-class-11-cbse).

What families say

## Rated 4.9 across 547 Google reviews

Real reviews from real families. We neither write nor commission them.

★★★★★

"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."

Ria Mukherjee

Parent

★★★★★

"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."

Samriddha Mondal

Student

★★★★★

"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."

Vansh Agarwal

Student

★★★★★

"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."

Sonam Oswal

Parent of Dhairya

★★★★★

"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."

Sonu Goyal

Parent

★★★★★

"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."

Ritu Kedia

Parent

The rest of the Class 11 series

## More pages for Class 11 students

Every page in the CBSE Class 11 Computer Science, IP and AI series, grouped by what you need.

### Computer Science 083

- [Class 11 CS practical file](/cbse-class-11-computer-science-practical-file)
- [Class 11 CS project](/cbse-class-11-computer-science-project)
- [Class 11 CS notes](/cbse-class-11-computer-science-notes)
- [Class 11 CS sample paper](/cbse-class-11-computer-science-sample-paper)

### Informatics Practices 065

- [Class 11 IP practical file](/cbse-class-11-informatics-practices-practical-file)
- [Class 11 IP notes](/cbse-class-11-informatics-practices-notes)
- [Class 11 IP sample paper](/cbse-class-11-informatics-practices-sample-paper)

### Artificial Intelligence 843

- [Class 11 AI 843 notes](/cbse-class-11-ai-843-notes)
- [Class 11 AI 843 syllabus and sample paper](/cbse-class-11-ai-843-syllabus-and-sample-paper)

### Choosing the subject

- [CS or IP in Class 11](/computer-science-or-informatics-practices-class-11)

**CBSE Class 12 Computer Science (083):** [Class 12 CS viva questions](/cbse-class-12-computer-science-viva-questions)  [Class 12 CS sample paper practice](/cbse-class-12-computer-science-sample-paper-2026-27)  [Class 12 CS project with source code](/cbse-class-12-computer-science-project-python-mysql)  [Class 12 CS important questions](/cbse-class-12-computer-science-important-questions)

**CBSE Class 12 Informatics Practices (065):** [Class 12 IP practical file](/cbse-class-12-informatics-practices-practical-file)  [Class 12 IP project with source code](/cbse-class-12-informatics-practices-project)  [Class 12 IP sample paper practice](/cbse-class-12-informatics-practices-sample-paper-2026-27)  [Class 12 IP important questions](/cbse-class-12-informatics-practices-important-questions)

**CBSE Class 12 Information Technology (802):** [IT 802 practical and project file](/cbse-class-12-it-802-practical-and-project-file)  [IT 802 Java notes and programs](/cbse-class-12-it-802-java-programs)  [IT 802 notes](/cbse-class-12-it-802-notes)

**ISC Computer Science (868):** [ISC Class 12 CS syllabus 2027](/isc-class-12-computer-science-syllabus-2027)  [ISC Class 12 CS practice paper](/isc-class-12-computer-science-specimen-paper-practice)  [ISC Class 12 practical questions solved](/isc-class-12-computer-science-practical-questions)  [ISC Boolean algebra and K-maps](/isc-class-12-computer-science-boolean-algebra)

**Program lists with output:** [Python programs for Class 11](/blog/python-programs-for-class-11)  [Python project ideas](/blog/python-project-ideas-for-beginners)

Number system questions

## What students ask about number systems and Boolean logic in Class 11

### What is number system in Class 11 computer science?

It is the topic in Unit 1 of CBSE 083 that covers binary, octal, decimal and hexadecimal numbers and conversion between them. A number system has a base, which is how many digits it uses, and each place is worth a power of that base.

### How do I convert binary to decimal in Class 11?

Write powers of 2 above the bits, starting with 1 at the right, and add the powers that stand over a 1. For 110101 they are 32, 16, 4 and 1, so the answer is 53. Bits after the point are worth 0.5, 0.25, 0.125 and so on.

### How do I convert a decimal fraction to binary?

Multiply the fraction by 2, write down the whole part of the product, and carry on with the fraction that is left. Read the whole parts from top to bottom. For 0.6875 they are 1, 0, 1, 1, so the binary is 0.1011. Stop at zero, or after the places asked for.

### Why do we group three bits for octal and four for hexadecimal?

Because 8 is 2 to the power 3 and 16 is 2 to the power 4. Three bits can make exactly eight patterns, one for each octal digit, and four bits can make sixteen, one for each hexadecimal digit. Grouping starts from the point.

### How do I convert octal to hexadecimal directly?

Go through binary. Write each octal digit as three bits, join them, regroup in fours from the point, and read each group as a hexadecimal digit. For 527 in octal, the bits are 101 010 111, which regroup to 1 0101 0111, so the answer is 157 in hexadecimal.

### Is binary addition in the Class 11 CBSE Computer Science syllabus?

It is not named in the 2026-27 document. The syllabus lists the binary, octal, decimal and hexadecimal systems and conversion between them. Your school may teach addition as a useful extra, and it does no harm, but put conversion first.

### How many marks is the number system worth in Class 11 CS?

CBSE gives marks by unit and not by topic. Unit 1, Computer Systems and Organisation, has 10 of the 70 theory marks, and it includes the number system, Boolean logic, encoding schemes, hardware, software and the operating system. The annual paper is set by your school.

### What is Boolean logic in Class 11 computer science?

It is the algebra of two values, 0 and 1. The syllabus names NOT, AND, OR, NAND, NOR and XOR, truth tables, De Morgan’s laws and logic circuits. You should be able to fill a table for an expression, and turn an expression into a circuit and back.

### What are De Morgan’s laws with an example?

The NOT of an AND is the OR of the NOTs, and the NOT of an OR is the AND of the NOTs. For example, not (hot and humid) is the same as not hot or not humid. You can prove either law by comparing two columns of a truth table.

### Does Informatics Practices Class 11 have number systems?

The Class XI IP syllabus for 2026-27 does not name number systems or Boolean logic. Its first unit covers the computer system, memory and software. Conversions and gates belong to Computer Science (083).

### Can I learn only number systems and Boolean logic one to one?

Yes. Classes are personalised, so you can begin with this topic, at your own timing, and stop at a month end or continue into Python. A priority demo, which is a full live class with a written report, is the clearest way to see how much teaching you need.

Start

## Send us the conversion you get wrong

Try set C without looking at the methods. If two or more go wrong, that is a good first topic for a free demo class: you write, the teacher finds the line where it turned.

Prefer to have a full class and something on paper afterwards? The **priority demo** gives you a slot of your choosing and a skill report, and its cost comes off the first month if you join.

[WhatsApp us](https://wa.me/919123366161?text=Hello%20Modern%20Age%20Coders.%20I%20want%20one%20to%20one%20classes%20for%20Class%2011%20number%20system%20and%20Boolean%20logic.) · [+91 91233 66161](tel:+919123366161) · [connect@modernagecoders.com](mailto:connect@modernagecoders.com)

Every class is live video. The form requests a callback and reserves nothing.

### Want it sooner? Book a priority demo

A full live class of about 45 to 60 minutes at a slot you pick, with a written skill report and learning roadmap on WhatsApp afterwards. The fee is adjusted against your first month if you enrol.

[Book a priority demo](/book-demo)

## Keep exploring Modern Age Coders

### By class and age

- [Class 12 Computer Science Case Study Questions 2027](/cbse-class-12-computer-science-case-study-questions)
- [Computer Networks Class 12 Notes: CS 083 Unit 2 for 2027](/cbse-class-12-computer-science-computer-networks)
- [Class 12 Computer Science Crash Course 2027: Live 1-on-1](/cbse-class-12-computer-science-crash-course)
- [Binary File Handling Class 12: Pickle and CSV Programs](/cbse-class-12-computer-science-csv-and-binary-files)
- [Exception Handling Class 12 Computer Science: Notes, Q&A](/cbse-class-12-computer-science-exception-handling)
- [File Handling Class 12 Computer Science: Text File Notes](/cbse-class-12-computer-science-file-handling)
- [Class 11 IP Sample Paper 2026-27 With Solution, 70 Marks](/cbse-class-11-informatics-practices-sample-paper)
- [Coding for Class 4: Scratch, Block Coding & First Python for 9 Year Olds](/coding-for-class-4)
- [Coding for Class 7: Python, JavaScript](/coding-for-class-7)

### Learn more

- [IGCSE Computer Science (0478): Full Syllabus and Exam Prep](/courses/igcse-computer-science-0478-course)
- [AP Computer Science A Practice Questions, With Answers](/ap-computer-science-a-practice-questions)
- [BC Computer Programming 11 and 12, Computer Science 11 Help](/computer-programming-11-and-12-bc)
- [OCR GCSE Computer Science J277 Help](/ocr-gcse-computer-science-j277-help)

### Free resources

- [Python Tutorial for Beginners: Complete Guide](/resources/python)
- [ES6+ Modern JavaScript Features](/resources/javascript/es6-modern-javascript)
- [Modules and Packages in Python](/resources/python/modules-and-packages)
- [Objects and JSON](/resources/javascript/objects-in-javascript)

### From the blog

- [20 Python Programs for CBSE Class 12 Board Exam (083)](/blog/python-programs-for-cbse-class-12)
- [Class 12 CS Practical File 2026-27: Programs With Output](/blog/python-practical-file-class-12)
- [IGCSE 0478 Pseudocode: The Rules Examiners Mark](/blog/igcse-computer-science-0478-pseudocode-guide)

### Start here

- [Book a free demo class with Modern Age Coders](/book-demo)
- [Real projects built by Modern Age Coders students](/student-labs)

---

*Canonical: https://learn.modernagecoders.com/cbse-class-11-number-system-conversion*
