Computer Science 1033A/B Lecture Notes - Lecture 3: Pixel, Digital Zoom, 2-Step Garage

184 views4 pages
Verified Note

Document Summary

987 is a 3-digit number, but it could also be a 8 digit number (cid:1688)00000987(cid:1689), if you had to represent the numbers with digit holder, you pad the front with zeros. A computer encodes/represents numbers, words, images & sound through binary. Programmers have figured out how to convert our world to something a computer can understand, thus they convert everything to binary. If we have 1 bit we can represent 2 things, if we have can represent 4 things, if we have 3 bits we can represent 8 things. Number of digits actually counts how many numbers there are (0-9 is 1 number, but. The binary increases every time 0 is 0, 1 is 1, 2 is 10, 3 is 11, 4 is 100. The number of bits is how many binary numbers there are (6 is 110 which is 3 bits) 22 items would be 00000022 in decimal representation or 00010110 in binary representation)

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