Data 2 Flashcards
What are the types of data?
-Boolean
-Character
-Date
-Integer
-Real
-String
Advantages of File based systems
-No extra storage needed for directory, so storage overheads are lower
- Easy to add records as they can be appended to the end of the file or inserted in their correct location in a file
-Collisions cannot occur
-Allows for sequential processing of all records
What are some common data formats used for storing and exchanging information in computing?
-ASCII
-CSV
-JSON
-XML
-Fixed width text file
Disadvantages of File based systems
-Access to records is sequential so on average the access time will be longer.
Advantages of Directory based system
-Faster access times as records can be accessed in a direct manner using a file directory.
-Directories can be layered to speed up access times further.
Disadvantages of Directory based system
-Storage overheads are larger as the directory must be stored.
-Collisions will occur as the number of records increase, resulting in more use made of overflow areas and slower access times.
-Directories will have to be redesigned if the access times become too long, and the structure will need
to be rebuilt.
-Does not allow easy sequential processing.