file management Flashcards

1
Q

File management

A

is the storing, naming, sorting and handling computer files

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

file

A

named collection of related information that is recorded on secondary storage such as magnetic disks, magnetic tapes and optical disks

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

File Concept

A

 A file is a collection of similar records

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

 Path

A

The path refers to the exact location of the file and indicates to the computer user the entire sequence that must be followed to find the file

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

 File Extension

A

The file extension appears after the period in the filename and is used to indicate the type of format the file is in.

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

 Zipping (Compressing

A

Zipping is the process of packaging a folder that contains multiple files into a single file (called a “Compressed” or “Zipped” folder).

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

File Attributes

A
  • Name – only information kept in human-readable form.
  • Identifier – unique tag (number) identifies file within file system
  • Type – needed for systems that support different types
  • Location – pointer to file location on device
  • Size – current file size
  • Protection – controls who can do reading, writing, executing
  • Time, date, and user identification – data for protection, security, and usage monitoring
  • Information about files are kept in the directory structure, which is maintained on the disk
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

File Operations

A

Create: A new file is defined and positioned within the structure of files.
Delete: A file is removed from the file structure and destroyed.
Open: An existing file is declared to be “opened” by a process, allowing the process to perform functions on the file.
Close: The file is closed with respect to a process, so that the process no longer may perform functions on the file, until the process opens the file again.
Read: A process reads all or a portion of the data in a file
Write: A process updates a file, either by adding new data that expands the size of the file or by changing the values of existing data items in the file

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

Operations on Files

A

Creating a file
Reading a file
Writing a file
Deleting a file
Repositioning in a file
Truncating a file

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

File Types – Name, Extension

A

File type refers to the ability of the operating system to distinguish different types of file such as text files source files and binary files

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

Ordinary files

A
  • These are the files that contain user information
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Directory files

A
  • These files contain list of file names and other information related to these files
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Special files

A
  • These files are also known as device files.
  • These files represent physical device like disks, terminals, printers, networks, tape drive etc.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Types of special files

A
  • Character special files - data is handled character by character as in case of terminals or printers.
  • Block special files - data is handled in blocks as in the case of disks and tapes
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

File Management Systems

A

A file management system is that set of system software that provides services to users and applications in the use of files

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

objectives for a file management system

A
  • To meet the data management needs and requirements of the user which include storage of data and the ability to perform the aforementioned operations.
  • To guarantee, to the extent possible, that the data in the file are valid.
  • To optimize performance, both from the system point of view in terms of overall throughput.
  • To provide I/O support for a variety of storage device types.
  • To minimize or eliminate the potential for lost or destroyed data
16
Q

File-System Mounting

A

The stem is given the name of the device, and the location within the file structure at which to attach the file system

17
Q

File Access Mechanisms

A

File access mechanism refers to the manner in which the records of a file may be accessed. There are several ways to access files:
* Sequential access
* Direct/Random access
* Indexed sequential access

18
Q

Sequential access

A

A sequential access is that in which the records are accessed in some sequence, i.e., the information in the file is processed in order, one record after the other

18
Q

Direct/Random access

A
  • Random access file organization provides, accessing the records directly.
  • Each record has its own address on the file with by the help of which it can be directly accessed for reading or writing.
  • The records need not be in any sequence within the file and they need not be in adjacent locations on the storage medium
19
Q

Space Allocation

A
  • Contiguous Allocation
  • Linked Allocation
  • Indexed Allocation
20
Q

Contiguous Allocation

A
  • Each file occupies a contiguous address space on disk.
  • Assigned disk address is in linear order.
  • Easy to implement.
  • External fragmentation is a major issue with this type of allocation technique
21
Q

Linked Allocation

A
  • Each file carries a list of links to disk blocks.
  • Directory contains link / pointer to first block of a file.
  • No external fragmentation
  • Effectively used in sequential access file.
  • Inefficient in case of direct access file.
21
Q

Indexed Allocation

A
  • Provides solutions to problems of contiguous and linked allocation.
  • An index block is created having all pointers to files.
  • Each file has its own index block which stores the addresses of disk space occupied by the file.
  • Directory contains the addresses of index blocks of files
22
Q

What is file security?

A

File security is all about safeguarding your business-critical information from prying eyes by implementing stringent access control measures and flawless permission hygiene

23
Q

Type of File protection

A
  • File Permissions
  • Encryption
  • Access Control Lists
  • Auditing and Logging