Data Representation Flashcards

1
Q

Describe how negative numbers are represented in twos compliment

A

The binary of the positive equivalent is inverted and 1 is added to the Least Significant Byte (LSB)

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

Compare the ways in which characters are represented in ASCII and Unicode

A

ASCII- uses 7 bits, can represent 128 characters. The 8th bit can be used for error checking.

Unicode- Is a sixteen bit extension of ASCII, can represent 65536 characters

Comparison- unicode can represent far more characters than ASCII allowing for the interchange, processing and display of the majority of the worlds language, rather than just one. ASCII uses fewer bits than unicode which could result in faster processing

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

Explain how both positive and negative numbers can be represented in two’s compliment

A

MSB is used as a sign bit, MSB is 0 for a positive number and is a 1 for a negative number. For a positive number place values used, for negative it is stored as twos compliment, which is got by inverting the bits and adding 1 to LSB

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

Explain what is meant by a character set.

A

The range of characters that can be represented. Each character has unique binary code. These include letters and digits.

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

How many characters can be represented with ASCII?

A

128

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

ASCII uses 7 bits, suggest a use for the 8th

A

Can be used for error checking as a parity bit, can be used to represent additional characters.

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

What does TB mean and how many gigabytes does it contain/

A

Terabyte, 1024

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

Discuss the benefit of using Unicode over ASCII

A

More characters can be represented, unicode uses 16 bits, allows characters from the majority of the worlds languages to be represented.

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