It depends on the type of integer (such as long, short, int and char) and the specific implementation of C++. The only guarantee is that a char must occupy one byte (sizeof(char)==1). An int is typically 32-bits (4 bytes), but only sizeof(int) can tell you for sure.
11 bits (which actually allows -1024 to 1023)
In order to know how many bits/second there are in 1 frame/second, you need to know how many bits are in that frame. In a typical asychronous serial protocol with 8 bits per frame, the bit rate would be 0.125 bits/second. If you are talking the IP network layer of TCP/IP, then the frame size is very dependent on the underlying message payload and headers.The original question, by the way, is invalid. Its asks "how many bits does...", but it should have asked "how manys bits per second does...".
45 in binary is 101101, so you need at least 6 bits to represent 45 characters.
4.1 bit for 2,2 bits for 4,3 bits for 8,4 bits for 16.
To store the hexadecimal number FF, we need to convert it to binary first. FF in hexadecimal is equivalent to 1111 1111 in binary, which requires 8 bits to represent. Each hexadecimal digit corresponds to 4 bits in binary, so two hexadecimal digits (FF) require 8 bits to store.
Using n bits, you can count to 2n - 1. This is for unsigned integers. So 10 bits = 210 - 1 = 1023 14 bits = 214 - 1 = 16383 To count to 511 you need log2(511+1) = log2(512) = 9 bits. To count to 63 you need log2(63+1) = log2(64) = 6 bits.
You need 20 bits of address bus to address 1 Mb of memory.
8
What you need to know about integers is that integers is the name for the group of numbers that include whole numbers and negative numbers. But integers DO NOT include fractions.
Every aspect of mathematics depends upon integers, and even if you don't do any mathematics, you count things with integers. If you even want to know how many guests you are having for dinner, you need to use integers.
Well, honey, to represent months of the year, you need at least 4 bits because you've got 12 months in a year, and you need 4 bits to represent numbers from 0 to 15. So, technically, you could do it with just 4 bits, but if you want to be fancy, you could use 5 bits for a more efficient representation.
11 bits (which actually allows -1024 to 1023)
Infinitely many. Using only integers, 36 - 0 37 - 1 38 - 2 and so on. And of course, there is no need to be limited to integers.
Borrow 5 bits (for 30 subnets total).
Yes, they do. Many products are priced per item. And to figure out the total cost, you need integers to count the number of items.
It depends on the number representation you use and how much resolution you need. If you use a floating point representation, the stored number can be extremely large but have poor resolution. If you need to have a resolution of one count and include a zero, then the largest is 2^20 - 1
Most modern digital cameras use 24 bits (8 bits per primary) to represent a color. But more or less can be used, depending on the quality desired. Many early computer graphics cards used only 4 bits to represent a color.