473,395 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

KBits

I am confused on this matter.
1 KByte = 1024 bytes.

1 Kbit = 1000 or 1024 bits?
I have found contradictory references on the web.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #1
6 1904
Ioannis Vranos wrote in news:1099200033.863768@athnrd02 in comp.lang.c++:
I am confused on this matter.
1 KByte = 1024 bytes.

1 Kbit = 1000 or 1024 bits?
I have found contradictory references on the web.


This doesn't have anything to do with C++, you should really try:

news:comp.programming.

<OT>
AIUI only SI http://physics.nist.gov/cuu/Units/prefixes.html define
what the k prefix means (x 1000), using uppercase K to mean x 1024
is just an ad hoc convention.
</OT>

Rob.
--
http://www.victim-prime.dsl.pipex.com/
Jul 22 '05 #2
"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:1099200033.863768@athnrd02...
I am confused on this matter.

1 KByte = 1024 bytes.

1 Kbit = 1000 or 1024 bits? Kbit is usually used for memory sizes. For obvious addressing
issues, these are nearly always sized to powers of 2.

(As everyone knows, this reasoning unfortunately does not apply
to hard disk sizes...)
I have found contradictory references on the web.


Read http://en.wikipedia.org/wiki/Kilobyte to find out about
kbits, Kbits=Kibits, and GBytes vs GiBytes...
Cheers,
Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form

Jul 22 '05 #3
Rob Williscroft wrote:
This doesn't have anything to do with C++, you should really try:

Not really. Consider if I wanted to create some class that stores and
manipulates 1 Kbit of information, by using a collection of bitsets, for
example.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #4
Ivan Vecerina wrote:
Kbit is usually used for memory sizes. For obvious addressing
issues, these are nearly always sized to powers of 2.

(As everyone knows, this reasoning unfortunately does not apply
to hard disk sizes...)

I think you meant "Kbyte" with the above. Yes, however OSes are still
reporting the real sizes. :-)

The most lame of all is in the case of DVDs: For example empty one sided
DVDs are called DVD 4.7 GB and DVD-5 while their real capacity is ~4.38 GB!
Read http://en.wikipedia.org/wiki/Kilobyte to find out about
kbits, Kbits=Kibits, and GBytes vs GiBytes...

Thanks. So Kbits usually are 1000 bits. I am talking about network
bandwidth, mainly.

--
Ioannis Vranos

http://www23.brinkster.com/noicys
Jul 22 '05 #5
Ioannis Vranos wrote in news:1099240473.531687@athnrd02 in comp.lang.c++:
Rob Williscroft wrote:
This doesn't have anything to do with C++, you should really try:

Not really. Consider if I wanted to create some class that stores and
manipulates 1 Kbit of information, by using a collection of bitsets, for
example.


Yep it has to do with programming, which is why I suggested:

news:comp.programming.

Rob.
--
http://www.victim-prime.dsl.pipex.com/
Jul 22 '05 #6
"Ioannis Vranos" <iv*@guesswh.at.grad.com> wrote in message
news:1099240756.376433@athnrd02...
Read http://en.wikipedia.org/wiki/Kilobyte to find out about
kbits, Kbits=Kibits, and GBytes vs GiBytes...


Thanks. So Kbits usually are 1000 bits. I am talking about network
bandwidth, mainly.


Actually, 1000 bits would be a kbit (lowercase),
while for 1024 bits, Kbit (uppercase K) is the suggested
alternative to 1 Kibit (1024 bits).
But that's theory.

For network/communication bandwidth, the decimal coefficients
are most likely used. (And the given bandwidth values
themselves are theoretical maxima anyway - all protocols
introduce overhead...)
Cheers,
Ivan
--
http://ivan.vecerina.com/contact/?subject=NG_POST <- email contact form
Jul 22 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: hokiegal99 | last post by:
This is not really a Python-centric question, however, I am using Python to solve this problem (as of now) so I thought it appropiate to pose the question here. I have some functions that search...
4
by: Maileen | last post by:
Hi, I use the /clr option due to my needs for automation of Excel. Unfortunately this option excludes /Gm which normal should reduce the build... instead of having a build of 40 000 kbits, now...
2
by: mattieG | last post by:
I'm having trouble getting my preloader to display the kbps rate, it shows Time Elapsed, Bytes loaded, Total Bytes, but I just can seem to get the byte speed right. Can anyone help me? I've seen...
4
by: LuisRibeiro | last post by:
Hello. I have a web site that is used to do network performance tests. When a user performs a test, a results page is opened and the information shows inside a table. What i'd like to do is if the...
26
by: sam_cit | last post by:
Hi Everyone, I'm in a need to allocate huge memory block of size 50kb. How can i use malloc() for this purpose, asuming sizeof(int) is two bytes? Thanks in advance!!!
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.