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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does ASCII represent text

A

Each letter has a binary value a “character code”

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

covert 191 decimal to 8bit binary

A

10111111

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

conert HEX 3E to decimal

A

62

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

01101010+10010110

A

100000000 (caused overflow)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

2 place right shift on 11001011

A

11110010

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

what is the effect of a binary right shift

A

/2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

10011011+01010100

A

11101111

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

convert HEX 62 to decimal

A

98

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

convert decimal 62 to HEX

A

3E

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

01101011+01011011

A

11000110

How well did you know this?
1
Not at all
2
3
4
5
Perfectly