Digital Electronics - Number Systems and Codes - Discussion
Discussion Forum : Number Systems and Codes - General Questions (Q.No. 6)
6.
Decode the following ASCII message.
10100111010100101010110001001011001
01000001001000100000110100101000100
Discussion:
47 comments Page 1 of 5.
Deepika said:
1 decade ago
How to decode the ASCII msg?
Rams said:
1 decade ago
Please any one explain me, I cant understand these.
Sheenu said:
1 decade ago
010100111010100101010110001001011001
01000001001000100000110100101000100
Add 0 to LHS to make it a multiplier of 4
now... 0101 0011=53..that is the hexadecimal of 'S'
Likewise 54 of 'T'
55 of 'U'
.
.
.
20 of space
Hence solved..
01000001001000100000110100101000100
Add 0 to LHS to make it a multiplier of 4
now... 0101 0011=53..that is the hexadecimal of 'S'
Likewise 54 of 'T'
55 of 'U'
.
.
.
20 of space
Hence solved..
Deepika said:
1 decade ago
I can't understand this explanation please explain.
Billa said:
1 decade ago
Hey @deepika it is simple yaar. Take left side eight digits.
Eg: 01010011 this represent 53. That is the hex dec 53.
Eg: 01010011 this represent 53. That is the hex dec 53.
Madhu said:
1 decade ago
Hey but according to ASCII table 53 means U, how come here they have taken S for 53 !?
Vinsan said:
1 decade ago
Correct Explanation available here:
Step 1: Divide the code into 7-bits each
(1010011) (1010100) (1010101) (1000100) (1011001)
(0100000) (1001000) (1000001) (1010010) (1000100)
Step 2: Convert binary data to decimal individually
Step 3: (83) (84) (85) (68) (89) (32) (72) (65) (82) (68)
Step 4: Substitute characters of ASCII values
Example:-
65-A
66-B
67-C
....
....
90-Z
32-blank, etc.
i.e code converted into text as STUDY HARD
Note:- If given data is not consisting 7 multiples of bits then append 0's to MSB i.e left hand side of data.
Also you should remember that characters case i.e upper or lower.
Step 1: Divide the code into 7-bits each
(1010011) (1010100) (1010101) (1000100) (1011001)
(0100000) (1001000) (1000001) (1010010) (1000100)
Step 2: Convert binary data to decimal individually
Step 3: (83) (84) (85) (68) (89) (32) (72) (65) (82) (68)
Step 4: Substitute characters of ASCII values
Example:-
65-A
66-B
67-C
....
....
90-Z
32-blank, etc.
i.e code converted into text as STUDY HARD
Note:- If given data is not consisting 7 multiples of bits then append 0's to MSB i.e left hand side of data.
Also you should remember that characters case i.e upper or lower.
(4)
Sundar said:
1 decade ago
@Vinsian
Excellent explanation. Thanks.
Excellent explanation. Thanks.
Anuradha said:
1 decade ago
Good explanation!
Mashewsar 9700959156 said:
1 decade ago
ASCII value for
A = 65, B = 66, ....
a = 98, b = 99, ....
A = 65, B = 66, ....
a = 98, b = 99, ....
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers