Skip to Main Content
Introducing Data Structures with Java
book

Introducing Data Structures with Java

by David Cousins
March 2013
Intermediate to advanced content levelIntermediate to advanced
416 pages
9h 41m
English
Pearson Education India
Content preview from Introducing Data Structures with Java

Appendix B

Solutions to Exercises

CHAPTER 1

1. (a) 1000 equals 8;(b) 10101 equals 21.

2. (a) 64 equals 1000000;(b) 127 equals 1111111.

3. (a) (b)

4. (a) 14;(b) 42.

5. Decimal-10 is hex-A; decimal-15 is hex-F.

6. (a) 2F = 47;(b) E5 is 229.

7. (a) 127 is 7F;(b) 255 is FF.

8. American Standard Code for Information Interchange (ASCII) represents a character in 1 byte (8 bits) allowing for 255 separate characters including the so-called extended set from character 128 to 255. Unicode uses 2 bytes, which allows for 64K separate character representations ...

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

Data Structures and Algorithms Using Java

Data Structures and Algorithms Using Java

William McAllister

Publisher Resources

ISBN: 9788131758649