computer

posted by .

Why adding only characters to a text file may increase the file's size by several hundred bytes and at other times may not increase the file's size at all?

  • computer -

    You are probably looking at the directory listing. Some list them as the real size, some list them as what has been assigned. Operating systems do not assign one byte at a time when the file needs to expand. Space is assigned in blocks, of which a common size is 512 bytes.

    So as long as the content of the file does not exceed the last assigned block, the file size does not increase. Once it is exceeded, the operating system will assign an extra block of 512 bytes, thus your observation.

Respond to this Question

First Name
School Subject
Your Answer

Similar Questions

  1. MATH

    Estimate the file size (21,500 bytes)as millions of bytes or megabytes.
  2. IT

    Can someone check this for me please.. 18 MB of data are to be transmitted over a a megabyte per second connection. How long should the complete transaction take, to the nearest 0.1s. Size of file / data rate so, 18,874,368 bytes / …
  3. IT computer memory

    Can someone check this for me please.. 18 MB of data are to be transmitted over a a megabyte per second connection. How long should the complete transaction take, to the nearest 0.1s. Size of file / data rate so, 18,874,368 bytes / …
  4. IT computer memory

    Hi, Can someone check this for me please.. 18 MB of data are to be transmitted over a a megabyte per second connection. How long should the complete transaction take, to the nearest 0.1s. Size of file / data rate so, 18MB x 10^6 x …
  5. computer science

    Q1)18 MB of data are to be transmitted over a 4 megabits per second connection. How long should the complete transmission take, to the nearest 0.1 s?
  6. operating system

    in windows vista, how do you organize file list by file size?
  7. Law

    for my CSE 1010 course I solved every single problem in my text book. Sense it's a electronic file I could easily publish it to the internet. My only concern is copyrights behind all of it. All work in the file is all my work, except …
  8. pre-algebra

    1. Jaron is downloading a file. The size of the file is 3200 KB. It takes 3 minutes to download the first 1200KB of the file. If the file continues downloading at the same rate, how many more minutes will it take to finish downloading?
  9. Statistical Reasoning

    The size of an e-mail file is stated as 210 KB, but the file size is actually 220.5KB. What is the absolute error?
  10. Microsoft word

    Suppose you want to delete an existing file from within Word. What would you do?

More Similar Questions