Bytes--Measured or Counted I hope the Computer Science section is the appropriate place to ask this question. I’m working on profiling some data sets and I am a bit tripped up on something, I was hoping I could get some assistance. 

Part of my project is to determine whether some of my data is an integer and whether is a continuous or discrete quantity.

I understand that in a simple sense Discrete data is counted and Continuous data is measured. I also know Discrete Data can only take on certain values while Continuous Data can take on any values. 

It seems that the size of a computer file (in bytes) could take on either of these descriptions because bytes are based on bits and are based on a power of 2 (which would make it discrete). However at the same time a file size could be Continuous because it could be of any size.

If anyone could help me out it would be greatly appreciated! Also if you are aware if I misunderstood something please let me know!
A file size is measured in bits, you cannot have a portion of a bit, only a whole bit, it is a discrete quantity. Something is continuous if it can can have any possible value in a range, bounded or not. Something can be discrete and at the same time infinite.

The best way to think about discrete or continuous is if for any two values you can find a value between them then it is continuous, otherwise it is discrete.