CBSE Class 12 Computer Science
Question 102 of 145
File Handling — Question 19
Back to all questionsRenaming a text file's extension to ".csv" does not automatically convert it into a CSV (Comma-Separated Values) file. To create a CSV file, we need to ensure that the file's content adheres to :
- Content Format — A CSV file is structured with data organized into rows and columns, with each field separated by a delimiter, typically a comma (,).
- Delimiter Usage — CSV files require a specific delimiter (usually a comma) to separate fields.
- File Encoding — CSV files are often encoded using standard text encodings such as UTF-8 or ASCII.