Lesson Notes By Weeks and Term - Senior Secondary School 2

Computer files

Class: SSS 2

Term: 2nd Term

Subject: Computer Science

Week 3

Topic: Computer Files

 

A computer file is a resource for storing information which is available to a computer program and is usually based on some kind of durable storage. Computer file can be considered as the modern counter part of paper documents which are traditionally kept in offices and

libraries. A file is “durable” in the sense that it remains available for other programs to use after the program that created it has finished executing. A computer file is a block of arbitrary information, or resource for storing information, which is available to a computer program and is usually based on some kind of durable storage. Computer files can be considered as the modern counterpart of paper documents which traditionally are kept in offices and libraries’ files, and this is the source of the term.

Files are collection of data in a permanent storage media such as hard drive, CD or DVD ROM, floppy disk, memory card, flash drive etc.

A record is a valve that contains other values typically in fixed numbers and typically indexed by names. The elements of records are usually called Fields or Members.

A data item is an atomic state of a particular object concerning a specific property at a certain time. Data item is identified by object (O), property is a function of O, P and (O,P,T) values are represented by symbols like numbers, text, images, sounds, video and others.

Data item refer to a single unit of value e.g. Roll number, Name, Date of Birth, Age e.t.c

 

There are two types of data items They are

  1. Group items
  2. Elementary items

 

Types of files organization

  1. Serial
  2. Sequential
  3. Indexed
  4. Random
  5. Relative

File organization refers to the way records are physically arranged on a storage device. Information in a computer file can consist of smaller packets of information (often called “records” or “lines”) that are individually different but share some trait in common. The way information is grouped into file is entirely up to the person designing the file. Most computer files are used by computer programs. These programs create, modify and delete files for their own use on an as – needed basis.

 

Method of Accessing files

  1. Serial access
  2. Sequential access
  3. Random access

Types of Computer Files

Using my computer as an example, computer file types can be characterized in a few major groups:

  • System File – These usually exist in the “Windows” In most litigation cases, these files are not necessary, but in some cases, they may be critically important. This needs to be documented in the Litigation Response Plan.
  • Program Files – These usually exist in the “Program Files” folder (e.
  1. Microsoft and Adobe products). In most litigation cases, these

 

files are not necessary, but in some cases, they may be critically important. This needs to be documented in the Litigation Response Plan.

  • Document Files – For example, Microsoft Word or Excel These are often important in litigation.
  • Multimedia Files – For example, video, audio, and graphic These are often important in intellectual property cases.
  • Emails – A common and important data type in 

FUNCTIONS OF FILE

  • It provides machine executable code which is used to run application programs and the operating
  • It stores application programs or operating system configuration
  • It stores used data by the user such as Ms

 

File System

BYTE – ORIENTED FILE SYSTEM

In this type of file – system, a file is considered as a sequence of bytes, the operating system supplies routines that can read/write a specific number of bytes. To have any structure in a file, system and application programs accessing the file must adopt some convention that has to be respected by all programs. 

RECORD – ORIENTED FILE SYSTEM

Here a file is a sequence of records of the same type. A record is a sequence of data bytes together with control information about the record’s size and some other properties. This structure is imposed by consistently interpreting the data and control information kept in the records, by the system routine you call in order to perform file input or output. 

ADVANTAGES OF COMPUTERIZED FILES

  • Computer can perform calculations quickly and
  • Data can be retrieved quickly and
  • Lost documents can be
  • Security is tight and hard to break
  • Makes work
  • Quicker to find things and sort
  • Transactions, accounts can be handled more properly by computers than

 

LIMITATIONS OF COMPUTERIZED FILES

  • Computerized filing system is expensive to set
  • Not effective where there is irregular electric
  • Skilled labor with proficiency in computers is 

ASSESSMENT

  1. Files are located by operating system with help of
    • addressing system
    • path file system
    • directory file system
    • header file system
  2. Large collection of structured data that can be used in different applications is called
    • database management
    • management system
    • database
    • data storage system
  1. Destruction of files for malicious reasons such as access by fraudulent people is classified as being
    • modified
    • accessed
    • destroyed
    • unauthorized access
  2. In files, if order of operation on two or more files are similar, then operation will be
    • complex
    • simple
    • sequential
    • combinational
  3. Search in which record is checked and read for desired items in file linearly is classified as
    • combinational
    • linear research
    • linear search
    • quadratic search

ANSWERS

  1. a
  2. c
  3. a
  4. b
  5. c


© Lesson Notes All Rights Reserved 2023