class: title # Representing Numbers ## CSC 161 – February 19, 2026 --- # Agenda for Today 1. Quiz 2. Department Events 3. Upcoming Work 4. Discussion 5. Lab 6. Wrap Up --- class: section green # Quiz --- # Department Events ## CS Extra: Tarski Lower Bounds from Multi-Dimensional Herringbones .indent[ Speaker: Reed Phillips, Purdue University Thursday, February 19th at 4:15pm in Noyce 3821 Snacks available in the CS Commons at 4pm ] You can find a complete list of token events and submit more at
. --- class: section blue # Upcoming Work --- # Homework: Connect Four **Due:** Thursday, February 26th ## Questions _None so far_ If you need to work on the assignment from off campus you can access a MathLAN session by going to
. --- class: section blue # Discussion --- # Discussion: Integer Representation **Items for think, pair, share:** 1. What is the difference between signed and unsigned integers? 2. What value does the eight-bit binary value `10010110` represent if we interpret it as... - An unsigned integer - A sign-magnitude integer - A one's complement integer - A two's complement integer --- # Discussion: Floating Point Representation **Items for think, pair, share:** 1. Floating point values have a sign bit, exponent, and mantissa. What do these three parts of the number represent? 2. We can write the value 10 as 1.25 x 2
3
. Using this information, how do we represent the floating point value `10.0` in binary? --- class: section blue # Lab --- class: section blue # Wrap Up --- # Wrap Up ## Lab Work Submit all exercises for parts A and C, along with one of the three exercises form part B (you may choose any of the three). ## Reading - **Multifile Projects** (Beej's Guide to C Programming, Chapter 17) - **An Introduction to Makefiles** (GNU Make Manual, Chapter 2)