Computer Applications (UNIT - 4)
Computer Applications (UNIT - 4)
File
File is nothing but an Electronic document. The contents can be ordinary Text or it can be an
executable program. Each file is given a file name to identify it. The File name is in the form:-
File Name. Extension
Filename can consist of Alphabets or combinations of alphabets, numerals and special
characters. Extension indicates the type of file.
Example: Rupak.Doc
Here File name is Rupak
Extension name is .DOC which indicates Document file.
Folder
Folder contains a group of files. Folder is otherwise called as directory. Folder may have a
set of files under it. It may have other folders under it also. This files and folders can be
arranged in hierarchical manner or a tree like structure.
File organization
The arrangement of records in a file is known as File Organization. File Organization deals
with the arrangement of data items in the secondary storage devices. The file organization
deals with how the logical rows of tables are organized on the physical storage medium.
For organizing records efficiently in the form of a computer file, following three things are
important:
(a) A logical method should be selected to organize records in a file.
(b) File structure should be so designed that it would allow quick access to needed data
items.
(c) Means of adding or deleting data items or records from files must be present.
Access Methods
An access method defines the technique that is used to store and retrieve data. An access
method is a function of a mainframe operating system that enables access to data on disk
or other external devices. Access methods have their own data set structures to organize
data, system provided programs to define data sets and utility programs to process data
sets.
Different Types of File Access & Storage Methods
Sequential Access Method
Direct or Random Access Method
Indexed-Sequential Access Method
Data capturing
Data validation
Processing / Execution
Data storage
Data Retrieval
Data Capturing
Data capturing encompasses the activities of inputting data to the computer. Before giving
input to the system the required data are to be first identified and put in the defined format
called source data layout. The aim of this layout is to have faster data entry. To reduce the
volume of data and also have better organization and easy access to data those can suitably
be coded. After data are ready they can be entered to the computer through keyboard. This
is sometimes called data capture through intelligent terminal. The other form of data
capture is through scanners or optical devices. In this type of data capturing data are not
entered rather data are captured from the source document or paper as it is Photographs,
fingerprints, signatures, objective multiple type answers in answer papers etc. are captured
through this method. Another form of data capturing is through some interfacing devices
from where data can be transferred directly to the computer. Example of this is Electronic
cash Registers used in shops and cash counters.
Data Validation
After data capturing, the data is validated. Data validation involves checking of input data to
fit to requirements or specifications. For example price of a book can be numeric only. If by
mistake Alphabetic data are entered then it is checked and error is shown to revalidate the
data. This prevents unwanted and unspecified data to enter into the system and causing
errors.
Processing/Execution
The valid input data are stored in file or database and processed as per the instructions. The
instructions are put in programs or software. This software or program, when executed does
the processing of input data and produces the output. Again outputs are stored in files in
memory.
Data Storage
After processing of data, the outputs are produced. The outputs may be formed in different
ways depending on the requirements and specifications. The same set of data can be
printed in tabular form or in form of graphs. There is variety of ways for presenting data.
The printed output is sometimes called hardcopy. There can be provision of answering to
queries of user where the answer is displayed on the monitor screen itself. So it depends on
the requirements of user.
Data Retrieval