Karteikarten
File handling and exceptions
Karten in diesem Stapel (4)
- 1What is a text file?Text file: a file that contains human readable characters
- 2What is a binary file?Binary file: stores data as sequences of 1s and 0s.
- 3What is a record and What is a field.Record: one line of a text file
Field: an item of data - 4Why do we use exception handling?To catch errors to prevent the program from crashing.
Common errors include:
-trying to read a non-existent file
-trying to convert a non numerical string entered by user into an integer or real number
-trying to perform calculations with non-numerical value
-division by zero
Informationen
- Beschreibung
- A level Computing (Unit1) Karteikarten am File handling and exceptions, erstellt von Thomas Barker am 23/01/2018.
- Erstellt von
- Thomas Barker
- Aufrufe
- 0
- Bewertung
Mehr zu Robust Programming and Testing