SlideShare a Scribd company logo
1 of 37
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
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

What's hot

File organization
File organizationFile organization
File organizationGokul017
 
Disk storage - SlideShare by jayed hossain jibon
Disk storage - SlideShare by jayed hossain jibonDisk storage - SlideShare by jayed hossain jibon
Disk storage - SlideShare by jayed hossain jibonJayed Hossain Jibon
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modelingoudesign
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentationsameerraaj
 
File system Os
File system OsFile system Os
File system OsNehal Naik
 
File organisation in system analysis and design
File organisation in system analysis and designFile organisation in system analysis and design
File organisation in system analysis and designMohitgauri
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentationa9oolq8
 
Booting of Computer System
Booting of Computer SystemBooting of Computer System
Booting of Computer SystemArzath Areeff
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating systemMohammad Alam
 
Recovery Techniques and Need of Recovery
Recovery Techniques and   Need of RecoveryRecovery Techniques and   Need of Recovery
Recovery Techniques and Need of RecoveryPooja Dixit
 

What's hot (20)

File organization
File organizationFile organization
File organization
 
File organization
File organizationFile organization
File organization
 
Database systems introduction
Database systems introductionDatabase systems introduction
Database systems introduction
 
Disk storage - SlideShare by jayed hossain jibon
Disk storage - SlideShare by jayed hossain jibonDisk storage - SlideShare by jayed hossain jibon
Disk storage - SlideShare by jayed hossain jibon
 
Week 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data ModelingWeek 3 Classification of Database Management Systems & Data Modeling
Week 3 Classification of Database Management Systems & Data Modeling
 
Unix File System
Unix File SystemUnix File System
Unix File System
 
Database management system presentation
Database management system presentationDatabase management system presentation
Database management system presentation
 
File system Os
File system OsFile system Os
File system Os
 
Disk scheduling
Disk schedulingDisk scheduling
Disk scheduling
 
File organisation
File organisationFile organisation
File organisation
 
File organisation in system analysis and design
File organisation in system analysis and designFile organisation in system analysis and design
File organisation in system analysis and design
 
RAID
RAIDRAID
RAID
 
operating system structure
operating system structureoperating system structure
operating system structure
 
Database Presentation
Database PresentationDatabase Presentation
Database Presentation
 
File management
File managementFile management
File management
 
Booting of Computer System
Booting of Computer SystemBooting of Computer System
Booting of Computer System
 
Types of operating system
Types of operating systemTypes of operating system
Types of operating system
 
File organisation
File organisationFile organisation
File organisation
 
Operating systems
Operating systemsOperating systems
Operating systems
 
Recovery Techniques and Need of Recovery
Recovery Techniques and   Need of RecoveryRecovery Techniques and   Need of Recovery
Recovery Techniques and Need of Recovery
 

Similar to Concept of computer files

Fileorganization AbnMagdy
Fileorganization AbnMagdyFileorganization AbnMagdy
Fileorganization AbnMagdyMohamed Magdy
 
Wk 1 - File organization.pptx
Wk 1 - File organization.pptxWk 1 - File organization.pptx
Wk 1 - File organization.pptxDORCASGABRIEL1
 
File organization and introduction of DBMS
File organization and introduction of DBMSFile organization and introduction of DBMS
File organization and introduction of DBMSVrushaliSolanke
 
fileorganizationandintroductionofdbms-210313163900.pdf
fileorganizationandintroductionofdbms-210313163900.pdffileorganizationandintroductionofdbms-210313163900.pdf
fileorganizationandintroductionofdbms-210313163900.pdfFraolUmeta
 
Understanding EDP (Electronic Data Processing) Environment
Understanding EDP (Electronic Data Processing) EnvironmentUnderstanding EDP (Electronic Data Processing) Environment
Understanding EDP (Electronic Data Processing) EnvironmentAdetula Bunmi
 
Degonto file management
Degonto file managementDegonto file management
Degonto file managementDegonto Islam
 
Computer Data Processing And Representation 4
Computer Data Processing And Representation   4Computer Data Processing And Representation   4
Computer Data Processing And Representation 4Amit Chandra
 
presentations
presentationspresentations
presentationsMISY
 
Ie Storage, Multimedia And File Organization
Ie   Storage, Multimedia And File OrganizationIe   Storage, Multimedia And File Organization
Ie Storage, Multimedia And File OrganizationMISY
 
File Management – File Concept, access methods, File types and File Operation
File Management – File Concept, access methods,  File types and File OperationFile Management – File Concept, access methods,  File types and File Operation
File Management – File Concept, access methods, File types and File OperationDhrumil Panchal
 
Degonto, File management system in fisheries science
Degonto, File management  system in fisheries scienceDegonto, File management  system in fisheries science
Degonto, File management system in fisheries scienceDegonto Islam
 
Disk Image!...and then what? Strategies for sustainable long-term storage an...
Disk Image!...and then what?  Strategies for sustainable long-term storage an...Disk Image!...and then what?  Strategies for sustainable long-term storage an...
Disk Image!...and then what? Strategies for sustainable long-term storage an...Helen Bailey
 
L3_Electronic Data Processing.pptx
L3_Electronic Data Processing.pptxL3_Electronic Data Processing.pptx
L3_Electronic Data Processing.pptxUsamaSatti11
 
L3_Electronic Data Processing.pptx
L3_Electronic Data Processing.pptxL3_Electronic Data Processing.pptx
L3_Electronic Data Processing.pptxUsamaSatti11
 

Similar to Concept of computer files (20)

Fileorganization AbnMagdy
Fileorganization AbnMagdyFileorganization AbnMagdy
Fileorganization AbnMagdy
 
Wk 1 - File organization.pptx
Wk 1 - File organization.pptxWk 1 - File organization.pptx
Wk 1 - File organization.pptx
 
Unit 3
Unit 3Unit 3
Unit 3
 
File organization and introduction of DBMS
File organization and introduction of DBMSFile organization and introduction of DBMS
File organization and introduction of DBMS
 
fileorganizationandintroductionofdbms-210313163900.pdf
fileorganizationandintroductionofdbms-210313163900.pdffileorganizationandintroductionofdbms-210313163900.pdf
fileorganizationandintroductionofdbms-210313163900.pdf
 
Understanding EDP (Electronic Data Processing) Environment
Understanding EDP (Electronic Data Processing) EnvironmentUnderstanding EDP (Electronic Data Processing) Environment
Understanding EDP (Electronic Data Processing) Environment
 
Degonto file management
Degonto file managementDegonto file management
Degonto file management
 
Computer Data Processing And Representation 4
Computer Data Processing And Representation   4Computer Data Processing And Representation   4
Computer Data Processing And Representation 4
 
FILE MANAGEMENT.pptx
FILE MANAGEMENT.pptxFILE MANAGEMENT.pptx
FILE MANAGEMENT.pptx
 
Computers14 Ch6
Computers14 Ch6Computers14 Ch6
Computers14 Ch6
 
rdbms-notes
rdbms-notesrdbms-notes
rdbms-notes
 
presentations
presentationspresentations
presentations
 
Ie Storage, Multimedia And File Organization
Ie   Storage, Multimedia And File OrganizationIe   Storage, Multimedia And File Organization
Ie Storage, Multimedia And File Organization
 
File Management – File Concept, access methods, File types and File Operation
File Management – File Concept, access methods,  File types and File OperationFile Management – File Concept, access methods,  File types and File Operation
File Management – File Concept, access methods, File types and File Operation
 
File Carving
File CarvingFile Carving
File Carving
 
Degonto, File management system in fisheries science
Degonto, File management  system in fisheries scienceDegonto, File management  system in fisheries science
Degonto, File management system in fisheries science
 
Chapter 12.pptx
Chapter 12.pptxChapter 12.pptx
Chapter 12.pptx
 
Disk Image!...and then what? Strategies for sustainable long-term storage an...
Disk Image!...and then what?  Strategies for sustainable long-term storage an...Disk Image!...and then what?  Strategies for sustainable long-term storage an...
Disk Image!...and then what? Strategies for sustainable long-term storage an...
 
L3_Electronic Data Processing.pptx
L3_Electronic Data Processing.pptxL3_Electronic Data Processing.pptx
L3_Electronic Data Processing.pptx
 
L3_Electronic Data Processing.pptx
L3_Electronic Data Processing.pptxL3_Electronic Data Processing.pptx
L3_Electronic Data Processing.pptx
 

More from Samuel Igbanogu

More from Samuel Igbanogu (16)

Systems development cycle
Systems development cycleSystems development cycle
Systems development cycle
 
Data conversion
Data conversionData conversion
Data conversion
 
Algorithms and flowcharts
Algorithms and flowchartsAlgorithms and flowcharts
Algorithms and flowcharts
 
Classification of computers with respect to size
Classification of computers with respect to sizeClassification of computers with respect to size
Classification of computers with respect to size
 
Classification of computers by type
Classification of computers by typeClassification of computers by type
Classification of computers by type
 
Classification of computers by generation
Classification of computers by generationClassification of computers by generation
Classification of computers by generation
 
Computer system soft ware
Computer system soft wareComputer system soft ware
Computer system soft ware
 
Relational models
Relational modelsRelational models
Relational models
 
Handling computer files
Handling computer filesHandling computer files
Handling computer files
 
Entity relationship model
Entity relationship modelEntity relationship model
Entity relationship model
 
Output devices
Output devicesOutput devices
Output devices
 
Computing devices i
Computing devices iComputing devices i
Computing devices i
 
Logic gates i & ii
Logic gates i & iiLogic gates i & ii
Logic gates i & ii
 
Input devices
Input devicesInput devices
Input devices
 
Data models
Data modelsData models
Data models
 
Normal forms
Normal formsNormal forms
Normal forms
 

Recently uploaded

Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfphamnguyenenglishnb
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Celine George
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Jisc
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...JhezDiaz1
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designMIPLM
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfSpandanaRallapalli
 

Recently uploaded (20)

Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdfAMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
AMERICAN LANGUAGE HUB_Level2_Student'sBook_Answerkey.pdf
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17Field Attribute Index Feature in Odoo 17
Field Attribute Index Feature in Odoo 17
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...Procuring digital preservation CAN be quick and painless with our new dynamic...
Procuring digital preservation CAN be quick and painless with our new dynamic...
 
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
ENGLISH 7_Q4_LESSON 2_ Employing a Variety of Strategies for Effective Interp...
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
Keynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-designKeynote by Prof. Wurzer at Nordex about IP-design
Keynote by Prof. Wurzer at Nordex about IP-design
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
ACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdfACC 2024 Chronicles. Cardiology. Exam.pdf
ACC 2024 Chronicles. Cardiology. Exam.pdf
 

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
  • 9.
  • 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]