Binary to Decimal
11111111
2^7=128
2^6=64
2^5=32
2^4=16
2^3=8
2^2=4
2^1=2
2^0=1
128+64+32+16+8+4+2+1=255
Friday, November 20, 2015
Decimal to Binary
D to B
255=(11111111)
255/2=127=====1
127/2=63======1
63/2=31=======1
31/2=15=======1
15/2=7========1
7/2=3=========1
3/2=1=========1
1/2=0=========1
255/2=127=====1
127/2=63======1
63/2=31=======1
31/2=15=======1
15/2=7========1
7/2=3=========1
3/2=1=========1
1/2=0=========1
Thursday, October 29, 2015
- Why did you choose CSC104? I want to have fun in this course, get to play with different things in different ways.
- What interests you about computing? I started to mess around with my dad's laptop when I was a kid. Playing games and helping others with their computer problem have always interests me.
- What are your goals in CSC104? Have fun and learn stuff from this course. An A will be nice!
- Has your conception of programming changed since before you started the course? In what way(s)? Definitely. I played a lot of games, and before I always think programming is about making those AI do what they do and making the game better. Now I know that programming is about coding in another language, it is sophisticated and need to be precise.
Subscribe to:
Posts (Atom)