71.What is a file?
A file is a named collection of related information that is recorded on secondary storage. A file contains either programs ordata. A file has certain "structure" based on its type.
• File attributes: Name, identifier, type, size, location, protection, time, date
• File operations: creation, reading, writing, repositioning, deleting, truncating, appending, renaming
• File types: executable, object, library, source code etc.
72.List the various file attributes.
A file has certain other attributes, which vary from one operating system to another, buttypically consist of these:Name, identifier, type, location, size, protection, time, date and user identification
73.What are the various file operations?
The six basic file operations are
• Creating a file
• Writing a file
• Reading a file
• Repositioning within a file
• Deleting a file
• Truncating a file
74.What are the information associated with an open file?
Several pieces of information are associated with an open file which may be:
• File pointer
• File open count
• Disk location of the file
• Access rights
75.What are the different accessing methods of a file?
The different types of accessing a file are:
• Sequential access: Information in the file is accessed sequentially
• Direct access: Information in the file can be accessed without any particular order.
• Other access methods: Creating index for the file, indexed sequential access method (ISAM) etc.
76.What is Directory?
The device directory or simply known as directory records
information-such as name, location, size, and type for all files
on that particular partition. The directory can be viewed as a
symbol table that translates file names into their directory
entries.
77.What are the operations that can be performed on a directory?
The operations that can be performed on a directory are
• Search for a file
• Create a file
• Delete a file
• Rename a file
• List directory
• Traverse the file system
78.What are the most common schemes for defining the logical structure of a directory?
The most common schemes for defining the logical structure of a directory
• Single-Level Directory
• Two-level Directory
• Tree-Structured Directories
• Acyclic-Graph Directories
• General Graph Directory
79.Define UFD and MFD.
In the two-level directory structure, each user has her own user file directory (UFD). Each UFD has a similar structure, but lists only the files of a single user. When a job starts the system's master file directory (MFD) is searched. The MFD is indexed by the user name or account number, and each entry points
to the UFD for that user.
80.What is a path name?
A pathname is the path from the root through all subdirectories to a specified file. In a two-level directory
structure a user name and a file name define a path name.
A file is a named collection of related information that is recorded on secondary storage. A file contains either programs ordata. A file has certain "structure" based on its type.
• File attributes: Name, identifier, type, size, location, protection, time, date
• File operations: creation, reading, writing, repositioning, deleting, truncating, appending, renaming
• File types: executable, object, library, source code etc.
72.List the various file attributes.
A file has certain other attributes, which vary from one operating system to another, buttypically consist of these:Name, identifier, type, location, size, protection, time, date and user identification
73.What are the various file operations?
The six basic file operations are
• Creating a file
• Writing a file
• Reading a file
• Repositioning within a file
• Deleting a file
• Truncating a file
74.What are the information associated with an open file?
Several pieces of information are associated with an open file which may be:
• File pointer
• File open count
• Disk location of the file
• Access rights
75.What are the different accessing methods of a file?
The different types of accessing a file are:
• Sequential access: Information in the file is accessed sequentially
• Direct access: Information in the file can be accessed without any particular order.
• Other access methods: Creating index for the file, indexed sequential access method (ISAM) etc.
76.What is Directory?
The device directory or simply known as directory records
information-such as name, location, size, and type for all files
on that particular partition. The directory can be viewed as a
symbol table that translates file names into their directory
entries.
77.What are the operations that can be performed on a directory?
The operations that can be performed on a directory are
• Search for a file
• Create a file
• Delete a file
• Rename a file
• List directory
• Traverse the file system
78.What are the most common schemes for defining the logical structure of a directory?
The most common schemes for defining the logical structure of a directory
• Single-Level Directory
• Two-level Directory
• Tree-Structured Directories
• Acyclic-Graph Directories
• General Graph Directory
79.Define UFD and MFD.
In the two-level directory structure, each user has her own user file directory (UFD). Each UFD has a similar structure, but lists only the files of a single user. When a job starts the system's master file directory (MFD) is searched. The MFD is indexed by the user name or account number, and each entry points
to the UFD for that user.
80.What is a path name?
A pathname is the path from the root through all subdirectories to a specified file. In a two-level directory
structure a user name and a file name define a path name.
No comments:
Post a Comment