SlideShare a Scribd company logo
CONCEPT OF
COMPUTER
FILES I
TUESDAY, OCTOBER 18, 2016
LEARNING OUTCOMES
At the end of the lesson, I should be able to:
1. Define the following:
a) File
b) Record
c) Field
2. List three types of data
3. Draw the order in a file
structure
Definition of computer files
Computer files are a collection of
related records. They are the
most basic unit of data that
users can store on a disk.
Every program, image, video,
song and document is stored
as a file.
Definition of Record
A record is a collection of
related data items or fields.
Each record normally
corresponds to a specific unit
of information. Examples are:
Employee’s name, basic salary
and house rent allowance.
Field
A field is a collection of related data
items. It a space allocated for a
particular item of information.
A tax form for example contains a
number of fields; one for your name,
one for your tax identification number
(TIN), one for your income and so on.
Data Item
Data item is the smallest unit of information stored in a
computer file. It is a single element used to represent
a fact such as an employee’s name, item price.
Data items are physically arranged as fields in a
computer file.
Types of Data items
1. Numeric data consist of numbers from 0 – 9
2. Alphabetic data consist of letters A –Z
3. Alphanumeric data is a combination of numbers
and letters, can also refer to collection of Latin
letters and Arabic digits or text constructed from
these collection. There are either 36 (Single case) or
62 (Case Sensitive) alphanumeric characters. The
alphanumeric data set consist of number 0-9 and
letters A – Z.
File Structure
Summary of data items:
The data is the smallest unit
of information stored in a
computer file
A field is a collection of
related data items
A record is a collection
of related fields
The collection of
record is a file
The structure of a file in systematic
order from top to bottom
• Data
• Field
•Record
•FILE
Concept of computer files
Evaluation
1. Define the following:
a) File
b) Record
c) Field
2. List three types of data
3. List the order in a file
structure
CONCEPT OF
COMPUTER
FILES II
TUESDAY, OCTOBER 18, 2016
LEARNING OUTCOMES
At the end of the lesson, I should be able to:
a) -identify types of file organization
b) -outline methods of accessing files
c) -Classify computer files
d) -itemize criteria for classifying computer files
 File organization refers primarily to
the logical arrangement of data in a
file system.
Choosing a file organization is a design
decision, hence it must be done having in mind
the achievement of good performance with
respect to the most likely usage of the file. The
criteria usually considered important are:
1. Fast access to single record or collection of
related records.
2. Easy record adding/update/removal,
without disrupting .
3. Storage efficiency.
4. Redundancy as a warranty against data
corruption.
TYPES OF FILE ORGANIZATION
1. Serial
2. Sequential
3. Indexed Sequential
4. Direct Access /Random Access
Serial File Organization
 A collection of records
 No particular sequence
 Cannot be used as master
 Used as temporary transaction file
 Records stored in the order received
 can be stored on magnetic tape e.g. VHS
Sequential File Organization
 A collection of records
 Stored in key sequence
 Adding/deleting record requires
making new file
 Used as master files
 Can be stored on optical disk,
memory stick and magnetic disk.
Sequential file
Advantages
 Simple file design
 Very efficient when most of the records
must be processed e.g. Payroll
 Very efficient if the data has a natural order
 Can be stored on inexpensive devices like
magnetic tape.
Disadvantages
 Entire file must be processed even if a
single record is to be searched.
 Transactions have to be sorted before
processing
 Overall processing is slow
Direct (Random) File
Organization
 Records are read directly from or written on
to the file.
 The records are stored at known address.
 Address is calculated by applying a
mathematical function to the key field.
Direct (Random) File
Organization
 A random file would have to be stored on a
direct access backing storage medium e.g.
magnetic disc, CD, DVD
 Example : Any information retrieval system.
Eg Train timetable system.
Advantages
 Any record can be directly accessed.
 Speed of record processing is very fast.
 Up-to-date file because of online updating.
 Concurrent processing is possible.
Disadvantages
 More complex than sequential
 Does not fully use memory locations
 More security and backup problems
Indexed sequential file
 Each record of a file has a key field which
uniquely identifies that record.
 An index consists of keys and addresses.
 An indexed sequential file is a sequential file
(i.e. sorted into order of a key field) which
has an index.
 A full index to a file is one in which there is
an entry for every record.
Indexed-sequential
organization
Indexed sequential file
Advantages
 Provides flexibility for users who need
both type of accesses with the same
file
 Faster than sequential
 An indexed sequential file can only be
stored on a random access device
only
e.g. magnetic disc, optical disk (CD,
DVD etc.)
Disadvantages
 Extra storage space for the index is
required
Methods of accessing
computer files
 Serial file access
 Sequential file access
 Direct/Random file access
Computer file classification
 Mater file
 Transaction file
 Reference/work file
Computer file classification
A file is a collection of data that is treated as a
single unit on a peripheral device.
TYPES OF FILES-
Master file
 It contains record of permanent data types.
 They are created when you install your business.
Transaction file
Contains data which is used to update the
records of master file. Ex-address of a
customer.
Transaction files also serves as audit trails
and history of the organization.
Reference/Work files
This is a file with reasonable amount of
permanency. Examples of data used for
reference purposes are price list, tables of
rates of pay, names and addresses.
Criteria for Computer file classification
Criteria for classifying computer files are:
 By nature of content: refers to the nature of
file content
 By organization method: refers to the way
files are arranged e.g. serial, sequential,
random etc.
 By storage medium: refers to storage
devices in which a file could only be stored
such as magnetic or optical disk and
magnetic tape.
Evaluation
1. -identify types of file organization
2. -outline methods of accessing files
3. -Classify computer files
4. -itemize criteria for classifying computer files
Assignment
1. Read up the topic: “handling
computer files”.
2. Outline the operating procedure for
computer data processing [see pages 86
& 87 of your ICT textbook]
Terminologies
 Serial
 Sequential
 Random
 Index

More Related Content

PPTX
introduction to windows (history of windows)
PPTX
Coc 1 basic computer parts
PPTX
Introduction to Corel Draw
PPTX
Introduction to ICT - lecture 1
PPT
Logic gates
PPT
File organisation
PPT
File management ppt
PPTX
File management
introduction to windows (history of windows)
Coc 1 basic computer parts
Introduction to Corel Draw
Introduction to ICT - lecture 1
Logic gates
File organisation
File management ppt
File management

What's hot (20)

PPTX
Storage device
PPTX
Computer software
PPT
Chapter 3 Motherboard and BIOS
PPTX
Computer storage
PPTX
Computer memory presentation
PPTX
COMPUTER SYSTEM AND ITS COMPONENTS
PPTX
Ms DOS
PPTX
Concept of computer files for Grade 12 learners
PPT
Partitioning a Hard Drive
PPT
File Management in Operating Systems
PPTX
Operating system-1
PPT
Computer hardware and its components
PPTX
File Management (1).pptx
PPT
Files and Folders
PPTX
Wk 1 - File organization.pptx
PPTX
Computer software
PPTX
Types of operating system
PPTX
Installing windows 10
PPT
Types of Storage Devices
PPTX
Computer memory
Storage device
Computer software
Chapter 3 Motherboard and BIOS
Computer storage
Computer memory presentation
COMPUTER SYSTEM AND ITS COMPONENTS
Ms DOS
Concept of computer files for Grade 12 learners
Partitioning a Hard Drive
File Management in Operating Systems
Operating system-1
Computer hardware and its components
File Management (1).pptx
Files and Folders
Wk 1 - File organization.pptx
Computer software
Types of operating system
Installing windows 10
Types of Storage Devices
Computer memory
Ad

Similar to Concept of computer files (20)

PPT
File organisation in system analysis and design
PPTX
Concept of Computer files for year 10.pptx
PPT
File organisation
PPT
Fileorganization AbnMagdy
PPT
File organization
PPT
Unit 3
PPTX
File organization and introduction of DBMS
PDF
fileorganizationandintroductionofdbms-210313163900.pdf
PPT
Understanding EDP (Electronic Data Processing) Environment
PDF
Degonto file management
PPT
Computer Data Processing And Representation 4
PPTX
FILE MANAGEMENT.pptx
PPT
Computers14 Ch6
DOC
rdbms-notes
PPTX
Unit 6 OSY.pptx aaaaaaaaaaaaaaaaaaaaaaaa
PPT
presentations
PPT
Ie Storage, Multimedia And File Organization
PPTX
File Management – File Concept, access methods, File types and File Operation
PPT
File Carving
File organisation in system analysis and design
Concept of Computer files for year 10.pptx
File organisation
Fileorganization AbnMagdy
File organization
Unit 3
File organization and introduction of DBMS
fileorganizationandintroductionofdbms-210313163900.pdf
Understanding EDP (Electronic Data Processing) Environment
Degonto file management
Computer Data Processing And Representation 4
FILE MANAGEMENT.pptx
Computers14 Ch6
rdbms-notes
Unit 6 OSY.pptx aaaaaaaaaaaaaaaaaaaaaaaa
presentations
Ie Storage, Multimedia And File Organization
File Management – File Concept, access methods, File types and File Operation
File Carving
Ad

