Question: 3. what are the similarities between files and arrays?
Answer: What are the similarities between files and arrays ? Arrays and files are both used in programming to store data, but they don't serve exactly the same purposes. They both can be used to store any data type (real number, strings, etc) and they both can be indexed and iterated through. 4.