Patrice Koehl
Department of Computer Science
Genome Center
Room 4319, Genome Center, GBSF
451 East Health Sciences Drive
University of California
Davis, CA 95616
Phone: (530) 754 5121
koehl@cs.ucdavis.edu




Data, Logic, and Computing: Winter 2026


How to communicate with a computer


Data and instructions cannot be entered and processed directly into computers using human language. Any type of information, be it numbers, letters, sound, pictures or any combination of the above must first be converted into machine-readable form. Computers use binary - the digits 0 and 1 - to store such information. A binary digit, or bit, is the smallest unit of data that can be stored. It is represented by a 0 or a 1. In this chapter, we cover the different conversions between human-comprehensible information the the corresponding computer-comprehensible information. We cover numbers (integers and real), texts, sound, and images. We briefly cover the current data revolution.




Lecture Notes


Download document:

Powerpoint document (click to download)
or
PDF document (click to download)
or
PDF document: 3 slides/page (click to download)


Further Reading


  • Handwritten Notes from class on 1/7: Representing natural numbers on a computer: PDF document
  • Handwritten Notes from class on 1/9: Representing integers: PDF document
  • Handwritten Notes from class on 1/12: Hexadecimal numbers: PDF document
  • Handwritten Notes from class on 1/14: Real numbers / Texts PDF document







  Page last modified 14 January 2026 http://www.cs.ucdavis.edu/~koehl/