1.1 Data Representation Flashcards

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

What is the difference betwen a Binary prefix and a Decimal prefix?

A

A Binary prefix is based on powers of 2.

A Decimal prefix is based on powers of 10.

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

How many bytes in a Kibibyte?

A

1024

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

How many bytes in a Mebibyte?

A

1024**2

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

How many bytes in a Gibibyte?

A

1024**3

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

How many bytes in a Tebibyte?

A

1024**4

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

What is 24 in Binary?

A

11000

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

What is 244 in Hexadecimal?

A

1) Convert to binary
1111 0100
2)Convert from Binary to Hexadecimal
F4

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

Turn 25 into a Binary Coded Decimal (BCD).

A

00100101

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

Convert the Denary number -100 into Two’s Complement Binary.

A

10011100

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

Convert the One’s Complement negative binary integer 10110110 into denary.

A

1) Invert all the Bits
01001001
2) Turn to denary
-73

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

Using Binary Addition, calculate 10111 + 100110.

A

111101

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

Using the rules of binary subtraction,

calculate 11010 - 101.

A

1) Normalise, 00101
2) Flip, 11010
3) Add 1, 11011

11010 + 11011 = 110101
4) Discard first bit / Overflow error
10101

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

How does overflow occur?

A

When the result of an arithmetic operation creates a value that exceeds the range represented by the allocated number of bits.

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

Applications of Hexadecimal.

A
  • Assembly language programming to represent instructions in program code.
  • Graphic packages to represent colour codes.
  • Program code to represent characters.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Applications of BCD.

A

Used in electronic systems where a string of digits is used to represent some value.

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

Difference between ASCII and Unicode?

A
  • Unicode is a superset of ASCII
  • ASCII is stored in 8 bits
  • Unicode supports all the languages in the world whereas ASCII only supports English.