Binary number system and it's working

Binary number system: In this particular tutorial we are going to learn about the binary number system. we also have gone to look at how the binary numbers work in the hardware. so you will get the full understanding that how the base two numbers called Bits and Bytes implement in the real world. 

Binary number system
binary number system

Binary number system

The binary number system is a number system that represents the mathematical numbers in zero (0) and one (1)
for example, if I took the number 9 then the binary representation of number 9 is 1001. so, how we convert numbers in the binary number.

let's take an example to understand the conversion. let's say we have number 9 which is a math number. so how we can represent 9 in a binary number.


The process to convert numbers into a binary number.


To convert 9 into a binary number we divide the number 9 by 2. as shown in the image given below. 
Binary number system
binary number system
So when we divide the 9 by 2. then the reminder we get is 1001. and to convert number 9 into a binary number. we need to arrange the remainder in the bottom to top or right to left manner. 
so to arrange the remainder in the bottom to the top manner we get 1001. so this is the binary representation of number 9. 

The binary numbers and how it works in the hardware.

Bits and bytes:  

Human beings work with base 10 numbers. and every mathematically condition based on 10 numbers.(0,1,2,3,4,5,6,7,8,9)
but the computer works with bits and bytes.
[0][1]
Note: 8 bit equal to 1 byte. 

we have 10 numbers and the computer has only two numbers. a computer has only bits and bytes to work on it. it can be a not(0) or it can be one(1). it cannot be the same at a time. it either be one(1) or either be not(0).

How do the Bits work in our hardware?

Binary number system

Our computer is a very complex magnet. and bits are actually magnetic charges. not(0) is a negative charge and one(1) is the positive charge.
by using the electronics computer we can work with base 2, not(0) and one(1)

Our computer is a very delicate magnet. that's why if we used a powerful magnet on our computer. we could potentially store-wide data of hard drive.

we can solve the data flows to our processor. so that's why a bit has worked with two charges negative(0) and positive(1).


Note: it's only because of the stick of a magnet on our computer is not a very good idea.
If you like this post then please share this post. also, comment for any question and for any required post.
you can also follow me via your email address to get daily updates about the new courses.
Also, see my other post:
Previous Post
First

Yash is a Full Stack web developer. he always will to help others. and this approach takes him to write this page.

Related Posts