Do you know how to say “Happy Birthday in binary code” language that computers understand? Let’s learn today how to wish your computer a happy birthday, as computers only understand bits in 1s and 0s!
Do you know what Binary Code is?
Binary code is the only language our computer understands. It consists of only two digits: 0 and 1, termed as bits. Every letter, digit, or character we type on the keyboard is translated into these 0s and 1s which the computer processes.
Case-1: “Happy Birthday in Binary Code” when H & B capital
Have a look on the images below, which show you the conversion of each alphabet into bits.
01001000 01100001 01110000 01110000 01111001 00100000 01000010 01101001 01110010 01110100 01101000 01100100 01100001 01111001
Case 2: “happy birthday” (all lowercase)
01101000 01100001 01110000 01110000 01111001 00100000 01100010 01101001 01110010 01110100 01101000 01100100 01100001 01111001
Case 3: “HAPPY BIRTHDAY” (All uppercase)
01001000 01000001 01010000 01010000 01011001 00100000 01000010 01001001 01010010 01010100 01001000 01000100 01000001 01011001
Conclusion
Binary code may look like a line of 0s and 1s but hidden beneath those numbers is language that keeps our world turning.
Taking something as mundane and sentimental as “Happy Birthday” and encoding it in binary is one example of the confluence of tech and celebration.
As a programmer or just an interested bystander, it’s a tidy window into the way computers “read” us.
One thought on “Wish Like a Coder: Happy Birthday in Binary Code | CodeHelping”