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.
Ram said:
1 month ago
Good explanation. Thanks all.
Manoj said:
11 months ago
@All.
Correct explanation is available here:
First divide the code into 7 bits.
(1010011) (1010100) (1010101) (1000100) (1011011)
(0100000) (1001000) (1000001) (1010010) (1000100)
Then convert Binary data into Decimal form
1010011 = 1 * 2^6 + 0 * 2^5 + 1 * 2^4 + 0 * 2^3 + 0 * 2^2 + 1 * 2^1 + 1 * 2^0
= 64 + 0 + 16 + 0 + 0 + 2 + 1.
= 83.
Like this do all.........
we get decimal values.....
83, 84, 85, 68, 89, 32, 72, 65, 82, 68.
Characters of ASCII are.
32 is the space.
65-90 are (A-Z).
So, 65 = A.
66 = B.
67= C.Then 90=Z.
Now choose the correct form of letters then we get;
[STUDY HARD]
This is the correct way to understand easily.
Thank you.
Correct explanation is available here:
First divide the code into 7 bits.
(1010011) (1010100) (1010101) (1000100) (1011011)
(0100000) (1001000) (1000001) (1010010) (1000100)
Then convert Binary data into Decimal form
1010011 = 1 * 2^6 + 0 * 2^5 + 1 * 2^4 + 0 * 2^3 + 0 * 2^2 + 1 * 2^1 + 1 * 2^0
= 64 + 0 + 16 + 0 + 0 + 2 + 1.
= 83.
Like this do all.........
we get decimal values.....
83, 84, 85, 68, 89, 32, 72, 65, 82, 68.
Characters of ASCII are.
32 is the space.
65-90 are (A-Z).
So, 65 = A.
66 = B.
67= C.Then 90=Z.
Now choose the correct form of letters then we get;
[STUDY HARD]
This is the correct way to understand easily.
Thank you.
(3)
Sai said:
1 year ago
Thanks for the great information @Manas.
(3)
Manas said:
1 year ago
As ASCII code is 7 bit.
So,
The first 7 bit is =1010011 which is equivalent to 83 equivalent ASCII= S.
2nd 7 bit is= 1010100 which is equivalent 84 equivalent ASCII= T.
3rd 7 bit is =1010101 ------------------- 85 equivalent ASCII= U.
4th 7 bit is= 1000100 ------------------- 68 equivalent ASCII= D.
5th 7 bit is = 1011001 ------------------- 89 equivalent ASCII= Y.
6th 7 bit is = 0100000 ------------------ 32 equivalent ASCII= space.
7th 7 bit is = 1001000 ------------------ 72 equivalent ASCII= H.
8th 7 bit is = 1000001 ------------------ 65 equivalent ASCII= A.
8th 7 bit is = 1010010 ------------------ 82 equivalent ASCII= R.
9th 7 bit is= 1000100 ------------------ 68 equivalent ASCII= D.
So,
The first 7 bit is =1010011 which is equivalent to 83 equivalent ASCII= S.
2nd 7 bit is= 1010100 which is equivalent 84 equivalent ASCII= T.
3rd 7 bit is =1010101 ------------------- 85 equivalent ASCII= U.
4th 7 bit is= 1000100 ------------------- 68 equivalent ASCII= D.
5th 7 bit is = 1011001 ------------------- 89 equivalent ASCII= Y.
6th 7 bit is = 0100000 ------------------ 32 equivalent ASCII= space.
7th 7 bit is = 1001000 ------------------ 72 equivalent ASCII= H.
8th 7 bit is = 1000001 ------------------ 65 equivalent ASCII= A.
8th 7 bit is = 1010010 ------------------ 82 equivalent ASCII= R.
9th 7 bit is= 1000100 ------------------ 68 equivalent ASCII= D.
(11)
Aditya Nandekar said:
5 years ago
I can't understand, give me an example.
Prasanna said:
5 years ago
Thanks @Vinsan.
Bhojan Shiwa said:
6 years ago
WAVE=13
TAXI= 8
HALT=10
FAIL= ?
Please solutions.
TAXI= 8
HALT=10
FAIL= ?
Please solutions.
Kahindi said:
6 years ago
Nice explaination, thanks @Vinsan.
(1)
Karthikeyan said:
7 years ago
64 32 16 8 4 2 1
1 0 1 0 0 1 1 = 83.
1 0 1 0 0 1 1 = 83.
Ashok said:
7 years ago
@Vinsan.
Excellent explanation, Thanks.
Excellent explanation, Thanks.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers