What is exactly bit and byte ?
And why must someone bother himself to say 8 bit is 1 byte?
Is a bit equal to one digit place ?
And What is 32 bit windows?
And why does 4 bit (place) can save numbers from 7 to -8?
Is it related to binary system?
If so then why it isnt 16? Because 2 to power 4 is equal to 16 not 7 ? By the way why 7 ? It must be 8 ! Why 7 ?
Everything is represented in binary-
Binary -> 0 and 1
Bit -> either 0 or 1// single digit.
Byte -> combination of 8 bits.
4 bits is also called a nibble.
4 bits can store 0 to 15 for unsigned integers.
4 bits can store -8 to 7 for signed integers since (2^3)-1=7 and (-2^3)=-8. It is not 2^4 because 1 bit is used as sign bit. Also there is that -1 because 0 is included.
easier to explain by using analogies, but here to me the analogy is hard to find, the more that we will not interfere with the language barrier. I don't speak perfect English, alas. I will not know how you understood this or that thing thoroughly
1111 will be -8 when it is specified that the binary number is a signed number, if not then the number will be unsigned and the decimal value will be 15.
Complements are also used in binary.
Just from the above example
say 1111 is a signed number,
you need to check this number in decimal.
To do so, check the most significant bit(leftmost bit). If it's 1 then the number is negative and you need to take complement of it else just convert binary to decimal.
1|111 --> indicates negative number
Take 1's compliment of the number
1111 --> 0000
Add 1 to the above result
0001 = 1
The compliment gives 1 in the answer and the negative sign from the MSB.
So final answer is 1111(Bin) = -1 (Dec)
information it is the same for everyone. it will be difficult to explain these things just by writing about it here. you will need to study a basic course of computer science, buy a good book on the basics, ask the teacher live, or try to watch videos on YouTube on this topic and understand yourself
No bit not equal to one digit place , bit is used in binary number system(base 2)while digit in decimal(base 10)
32 bit window means your system is able to execute a instruction of 32-bit(one word) at a time.
And for another question use this formula -2^n-1 to (2^n-1 )-1where n is no. of bit
what is bit and byte ? its a unit of information stored digitally.
why 8bit = 1byte ? its a history lesson, wikipedia should have that covered.
32bit windows ? i cant explain it properly, wikipedia isnt a bad place you know.
4bit save number from 7 to -8 ? what ? the maximum value of 4 bit is 15. 1111 its 8+4+2+1.
if you want base 16 number system you can use hexadecimal.
Too many questions in a single thread Elijah. If you want to know about binary numbers, and it sounds like you do, then I recommend you start by reading...
This will help you understand why systems progressed from 8-bit computers to 16-bit, 32-bit to the current generation 64-bit architectures.
Incidentally, the first commercially available mcu was the Intel 4004 which had a 4-bit cpu.