+ 2

bit and byte

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 ?

6th Dec 2019, 4:59 PM
Elijah
Elijah - avatar
19 Answers
+ 4
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.
6th Dec 2019, 5:27 PM
Avinesh
Avinesh - avatar
+ 2
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
6th Dec 2019, 5:10 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 2
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 0000 + 1 -------- 0001 = 1 The compliment gives 1 in the answer and the negative sign from the MSB. So final answer is 1111(Bin) = -1 (Dec)
6th Dec 2019, 7:41 PM
blACk sh4d0w
blACk sh4d0w - avatar
+ 1
You tryed find it in Google?
6th Dec 2019, 5:02 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Yeah but i want someone explain me all together in simple way
6th Dec 2019, 5:03 PM
Elijah
Elijah - avatar
+ 1
I mean the way he learned himself
6th Dec 2019, 5:04 PM
Elijah
Elijah - avatar
+ 1
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
6th Dec 2019, 5:08 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
+ 1
Thank you i will try myself
6th Dec 2019, 5:21 PM
Elijah
Elijah - avatar
+ 1
By the way can someone introduce me any book or website for basic learners?
6th Dec 2019, 5:24 PM
Elijah
Elijah - avatar
+ 1
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
7th Dec 2019, 9:08 PM
Pooja
Pooja - avatar
+ 1
please search in google
8th Dec 2019, 9:15 AM
Rahman Mohammad Rahimi
Rahman Mohammad Rahimi - avatar
+ 1
Bit refers to either 0 or 1 Where as collection of 8 bits
8th Dec 2019, 10:32 AM
Jakkula Sushma
Jakkula Sushma - avatar
0
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.
6th Dec 2019, 5:23 PM
Taste
Taste - avatar
0
Yeah but i have heard that in 1111 the first digit is used for the sign , i mean being postive or negetive , something like that, i mean 1111 is equal to +7 !?
6th Dec 2019, 5:31 PM
Elijah
Elijah - avatar
0
0 represents positive and 1 represents negative Edit: so that is -8 there.
6th Dec 2019, 5:32 PM
Avinesh
Avinesh - avatar
0
Thank you
6th Dec 2019, 5:48 PM
Elijah
Elijah - avatar
0
It seem that there is a delay on sending messages
6th Dec 2019, 5:50 PM
Elijah
Elijah - avatar
0
I have also heard about complements in binary system , is it related?
6th Dec 2019, 5:58 PM
Elijah
Elijah - avatar
0
One bit is one binary digit. Either one or zero. Byte is 8 bits.
8th Dec 2019, 6:21 AM
Gayani Abeykoon
Gayani Abeykoon - avatar