COMP 1001 Lecture Notes - Lecture 4: Binary Number, Vote Counting, Elementary Arithmetic

64 views4 pages

Document Summary

Analog data represents information that can assume any value. Digital data represents information using only a specifi. Counting numbers are abstract concepts used to quantify how much of something there is. We"re used to using the decimal number system, like 5 bananas. A tally system is a number system where each marking indicates a unit a common one would represent 5. Ok for counting, but not good for large numbers (have to manually count each slash, possible error when counting). Aren"t great for math- the decimal system allows us some nice algorithms for performing basic arithmetic (try multiplying two large tally #"s). We use a positional system, where the position of the digits impacts what number the digit actually represents. The decimal number system which is based on 10 digits. Other systems that are similar: babylonians have 60 digits, mayans have 20 digits, etc. Binary numbers are often prefixed by 0b to indicate their base.

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