Computer Science Exercise Sheet

ASCII (American Standard Code for Information Interchange) is used to encode characters such as letters, numbers, and punctuation marks. Every key on the keyboard has an ASCII code. Some of these are listed below.

Character

ASCII Code

Character

ASCII Code

Character

ASCII Code

A

65

a

97

0

48

B

66

b

98

1

49

C

67

c

99

2

50

D

68

d

100

3

51

E

69

e

101

4

52

F

70

f

102

5

53

G

71

g

103

6

54

H

72

h

104

7

55

I

73

i

105

8

56

J

74

j

106

9

57

K

75

k

107

space

32

L

76

l

108

 

 

M

77

m

109

 

 

N

78

n

110

 

 

O

79

o

111

 

 

P

80

p

112

 

 

Q

81

q

113

 

 

R

82

r

114

 

 

S

83

s

115

 

 

T

84

t

116

 

 

U

85

u

117

 

 

V

86

v

118

 

 

W

87

w

119

 

 

X

88

x

120

 

 

Y

89

y

121

 

 

Z

90

z

122