File management Flashcards

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
Q

File ______ operation is performed just to read the data that are stored in the required file.

A

read

26
Q

The file ____ operation is used to write the data to the file, again, generally at the current position.

A

write

27
Q

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.

A

append

28
Q

For random access files, a method is needed just to specify from where to take the data. Therefore, the file ____ operation performs this task.

A

seek

29
Q

The file ____ operation is used to change the name of the existing file.

A

rename

30
Q

is a list of files that stores all the related information about the file it hold with the contents

A

Directory

31
Q

______ is a list of files

A

Directory

32
Q

Types of directories (3)

A

• Single-level directory structure
• Two-level directory structure
• Tree-structured directory structure

33
Q

in a ______ directory system, all the files are placed in one directory

A

single-level

34
Q

in the ____ directory system, the system maintains a master block that has one entry for each user.

A

two-level

35
Q

in the _____ directory, the directory themselves are files. This files to the possibility of having sub-directories that can contain files and sub-subdirectories

A

tree-structured

36
Q

File Management System Structure
Layered file system (6)

A

• 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
Q

layer where user creates application program

A

Application program layer

38
Q

The meta data information is managed at this layer

A

Logical file system layer

39
Q

Layer that maintains information about file

A

File Organization Module Layer

40
Q

Layer that:
- generates command for device driver
- also manage buffer memory and cache

A

Basic file system layer

41
Q
  • it consists of device driver & interrupt handler
  • transfer data: between main memory to disk system.
A

I/O control interface layer

42
Q
  • it consists of device driver & interrupt handler
  • transfer data: between main memory to disk system.
A

I/O control interface layer

43
Q

contain actual hardware device

A

Physical hardware device layer

44
Q

A reduction in the amount of bits required to represent data is known as ____.

A

data compression

45
Q

______ can save storage capacity, speed up file transfer and decrease costs for storage hardware and network bandwidth.

A

Compressing data

46
Q

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.

A

ZIP, GZIP