DEV Community

Cover image for "BINARY" in 100 words
ASHUTOSH KUMAR CHOUDHARY
ASHUTOSH KUMAR CHOUDHARY

Posted on • Updated on

"BINARY" in 100 words

INTRODUCTION

  • Binary is one of the many counting system that are out there. It is a number system where all possible values can be represented by 2 symbols.

BINARY

  • The most commonly used counting system which is used in day to day life is the decimal system (also known as base 10 positonal),in which every number can be represented by using 10 number making it much more efficient than binary system.But the reason why binaries are used in computer instead of other efficient counting system is because of computers physical limitations.

  • Everything that computer does can come down to micro transistor which works on two energy levels that is binary.

REPRESENTATION

  • A single BINARY DIGIT is called a BIT and you can not do much with it,so they come in a pakage of 8 called as BYTE that can represent 256 values.

ONE BYTE

BREIF HISTORY

  • In acient times binary were used by many civilisation as there counting system.For example:In egypt it was used in HORUS EYE's fraction and similarly in I CHING in china.

HORUS EYE AND ICHING

Binary is also the basis of MORSE CODE where every letter is represented by 2 different sounds.

When first computer(ENIAC 1945) arrived they were programed by manual flicking switches which represents binary.

IMPLEMENTATION

  • Todays modern microchips consist of billions of transistors that uses logic gates to execute binary code billions of times per second.

Apple m1 chips

  • Modern programmers dont write binary directly instead they write code in high level languages like python and C++ which then can be interpreted or compiled into binary format.

assembler

  • In computers these binary are mapped as to something more intresting for human like a letter or a alphabet using ASCII table or the the colour of pixel in an image.

This is all for this blog,thanks for reading:)
suggestions are most welcomed.
HAVE A NICE DAY!
(Btw this is my first BLOG:))

Top comments (6)

Collapse
 
lionelrowe profile image
lionel-rowe

The tl;dr version (title: "Binary in 2 bits"):

01

Collapse
 
metacollective profile image
metacollective

Great topic for your first blog. Very apt.

Collapse
 
ashkodes profile image
ASHUTOSH KUMAR CHOUDHARY

Thankyou

Collapse
 
dabangg987 profile image
dabangg987

amazing 👍
also try to make a blog on quantum computer where we can use more than 2 symbols

Collapse
 
ceoshikhar profile image
Shikhar

Seems like more than 100 words to me..

Collapse
 
ashkodes profile image
ASHUTOSH KUMAR CHOUDHARY

😅