More from Samuel Igbanogu (16)

PPTX
Systems development cycle
PPTX
Data conversion
PPTX
Algorithms and flowcharts
PPTX
Classification of computers with respect to size
PPTX
Classification of computers by type
PPTX
Classification of computers by generation
PPTX
Computer system soft ware
PPTX
Relational models
PPTX
Handling computer files
PPTX
Entity relationship model
PPTX
Output devices
PPTX
Computing devices i
PPT
Logic gates i & ii
PPTX
Input devices
PPTX
Data models
PPTX
Normal forms
Systems development cycle
Data conversion
Algorithms and flowcharts
Classification of computers with respect to size
Classification of computers by type
Classification of computers by generation
Computer system soft ware
Relational models
Handling computer files
Entity relationship model
Output devices
Computing devices i
Logic gates i & ii
Input devices
Data models
Normal forms

Recently uploaded (20)

PDF
Microbial disease of the cardiovascular and lymphatic systems
PPTX
Week 4 Term 3 Study Techniques revisited.pptx
PPTX
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
PDF
2.FourierTransform-ShortQuestionswithAnswers.pdf
PDF
O5-L3 Freight Transport Ops (International) V1.pdf
PDF
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
PPTX
Cell Structure & Organelles in detailed.
PDF
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
PDF
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
PPTX
human mycosis Human fungal infections are called human mycosis..pptx
PPTX
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
PPTX
Renaissance Architecture: A Journey from Faith to Humanism
PDF
Basic Mud Logging Guide for educational purpose
PDF
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
PDF
Supply Chain Operations Speaking Notes -ICLT Program
PDF
Classroom Observation Tools for Teachers
PDF
Abdominal Access Techniques with Prof. Dr. R K Mishra
PPTX
master seminar digital applications in india
PPTX
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
PDF
102 student loan defaulters named and shamed – Is someone you know on the list?
Microbial disease of the cardiovascular and lymphatic systems
Week 4 Term 3 Study Techniques revisited.pptx
IMMUNITY IMMUNITY refers to protection against infection, and the immune syst...
2.FourierTransform-ShortQuestionswithAnswers.pdf
O5-L3 Freight Transport Ops (International) V1.pdf
Origin of periodic table-Mendeleev’s Periodic-Modern Periodic table
Cell Structure & Organelles in detailed.
Mark Klimek Lecture Notes_240423 revision books _173037.pdf
grade 11-chemistry_fetena_net_5883.pdf teacher guide for all student
human mycosis Human fungal infections are called human mycosis..pptx
The Healthy Child – Unit II | Child Health Nursing I | B.Sc Nursing 5th Semester
Renaissance Architecture: A Journey from Faith to Humanism
Basic Mud Logging Guide for educational purpose
Chapter 2 Heredity, Prenatal Development, and Birth.pdf
Supply Chain Operations Speaking Notes -ICLT Program
Classroom Observation Tools for Teachers
Abdominal Access Techniques with Prof. Dr. R K Mishra
master seminar digital applications in india
PPT- ENG7_QUARTER1_LESSON1_WEEK1. IMAGERY -DESCRIPTIONS pptx.pptx
102 student loan defaulters named and shamed – Is someone you know on the list?

Concept of computer files

  • 2. LEARNING OUTCOMES At the end of the lesson, I should be able to: 1. Define the following: a) File b) Record c) Field 2. List three types of data 3. Draw the order in a file structure
  • 3. Definition of computer files Computer files are a collection of related records. They are the most basic unit of data that users can store on a disk. Every program, image, video, song and document is stored as a file.
  • 4. Definition of Record A record is a collection of related data items or fields. Each record normally corresponds to a specific unit of information. Examples are: Employee’s name, basic salary and house rent allowance.
  • 5. Field A field is a collection of related data items. It a space allocated for a particular item of information. A tax form for example contains a number of fields; one for your name, one for your tax identification number (TIN), one for your income and so on.
  • 6. Data Item Data item is the smallest unit of information stored in a computer file. It is a single element used to represent a fact such as an employee’s name, item price. Data items are physically arranged as fields in a computer file.
  • 7. Types of Data items 1. Numeric data consist of numbers from 0 – 9 2. Alphabetic data consist of letters A –Z 3. Alphanumeric data is a combination of numbers and letters, can also refer to collection of Latin letters and Arabic digits or text constructed from these collection. There are either 36 (Single case) or 62 (Case Sensitive) alphanumeric characters. The alphanumeric data set consist of number 0-9 and letters A – Z.
  • 8. File Structure Summary of data items: The data is the smallest unit of information stored in a computer file A field is a collection of related data items A record is a collection of related fields The collection of record is a file The structure of a file in systematic order from top to bottom • Data • Field •Record •FILE
  • 10. Evaluation 1. Define the following: a) File b) Record c) Field 2. List three types of data 3. List the order in a file structure
  • 12. LEARNING OUTCOMES At the end of the lesson, I should be able to: a) -identify types of file organization b) -outline methods of accessing files c) -Classify computer files d) -itemize criteria for classifying computer files
  • 13.  File organization refers primarily to the logical arrangement of data in a file system.
  • 14. Choosing a file organization is a design decision, hence it must be done having in mind the achievement of good performance with respect to the most likely usage of the file. The criteria usually considered important are: 1. Fast access to single record or collection of related records. 2. Easy record adding/update/removal, without disrupting . 3. Storage efficiency. 4. Redundancy as a warranty against data corruption.
  • 15. TYPES OF FILE ORGANIZATION 1. Serial 2. Sequential 3. Indexed Sequential 4. Direct Access /Random Access
  • 16. Serial File Organization  A collection of records  No particular sequence  Cannot be used as master  Used as temporary transaction file  Records stored in the order received  can be stored on magnetic tape e.g. VHS
  • 17. Sequential File Organization  A collection of records  Stored in key sequence  Adding/deleting record requires making new file  Used as master files  Can be stored on optical disk, memory stick and magnetic disk.
  • 19. Advantages  Simple file design  Very efficient when most of the records must be processed e.g. Payroll  Very efficient if the data has a natural order  Can be stored on inexpensive devices like magnetic tape.
  • 20. Disadvantages  Entire file must be processed even if a single record is to be searched.  Transactions have to be sorted before processing  Overall processing is slow
  • 21. Direct (Random) File Organization  Records are read directly from or written on to the file.  The records are stored at known address.  Address is calculated by applying a mathematical function to the key field.
  • 22. Direct (Random) File Organization  A random file would have to be stored on a direct access backing storage medium e.g. magnetic disc, CD, DVD  Example : Any information retrieval system. Eg Train timetable system.
  • 23. Advantages  Any record can be directly accessed.  Speed of record processing is very fast.  Up-to-date file because of online updating.  Concurrent processing is possible.
  • 24. Disadvantages  More complex than sequential  Does not fully use memory locations  More security and backup problems
  • 25. Indexed sequential file  Each record of a file has a key field which uniquely identifies that record.  An index consists of keys and addresses.  An indexed sequential file is a sequential file (i.e. sorted into order of a key field) which has an index.  A full index to a file is one in which there is an entry for every record.
  • 28. Advantages  Provides flexibility for users who need both type of accesses with the same file  Faster than sequential  An indexed sequential file can only be stored on a random access device only e.g. magnetic disc, optical disk (CD, DVD etc.)
  • 29. Disadvantages  Extra storage space for the index is required
  • 30. Methods of accessing computer files  Serial file access  Sequential file access  Direct/Random file access
  • 31. Computer file classification  Mater file  Transaction file  Reference/work file
  • 32. Computer file classification A file is a collection of data that is treated as a single unit on a peripheral device. TYPES OF FILES- Master file  It contains record of permanent data types.  They are created when you install your business.
  • 33. Transaction file Contains data which is used to update the records of master file. Ex-address of a customer. Transaction files also serves as audit trails and history of the organization. Reference/Work files This is a file with reasonable amount of permanency. Examples of data used for reference purposes are price list, tables of rates of pay, names and addresses.
  • 34. Criteria for Computer file classification Criteria for classifying computer files are:  By nature of content: refers to the nature of file content  By organization method: refers to the way files are arranged e.g. serial, sequential, random etc.  By storage medium: refers to storage devices in which a file could only be stored such as magnetic or optical disk and magnetic tape.
  • 35. Evaluation 1. -identify types of file organization 2. -outline methods of accessing files 3. -Classify computer files 4. -itemize criteria for classifying computer files
  • 36. Assignment 1. Read up the topic: “handling computer files”. 2. Outline the operating procedure for computer data processing [see pages 86 & 87 of your ICT textbook]