CS100 Lecture Notes - Lecture 3: Dimmer, Discretization, Extended Ascii

44 views3 pages

Document Summary

Module 3. 2 a bit of memory: using light to communicate but could only communicate 2 messages (yes or no, to indicate more messages, you can use a light dimmer, but in real life it"s hard to tell. Instead use 2 lights, to convey 4 possible messages, 82 = 256 possible messages. In the computer, when the switch is off = 0, when switch is on = 1. Memory -> stored in a bit (binary digit), byte = 8 bits. Module 3. 3 binary numbers: the decimal number system. 8n: computer only has 2 digits: 1, 0 (binary counting system) To go from decimal to binary look for the biggest power of the number, then greater than the answer you have left, then simple write it as 0: hexadecimal (base 16) continue until you reach to 0. Identifying hex numbers if there is # before the number. Every 4 binary digits correspond to one hexadecimal digit.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents