Class: Senior Secondary School 2 (SS2 / SSS2)
Term: Second Term
Week: 2
Age: 16 years
Duration: 45 minutes
Subject: Computer Studies
Curriculum Theme: Data Management
Previous Lesson: Concept of Computer Files: Meaning, Data Items and File Structure.
Topic: CONCEPT OF COMPUTER FILES
Subject Matter: Type of file organization (serial, sequential, indexed, random), methods of accessing files (serial, sequential, indexed, random), classification of file (master file, transaction file, reference file), criteria for classifying files (nature of content, organization method, storage medium)
Specific Objectives
By the end of the lesson, pupils should be able to:
Cognitive Domain:
- List different types of file organization.
- Explain various methods of accessing files.
- Differentiate between master, transaction, and reference files.
- Identify criteria for classifying files.
Affective Domain:
- Appreciate the importance of proper file organization for efficient data management.
- Value the systematic approach to data storage and retrieval.
Psychomotor Domain:
- Demonstrate how different file access methods work with examples.
- Classify given sample files based on their content and purpose.
Social Domain:
- Collaborate with peers to discuss and understand complex file concepts.
Reference Materials
The following resources were used in planning this lesson:
- Senior Secondary Schools Education Curriculum
- State Unified Scheme of Work
- Olagunju, A. A., & Olagoke, O. O. (2018). Comprehensive Computer Studies for Senior Secondary Schools. Akins Productions.
Instructional Materials
The teacher will teach this lesson with the aid of:
- File organization chart
- Sample database printouts
- Pictures of various storage media
Rationale for the Lesson
Understanding computer files and their organization is important for managing data effectively. It helps pupils to store, retrieve, and process information efficiently in various computer applications. This knowledge is essential for practical computer usage and for further studies in data management.
Prerequisite/Previous Knowledge
Pupils have basic knowledge of computer systems, data, and information storage.
Lesson Content/Board Summary
CONCEPT OF COMPUTER FILES
Introduction to 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. A file is “durable” in the sense that it remains available for programs to use after the current program finishes.
Types of File Organization
File organization refers to the logical arrangement of records in a file. Different methods are used to arrange records to facilitate efficient storage and retrieval.
- Serial File Organization: Records are stored one after another in the order they are created. There is no specific order based on a key field.
- Sequential File Organization: Records are stored in a specific order based on a key field (e.g., student ID, name). To access a record, you must start from the beginning and read through until the desired record is found.
- Indexed Sequential File Organization (ISAM): Records are stored sequentially, but an index is also created. The index contains the key field and the physical address of the record, allowing faster direct access while maintaining sequential access.
- Random (Direct) File Organization: Records are stored directly at specific addresses on the storage device. A hashing algorithm is often used to calculate the physical address from the record’s key. This allows for very fast direct access to any record without reading others.
Methods of Accessing Files
File access methods define how individual records within a file can be read or written. The method chosen often depends on the file organization.
- Serial Access: Records are accessed one after another in the order they appear in the file. To find a specific record, all preceding records must be read. This is typical for serial file organization.
- Sequential Access: Records are accessed in a predefined order (e.g., ascending order of a key field). To access a record, the file system starts from the beginning and reads records in sequence until the desired record is reached. This is typical for sequential file organization.
- Indexed Access: Records are accessed by first looking up their address in an index based on a key value, and then directly jumping to that address. This allows for both sequential and direct access. This is typical for indexed sequential file organization.
- Random (Direct) Access: Any record can be accessed directly without having to read any preceding records. The physical address of the record is calculated or known, allowing immediate retrieval. This is typical for random file organization.
Classification of Files
Files can be classified based on their role and purpose within a system.
- Master File: Contains permanent or semi-permanent records that are relatively stable and updated periodically. It holds current, up-to-date information (e.g., customer details, student records).
- Transaction File: Contains temporary records of day-to-day activities or changes that need to be processed and used to update a master file (e.g., daily sales, student registration changes).
- Reference File: Contains relatively static information that is used for look-ups or validation during processing. It rarely changes (e.g., price lists, tax tables, product codes).
Criteria for Classifying Files
Files can be classified based on various attributes:
- Nature of Content: What kind of data the file holds (e.g., text documents, images, audio, video, program executables, system configuration data, user data).
- Organization Method: How the records within the file are arranged (e.g., serial, sequential, indexed, random).
- Storage Medium: The physical device on which the file is stored (e.g., hard disk drive, solid-state drive, flash drive, optical disc, magnetic tape).
Teaching Methods/Instructional Techniques
Discussion, Lecture, Demonstration, Question and Answer, Visual Aids
Instructional Procedures
Step 1: Introduction
Time: 5 minutes
Teaching Skill: Set Induction
Teacher’s Activity: The teacher introduces the lesson by asking pupils what they understand by a “file” in a computer context and how they save their work.
Pupils’ Activity: Pupils share their ideas about computer files and how they store information.
Learning Point: Pupils recall prior knowledge of computer files and data storage.
Step 2: Types of File Organization
Time: 10 minutes
Teaching Skill: Explanation/Listing
Teacher’s Activity: The teacher explains and lists the different types of file organization (serial, sequential, indexed, random) using the chart and examples.
Pupils’ Activity: Pupils listen, take notes, and list the types of file organization.
Learning Point: Pupils identify and understand the various ways files can be organized.
Step 3: Methods of Accessing Files
Time: 10 minutes
Teaching Skill: Explanation/Demonstration
Teacher’s Activity: The teacher explains and demonstrates the methods of accessing files (serial, sequential, indexed, random) with practical examples or scenarios.
Pupils’ Activity: Pupils observe, ask questions, and match access methods to the file organization types discussed.
Learning Point: Pupils understand how different file access methods work.
Step 4: Relationship between Organization and Access
Time: 5 minutes
Teaching Skill: Discussion/Analysis
Teacher’s Activity: The teacher leads a discussion on how the type of file organization influences the method of accessing data within that file.
Pupils’ Activity: Pupils participate in the discussion, differentiating which access methods are suitable for each organization type.
Learning Point: Pupils grasp the relationship between file organization and access methods.
Step 5: Classification of Files
Time: 5 minutes
Teaching Skill: Explanation/Categorization
Teacher’s Activity: The teacher explains the classification of files into master, transaction, and reference files, providing real-world examples for each.
Pupils’ Activity: Pupils listen, take notes, and identify examples of master, transaction, and reference files.
Learning Point: Pupils can categorize files based on their purpose.
Step 6: Criteria for Classifying Files
Time: 5 minutes
Teaching Skill: Listing/Elaboration
Teacher’s Activity: The teacher elaborates on the criteria for classifying files, which include the nature of content, organization method, and storage medium.
Pupils’ Activity: Pupils list and discuss the criteria for classifying files.
Learning Point: Pupils understand the different bases for file classification.
Step 7: Evaluation/Review
Time: 5 minutes
Teaching Skill: Questioning/Assessment
Teacher’s Activity: The teacher evaluates the learning by asking the following questions:
- List four types of file organization.
- Explain the difference between sequential access and random access.
- Differentiate between a master file and a transaction file.
- State two criteria used for classifying computer files.
Pupils’ Activity: Pupils answer orally and in writing.
Learning Point: Pupils demonstrate understanding of the lesson.
Step 8: Conclusion
Time: 5 minutes
Teaching Skill: Summarization/Assignment
Teacher’s Activity: The teacher summarizes the key learning points of the lesson and gives pupils an assignment to find out common file extensions and their corresponding file types.
Pupils’ Activity: Pupils copy the assignment and ask any final questions.
Learning Point: Pupils consolidate their understanding and prepare for future learning.
Lesson Keywords
- File – A collection of data or information that has a name and is stored on a computer.
- Organization – The way records are arranged within a file.
- Access – The method used to retrieve or store data in a file.
- Serial – Stored or accessed one after another without any specific order.
- Sequential – Stored or accessed in a predetermined order based on a key.
- Indexed – Uses an index to locate records for faster access.
- Random – Allows direct access to any record without reading others.
- Master file – Contains permanent, updated records.
- Transaction file – Contains temporary records of daily activities.
- Reference file – Contains static information for look-ups.
Differentiation
For pupils who grasp concepts quickly, the teacher can provide additional examples of real-world file systems or challenge them to design a simple file organization strategy for a small database. For those needing more support, the teacher will provide simplified diagrams and one-on-one guidance, focusing on understanding the basic definitions and primary differences between file types and access methods through repetitive questioning.
Note for teachers using this lesson plan
Ensure to use clear and relatable examples when explaining file organization and access methods, possibly using physical analogies like library book arrangements. Encourage pupils to participate actively and ask questions to clarify their understanding. Emphasize the practical implications of choosing different file structures in real-world computer applications.

Community Join the conversation Open discussion +