CAS CS 111 Lecture Notes - Lecture 14: Binary Number

269 views20 pages
Verified Note

Document Summary

Each digit in a binary number of one bit. Based on two voltages: low = 0, high = 1. A given set of bits can have more than one meaning. In base 10 (decimal), each column represents a power of 10. If the rightmost bit is 0, the number is even. If the rightmost bit is 1, the number is odd. For each bit that is 1, add 2^n, where n = the bit number. There are 10 types of people: those who understand binary, and. Go in the reverse direction: determine which powers of 2 need to be added together to produce the decimal number. Start with the largest of 2 less than or equal to the number, and work down from there. 32 is the largest power of 2 <= 53. Now, break the 21 into powers of 2: Now, break the 5 into powers of 2: 1 is a power of 2 (2^0) so we"re done:

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