File management Flashcards

(46 cards)

1
Q

Also called the File Management System and is the software responsible for creating, deleting, modifying, controlling access to files.

A

File manager

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

Provides support for libraries of programs to online users, for spooling operation, and for interactive computing.

A

File manager

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q
  • The building blocks of any operation system
  • Permanent storage of information & data
A

Files

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

__ is not interested in what information is stored in file
__ maps files with physical devices.

A

OS

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

___ represent program and data.

A

File

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

The output of program is called ____.

A

executable file

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

______ mechanism refers to the manner in which the records of a file may be accessed

A

File access

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

There are several ways to access files (3)

A

• Sequential File Access
• Direct File Access
• Indexed File Access

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

Is a method of accessing data
sequentially/one record at a time
by starting from the beginning of the file to its end.

A

Sequential file access

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

This access method is the most
primitive and straightforward
method of accessing files.

A

Sequential file access

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

Direct file access is also known as ____

A

Random file access

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

Also known as Random file access

A

Direct file access

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

Allows users to access data directly from any location within the file without the need to read/write all the records that come before it.

A

Direct file access

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

Is a method that incorporates the benefits of both sequential and direct file access.

A

Indexed file access

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

Creating an index file that maps logical keys or data elements to their corresponding physical addresses within the file.

A

Indexed file access

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

refers to the ability of the operating system to distinguish different types of file such as text files, source files, and binary files etc.

A

File types

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

Operating system like MS-DOS and UNIX have the following types of files:

A

• Ordinary files
• Directory files
• Special files

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

• These are the files that contains user information.
• These may have text, databases or executable program.
• The user can apply various operations on such files like
- add, modify, delete or even remove the entire file.

A

Ordinary files

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

• Contains list of file and other related information to those files.
• Also known as “folders” in other operating systems.
• Folders that holds and organize multiple files.

A

Directory files

20
Q

• These files are also known as device files.
• Represents physical devices like - disks, terminals, printers, networks, tape drive etc.

A

Special files

21
Q

These files are of two types of special files

A

• Character special files
• Block special files

22
Q

Data is handled character by character as in case of terminals or printers.

A

Character special files

23
Q

Data is handled in blocks as in the case of disks and tapes.

A

Block special files

24
Q

File operations (9)

A

• Create
• Delete
• Open
• Close
• Read
• Write
• Append
• Seek
• Rename

25
File ______ operation is performed just to read the data that are stored in the required file.
read
26
The file ____ operation is used to write the data to the file, again, generally at the current position.
write
27
The file ____ operation is same as the file write operation except that the file append operation only add the data at the end of the file.
append
28
For random access files, a method is needed just to specify from where to take the data. Therefore, the file ____ operation performs this task.
seek
29
The file ____ operation is used to change the name of the existing file.
rename
30
is a list of files that stores all the related information about the file it hold with the contents
Directory
31
______ is a list of files
Directory
32
Types of directories (3)
• Single-level directory structure • Two-level directory structure • Tree-structured directory structure
33
in a ______ directory system, all the files are placed in one directory
single-level
34
in the ____ directory system, the system maintains a master block that has one entry for each user.
two-level
35
in the _____ directory, the directory themselves are files. This files to the possibility of having sub-directories that can contain files and sub-subdirectories
tree-structured
36
**File Management System Structure** Layered file system (6)
• Application program layer • Logical file system layer • File organization module layer • Basic file system layer • I/O control interface layer • Physical hardware device layer
37
layer where user creates application program
Application program layer
38
The meta data information is managed at this layer
Logical file system layer
39
Layer that maintains information about file
File Organization Module Layer
40
Layer that: - generates command for device driver - also manage buffer memory and cache
Basic file system layer
41
- it consists of device driver & interrupt handler - transfer data: between main memory to disk system.
I/O control interface layer
42
- it consists of device driver & interrupt handler - transfer data: between main memory to disk system.
I/O control interface layer
43
contain actual hardware device
Physical hardware device layer
44
A reduction in the amount of bits required to represent data is known as ____.
data compression
45
______ can save storage capacity, speed up file transfer and decrease costs for storage hardware and network bandwidth.
Compressing data
46
When information is sent or received via the internet, larger files -- either singly or with others as part of an archive file -- may be transmitted in a __, __ or other compressed format.
ZIP, GZIP