Flashcards
File handling & Exceptions
Cards in this deck (4)
- 1Text FileA file that contains human-readable characters. May have several text fields, typically separated by commas in each record. (.txt)
- 2Binary FilesStores data as sequence of 0s and 1s. Contain records with different types of fields such as string, integer, real, Boolean.
- 3Record FieldOne line of a text file.
An item of data. - 4Exception HandlingIntercept and handle exceptions so that your program does not crash. Errors:
Read a non-existent file.
Calculations with non-numeric value
Division by zero.
Information
- Description
- AS level Computing Flashcards on File handling & Exceptions, created by Yousaf Orangzaib on 25/01/2018.
- Created by
- Yousaf Orangzaib
- Views
- 0
- Rating
More on Robust Programming and Testing