Harvard CS50 First Place
Why were computers designed based off a base 2 system? 7 is the highest number you can represent. It is not 8, because when every switch is off (otherwise known as 000 in binary) you start off with the number "0". with 3 switches you can store up to 8 numbers, but only 7 "non-zero" numbers. The numbers you can store are: 000 (0), 001 (1), 010 (2), 011 (3), 100 (4), 101 (5), 110 (6), and 111 (7). What is the highest number you can represent with 3 switches that can either be "ON" or "OFF"? transistors. Instead of a switch, what is used to represent 0s and 1s in modern-day computers? 64 values. The first digit starting at the right of the binary number is 2 to the zeroth power or "1". The 2nd digit is 2 which is "2". The next is 2 to the 2nd which is "4". The next is 2 to the 3rd which is "8" and so forth. just like we use the 10's place and 100's place in the base 10 system, we have similar digit place values in the binary system. What is the highest number of values (including 0) can you store in 2 to the 6th power of bits? 372. Based on the knowledge from the previous notecard, what number is "" in the base 10 system? ASCII is the standard.
Written for
- Institution
- Harvard CS50
- Module
- Harvard CS50
Document information
- Uploaded on
- May 29, 2024
- Number of pages
- 2
- Written in
- 2023/2024
- Type
- Exam (elaborations)
- Contains
- Questions & answers
Subjects
- harvard cs50 first place
-
problem solving what is computer science on a fund