CPSC 201: Introduction to Computer Science

 

Instructor: Carsten Schürmann
Department of Computer Science
Yale University
Time: MWF 11:30-12:20
Room: AKW200

  Home
  Schedule
  Handouts
  Assignments
  Projects
  Links
 
 

Lecture 10

The bits 0 and 1 form also the basis for representing integers, and floating point numbers. In this lecture we will discuss how this works. In particular we show how to represent positive and negative integers including the concepts of 1-complement and two complement.

Reading: Invitation to Computer Science Chapter 4.