Skip to Content
Object-oriented Programming Using C++ and Java
book

Object-oriented Programming Using C++ and Java

by Ramesh Vasappanavara, Gautam Vasappanavara, Anand Vasappanavara
May 2011
Intermediate to advanced content levelIntermediate to advanced
500 pages
16h 38m
English
Pearson India
Content preview from Object-oriented Programming Using C++ and Java

Appendix B

Number Systems

Introduction

Decimal System: We use the decimal system in our daily lives. The allowable digits in decimal system are:

0 1 2 3 4 5 6 7 8 9. The base is 10. The lowest number = 0 ; the highest number = 9. The counting goes 0...99, 100 and so on.

Binary System: The computer uses the binary system for its internal representation. The digits allowed are: 0 1. The base is 2. The lowest number = 0 ; the highest number = 1. The counting goes: 0 1 10 11 100 101 110 111 1000... The count is shown in Table B.1.

 

Table B.l Decimal numbers and their binary equivalents

Decimal numbers and their binary equivalents

 

Computer uses two other representations, namely Octal and ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Object-Oriented Programming with Java

Object-Oriented Programming with Java

Caleb Curry
Object-Oriented Data Structures Using Java, 4th Edition

Object-Oriented Data Structures Using Java, 4th Edition

Nell Dale, Daniel T. Joyce, Chip Weems

Publisher Resources

ISBN: 9788131754559