Table of Contents
Under the Hood: Data Representation
General Information
Administrivia
Today’s Lecture
Review
Review: The Big Picture
Review: Levels of Abstraction
Data Representation
Number Systems
More Number Systems
Changing Base (Radix)
Number Systems for Computers
Conversion from Decimal to Binary
Conversion from Decimal
Powers of 2
Binary, Octal and Hexidecimal numbers
Binary and Octal
Binary and Hex
Issues for Binary Representation
Binary Integers
Sign-Magnitude Representation for Integers
2’s Complement Representation for Integers
2’s Complement
2’s Complement Negation and Addition
2’s Complement (cont.)
2’s Complement Precision Extension
What About Non-integer Numbers?
Floating Point Representation
Floating Point Representation
Floating Point Representation
Floating Point Representation
ASCII Character Representation
Basic Data Types
Summary
Next Time
|
Author: Alvin R. Lebeck
Email: alvy@cs.duke.edu
Home Page: http://www.cs.duke.edu/~alvy
|