Number Systems and Encodings - ISC Class 11 Computer Science Notes, Diagrams and Solved Questions

Binary, octal, decimal and hexadecimal: converting between bases, adding, subtracting with 1's and 2's complement and multiplying in any base, and how ASCII, ISCII and Unicode turn characters into numbers.

In this chapter

  • Positional number systems, bases and the digits each base allows
  • Converting binary, octal and hexadecimal to decimal, by hand and in Java
  • Converting decimal to any base by repeated division
  • The 3-bit and 4-bit grouping shortcut between binary, octal and hex
  • Adding and subtracting in other bases, with carries and borrows
  • Subtraction by 1's and 2's complement, including negative answers
  • Multiplication in binary, octal and hexadecimal
  • ASCII, ISCII and Unicode, and why Java uses Unicode