At the end of this module, you should be able to:
A file is a collection of information saved on a computer, phone or other digital device.
Think about your school notebook. You use it to write down your subjects, assignments, examination scores and other important information.
A computer file works in a similar way. It stores information so that you can open it and use it whenever you need it.
Examples of computer files include:
CSV means Comma-Separated Values.
A CSV file is a simple file used to store information in rows and columns. It separates different pieces of information with commas.
Imagine your teacher has a list of students and their examination scores. The teacher can save the information in a CSV file.
Name,Age,Subject,Score
David,13,Mathematics,85
Mary,12,English,90
John,13,Science,78
Grace,12,Computer Studies,95
Notice that each line contains information about one student. The commas separate the different details.
CSV files are useful when you want to move information from one application to another or store simple lists of data.
Microsoft Excel is a computer application used to organise information, perform calculations and create charts.
An Excel file is a document created using Microsoft Excel. It usually has the file extension .xlsx.
Think of Excel as a digital notebook made up of small boxes. You can enter names, numbers, dates and other information into these boxes.
| Name | Age | Subject | Score |
|---|---|---|---|
| David | 13 | Mathematics | 85 |
| Mary | 12 | English | 90 |
| John | 13 | Science | 78 |
| Grace | 12 | Computer Studies | 95 |
Excel allows you to do more than store information. You can calculate students' average scores, arrange names alphabetically and create charts.
CSV and Excel files can both store information, but they do not work in exactly the same way.
| CSV File | Excel File |
|---|---|
| Usually ends with .csv | Usually ends with .xlsx |
| Stores simple text and values. | Stores data, formulas, charts and formatting. |
| Uses commas to separate values in a typical CSV file. | Organises information in rows, columns and worksheets. |
| Does not preserve Excel formulas or formatting. | Can preserve formulas, formatting and multiple worksheets. |
| Useful for sharing simple data between applications. | Useful for calculations, analysis and reports. |
CSV and Excel files are used in schools, businesses, hospitals, banks and many other places.
You do not always need Microsoft Excel to work with spreadsheet data. Several applications can open or edit these files.
Imagine you are helping your class teacher organise the examination scores of four students.
Study the information below:
| Student | Subject | Score |
|---|---|---|
| David | Mathematics | 80 |
| Mary | English | 92 |
| John | Science | 75 |
| Grace | Computer Studies | 95 |
Complete these activities:
In this module, you learned that CSV and Excel files are used to store and organise information. CSV files are simple and useful for sharing data, while Excel files support formulas, charts, formatting and multiple worksheets.
In the next module, you will learn about rows, columns and cells, which are the building blocks of a spreadsheet.