Depending on the movie length, a 1 hour movie will take up to 100,000 bytes to be produced and a 2 hour movie will take around 300,000 bytes.
1,000 bytes make a kilobyte
2
A java.util.Date object will take about 32 bytes in memory.
16KB, or 16384 bytes, can be addressed with 14 address lines. (214 = 16384)
Approx. 9.3 Gigabytes!
As one byte can hold one letter of the alphabet, to store the word "Sarah" would take 5 bytes.
A plain integer variable in C under windows is 2 bytes in 16 bit windows, and 4 bytes in 32 bit windows.
The answer is 246 sectors. 123 x 1024 bytes per KB = 125,952 total bytes in the file. 125,952 bytes / 512 sectors per cluster = 246 sectors
The number of bytes an integer variable can take depends on the programming language and the system architecture. Typically, in languages like C and C++, an int usually takes 4 bytes (32 bits) on a 32-bit or 64-bit architecture, while a short takes 2 bytes and a long can take 4 or 8 bytes depending on the system. In Python, integers can vary in size and can take more than 4 bytes, depending on their value, as they are dynamically allocated. Always check the specific language documentation for precise details.
1
The phrase "hello world" consists of 11 characters, including a space. In a typical ASCII encoding, each character takes up 1 byte. Therefore, transmitting "hello world" will take 11 bytes. If you include a newline character at the end, it would take 12 bytes.
Umm....4 bytes...you kinda just answered your own question.Now, if you were to have asked "How many bits make a byte," I would have said that "Since there are 8 bits to a byte, you would multiply 8 bits by 4 bytes to get the answer of 32 bits in 4 bytes. Bonus tid-bit of info: 4 bits is a nibble!