LoadingLoading previews...
Number Systems Part 1
HTML Creative Commons: Attribution-Noncommercial-No Derivative Works 4.0
View
    Number Systems Part 1
    Number Systems Part 1
    (HTML)
    1 file in this resource

    Number Systems Part 1

    In this unit we provide a general introduction to number systems and discuss how numbers are represented by computers. We start with a look at the three main systems that occur in computing applications; decimal (base 10), binary (base 2) and hexadecimal (base 16) and describe methods for converting between these three bases. A (very) brief discussion is also presented on conversions involving other bases such as octal (base 8). We then apply the basic techniques we use to add and subtract decimal numbers to enable us to perform these operations manually for binary numbers. The discussion moves on to look at how computers store and represent positive and negative numbers and the concept of signed and unsigned binary numbers is introduced. We present different approaches used by computers for storing numbers with the focus on two’s complement representation. The unit closes with a brief look at a selection of bitwise operators, supported in programming languages such as Java and C, to operate on binary numbers at the bit-level by treating them as strings of bits.

    Actions (login required)

    View Item View Item

    Toolbox

    There are no actions available for this resource.