D. Number Systems

Objectives

In this chapter you’ll:

• Understand basic number systems concepts, such as base, positional value and symbol value.

• Work with numbers in the binary, octal and hexadecimal number systems.

• Abbreviate binary numbers as octal numbers or hexadecimal numbers.

• Convert octal numbers and hexadecimal numbers to binary numbers.

• Convert back and forth between decimal numbers and their binary, octal and hexadecimal equivalents.

• Understand binary arithmetic and how negative binary numbers are represented using two’s complement notation.

Get C++11 for Programmers, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.