CSC 161 Grinnell College Spring, 2015
Imperative Problem Solving and Data Structures

Data Representation

Summary and Main Topics

The following labs provide background in the representation of integers and floating-point numbers within computers.

Day-by-day Details

Day Topic Preparation In-class Due Date Availability
Friday, February 20 Representation of numbers        
Monday, February 23 Integer Representation lab exercise   Monday, March 9
Tuesday, February 24 Floating-point Representation lab exercise Friday, February 27  
Wednesday, February 25 Machine-level Explorations Bitwise operations and unions
  • King, Sections 16.4, 20.1
  • K&R 2.9, 6.8
Debugging with GDB
Bitwise operations and unions lab exercise    

Feedback Welcome

Development of laboratory exercises is an iterative process. Prof. Walker welcomes your feedback! Feel free to talk to him during class or stop by his office.