#computer-science #cs50
computers can conveniently represent a 0 or 1 with electricity, since something can either be turned on or off. And computers have lots of transistors, microscopic switches inside, that can be turned on and off to represent data.
If you want to change selection, open document below and click on "Move attachment"
Lecture0
4 2 1
1 1 1
4 x 1 2 x 1 1 x 1
But once we have used up all the places, we need more bits , or binary digit, which stores a 0 or 1 .
It turns out that <span>computers can conveniently represent a 0 or 1 with electricity, since something can either be turned on or off. And computers have lots of transistors, microscopic switches inside, that can be turned on and off to represent data.
Now that we can store numbers, we need to represent words, or letters. Luckily, there is a standard mapping from numbers to letters, called ASCII .
We can also similarly use ce Summary
status | not read | | reprioritisations | |
---|
last reprioritisation on | | | suggested re-reading day | |
---|
started reading on | | | finished reading on | |
---|
Details