ASCII Flashcards

1
Q

what does ascii stand for

A

american standard code for interchange

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

how many possible characters

A

256

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

how many of the possible characters does ascii use

A

128

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

how many of the 128 characters are printable

A

96

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

what are the non printable characters

A

control codes eg enter button

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

what is the difference between a character and a value

A

eg the value 1 is used for arithmetic in the computer but the character 1 is in a human readable form

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

how do we differentiate a number value from a number character

A

quotation marks around charcater

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

what is the hexadecimal difference always between upper and lower case letters

A

0x20

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

how do we convert between characters and their values (numbers in ascii code)

A

subtract 0x30 from their ascii code

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

whats more efficient, storing numbers in their value or character form. Why?

A

value form, the value is stored in 1 byte where as each character inn the value will be stored in a byte, WE CANNOT PREFROM ARITHMATIC USING CHARACTERS

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