Week 1, 15w Flashcards
1
Q
Why is data stored as binary on computers
A
Binary has 2 states 1 and 0 these represent the 2 states of electrical signals on and off
2
Q
How does ASCII represent text
A
Each letter has a binary value a “character code”
3
Q
covert 191 decimal to 8bit binary
A
10111111
4
Q
conert HEX 3E to decimal
A
62
5
Q
01101010+10010110
A
100000000 (caused overflow)
6
Q
2 place right shift on 11001011
A
11110010
7
Q
what is the effect of a binary right shift
A
/2
8
Q
10011011+01010100
A
11101111
9
Q
convert HEX 62 to decimal
A
98
10
Q
convert decimal 62 to HEX
A
3E
11
Q
01101011+01011011
A
11000110