Chapter 2

Number Systems

OBJECTIVE

In this chapter, we shall learn the concept of various number systems: binary, octal, decimal, hexadecimal, and conversion from one to another.

BASIC CONCEPTS
2.1 DECIMAL NUMBER

A decimal number is a number based upon ten values: 0, 1, 2, 3, 4, 5, 6, 7, 8 and 9. Suppose there are twelve apples. How can we represent twelve? One is that take one for each apple and write 111111111111. Easier way is write 2 at the right most position and 1 at the left of 2 and assume that weight (w) of the left side digit is always ten times (wd = 10) compared to the neighboring one on the right side. Now, the number 12 is twelve represented by only two digits, 12 one digit is at right position (p = 0) and other is at the left ...

Get Digital Systems now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.