Data representation Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is binary?

A

Binary is a base 2 number system used in computers

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

What is hexadecimal?

A

base 16 number system that uses numbers 0-9 and then letters A-F to represent the rest of the numbers until 15.
A way of representing binary in a shorter form, hexadecimal does not save memory.

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

binary arithmetic

A
1+0= 1
1+1= 1-0
1+1+1= 1-1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Character representation- ASCII

A
  • ASCII (American Standard Code for Information Interchange).
  • Uses 7 bits, but needs to store in in one full byte (8bits)
  • Used by America and UK
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Character representation- A

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

Binary shift- left

A

00000110 (6) LEFT SHIFT BY 2
Becomes
00011000 (24) 6 x2^2

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

Binary shift- right

A

00001000 (8) RIGHT SHIFT BY 2
Becomes
00000010 (2) - 8/2^2

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