Data 2 Flashcards

1
Q

What are the types of data?

A

-Boolean
-Character
-Date
-Integer
-Real
-String

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

Advantages of File based systems

A

-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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some common data formats used for storing and exchanging information in computing?

A

-ASCII
-CSV
-JSON
-XML
-Fixed width text file

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Disadvantages of File based systems

A

-Access to records is sequential so on average the access time will be longer.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Advantages of Directory based system

A

-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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Disadvantages of Directory based system

A

-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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q
A
How well did you know this?
1
Not at all
2
3
4
5
Perfectly