Number System and Conversions NIMCET - CUET Applied Maths
Watch Video
Study smarter with Pi Lens
Get Notes, PYQs, Quiz and more for any Youtube video!

Number System and Conversions NIMCET - CUET Applied Maths
1 views
PW NIMCET
Notes
Video Summary
Number Systems and Conversions
Number systems are foundational in mathematics and computing, involving different bases such as binary, octal, decimal, and hexadecimal. Understanding conversions between these systems is crucial for competitive exams and computer science fundamentals. Each system uses a specific set of digits and base, and conversions require systematic methods.
Types of Number Systems and Their Bases
There are four primary number systems: binary, octal, decimal, and hexadecimal. Each system is defined by its base and the range of digits it uses. Recognizing the base and valid digits is essential for accurate conversions and answering direct exam…
Number Systems and Conversions
Number systems are foundational in mathematics and computing, involving different bases such as binary, octal, decimal, and hexadecimal. Understanding conversions between these systems is crucial for competitive exams and computer science fundamentals. Each system uses a specific set of digits and base, and conversions require systematic methods.
Types of Number Systems and Their Bases
There are four primary number systems: binary, octal, decimal, and hexadecimal. Each system is defined by its base and the range of digits it uses. Recognizing the base and valid digits is essential for accurate conversions and answering direct exam questions.
- Binary (Base 2): Digits 0, 1
- Octal (Base 8): Digits 0 to 7
- Decimal (Base 10): Digits 0 to 9
- Hexadecimal (Base 16): Digits 0 to 9 and A to F (A=10, B=11, C=12, D=13, E=14, F=15)
Binary to Decimal Conversion
To convert a binary number to decimal, multiply each bit by raised to the power of its position, starting from the rightmost digit (least significant bit). For fractional binary numbers, use negative powers for digits after the point.
- Start from the rightmost digit, multiply by , then , , etc., moving left.
- For fractional parts, multiply by , , etc., moving right from the point.
- Add all results to get the decimal equivalent.
Example:
Binary
- Integer part:
- Fractional part:
- Decimal equivalent:
Decimal to Binary Conversion
Converting decimal to binary involves dividing the integer part by 2 and recording remainders, and multiplying the fractional part by 2 and recording the integer parts.
- For the integer part:
- Divide by 2, record the remainder.
- Repeat with the quotient until it is less than 2.
- Write remainders from bottom to top.
- For the fractional part:
- Multiply by 2, record the integer part.
- Repeat with the new fractional part.
- Write results from top to bottom.
Example:
Decimal
- Integer part: remainders (from last to first): →
- Fractional part: (record 1), (record 0) →
- Binary:
Binary–Octal and Octal–Binary Conversion
Binary and octal conversions use grouping of bits. Three binary digits correspond to one octal digit. For numbers with points, group from the point outward, adding zeros as needed.
Binary to Octal:
- Group binary digits in sets of three from right (integer) or left (fractional).
- Add leading/trailing zeros if necessary.
- Convert each group to its octal equivalent using a table.
Octal to Binary:
- Replace each octal digit with its 3-bit binary equivalent.
Example:
Binary
- Groups: (add leading zero to make three digits: )
- Octal:
Octal
- , ,
- Binary:
Binary–Hexadecimal and Hexadecimal–Binary Conversion
Four binary digits correspond to one hexadecimal digit. Grouping is done in sets of four, and zeros are added as needed. Hexadecimal digits A–F represent values 10–15.
Binary to Hexadecimal:
- Group binary digits in sets of four from right (integer) or left (fractional).
- Add zeros as needed.
- Convert each group to its hexadecimal equivalent.
Hexadecimal to Binary:
- Replace each hexadecimal digit with its 4-bit binary equivalent.
Example:
Binary
- Groups: (add leading zero: )
- Hexadecimal:
Hexadecimal
- ,
- Binary:
Octal–Hexadecimal and Hexadecimal–Octal Conversion
There is no direct single-step method for octal–hexadecimal conversion. The process involves two steps: convert to binary, then to the target system.
Octal to Hexadecimal:
- Convert octal to binary (each digit to 3 bits).
- Group binary digits in sets of four for hexadecimal.
- Convert each group to hexadecimal.
Hexadecimal to Octal:
- Convert hexadecimal to binary (each digit to 4 bits).
- Group binary digits in sets of three for octal.
- Convert each group to octal.
Example:
Octal
- , , → Binary:
- Group as (add leading zero):
- Hexadecimal:
Conversion to Decimal from Octal and Hexadecimal
To convert octal or hexadecimal numbers to decimal, multiply each digit by the base raised to the power of its position, starting from the rightmost digit.
Octal to Decimal:
- Multiply each digit by , where is the position from right (starting at 0).
- Add all results.
Hexadecimal to Decimal:
- Replace A–F with 10–15.
- Multiply each digit by , where is the position from right (starting at 0).
- Add all results.
Example:
Octal
- Total:
Hexadecimal
- ,
- Total:
Conversion from Decimal to Octal and Hexadecimal
Decimal to octal and hexadecimal conversions use repeated division by the target base, recording remainders.
Decimal to Octal:
- Divide by 8, record remainders.
- Write remainders from bottom to top.
Decimal to Hexadecimal:
- Divide by 16, record remainders.
- Replace remainders 10–15 with A–F.
- Write remainders from bottom to top.
Example:
Decimal to octal:
- , remainder
- , remainder
- , remainder
- Octal:
Decimal to hexadecimal:
- , remainder ()
- , remainder
- Hexadecimal:
Handling Fractional Parts in Conversions
For numbers with fractional parts, the conversion method differs for the part after the point. Multiplication is used for the fractional part, and division for the integer part.
Decimal Fraction to Binary:
- Multiply the fractional part by 2.
- Record the integer part.
- Repeat with the new fractional part.
- Write results from top to bottom.
Decimal Fraction to Octal/Hexadecimal:
- Multiply the fractional part by 8 (for octal) or 16 (for hexadecimal).
- Record the integer part.
- Repeat as needed.
Example:
Decimal to binary:
- Integer: repeatedly →
- Fraction: (record 1), (record 0), (record 1)
- Binary:
Decimal to hexadecimal:
- (record 10, which is )
- Hexadecimal:
Key Conversion Shortcuts and Rules
Certain shortcuts and rules help in remembering and applying conversions efficiently. The base of the system determines the multiplication or division factor.
- To convert to decimal: multiply each digit by the base raised to the appropriate power.
- To convert from decimal: divide by the target base, record remainders.
- For fractional parts: multiply by the target base, record integer parts.
- For octal–hexadecimal or hexadecimal–octal: always convert via binary as an intermediate step.
- For binary–octal: group in threes; for binary–hexadecimal: group in fours.
Common Pitfalls and Exam Tips
Mistakes often occur in direction of grouping, handling fractional parts, and replacing hexadecimal digits. Careful attention to these details ensures accuracy.
- Always group from the correct side of the point (left for integer, right for fraction).
- Add leading or trailing zeros to complete groups as needed.
- Replace hexadecimal remainders above 9 with A–F.
- For fractional conversions, 3–4 steps are usually sufficient to match options in exams.
- No direct conversion exists between octal and hexadecimal; always use binary as an intermediate.
- Calculators are not allowed; practice manual methods for speed and accuracy.
Reference Table for Quick Conversion
The following table summarizes the mapping between binary, octal, and hexadecimal digits as explicitly described:
| Decimal | Binary | Octal | Hexadecimal |
|---|---|---|---|
| 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 | 8 | |
| 9 | 1001 | 9 | |
| 10 | 1010 | A | |
| 11 | 1011 | B | |
| 12 | 1100 | C | |
| 13 | 1101 | D | |
| 14 | 1110 | E | |
| 15 | 1111 | F |
Quiz
10 QuestionsClick on an option to find the answer
Question 1 of 10
The longest side of a triangle is 4 times the shortest side, and the third side is 3 cm shorter than the longest side. If the perimeter of the triangle is at least 60 cm, find the minimum length of the shortest side.
Solution
7 cm
Solution
Solution
Flashcards
5 CardsClick to reveal answerTap the card to see answer