Computer Science, asked by Ajeshkm6042, 10 months ago

Write your name in ascii using an 8-bit code with the leftmost bit always 0. Include a space between names and a period after middle initial.

Answers

Answered by AbhinSreekumar
7

This is the answer for it

Attachments:
Answered by mad210219
3

ASCII VALUE

Explanation:

We represent the ASCII values in binary system

We can obtain binary system using dividing the number by 2 and combining the remainders each time  

C= 01000011

L=01001100

A= 01000001(65)

U= 01010101

D= 01000100

I= 01001001

A= 01000001

G= 01000111  

.  =   00101110

V= 01010110

E= 01000101

L= 01001100

E= 01000101

Z= 0101101010  

Taking example :

A-65(ascii)

So  

01000001

Is represented as  

0 1 0 0 0 0 0 1

7 6 5 4 3 2 1 0----- we multiply the 0s and 1s with 2 th power of this integers  

So for A-65

2^6\times1+2^0\times1=64+1

=65

Thus similarly we calculate ascii format for all the characters    

E= 01000101

       

     7     6   5   4     3   2    1    0

So 1*2^0+1*2^2+1*2^6

=1+4+64

=69

=65+4(A+4)

For E it is 69  

So  

01000101

 

 

Similar questions