This content originally appeared on DEV Community and was authored by ASHUTOSH KUMAR CHOUDHARY
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.
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.
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.
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.
- 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.
- 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:))
This content originally appeared on DEV Community and was authored by ASHUTOSH KUMAR CHOUDHARY
ASHUTOSH KUMAR CHOUDHARY | Sciencx (2022-02-10T19:18:02+00:00) “BINARY” in 100 words. Retrieved from https://www.scien.cx/2022/02/10/binary-in-100-words/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.