CARA'S TIPS
Computer Studies / Data Processing · Lesson 5

Data hierarchy, file organisation, access, file security

JAMBWAECNECO

What the syllabus asks

JAMB: Section D Managing computer files (1 Concept of computer files: file, record, field, data item; data types numeric, alphabetic, alphanumeric; data item–field–record–file–database; file organisation serial, sequential, indexed, random; access methods; master, transaction and reference files; criteria for classifying files; 2 Handling computer files: create, delete, retrieve, insert, copy, view,…

WAEC: Managing computer files (concept; handling; effects of file insecurity; causes of data loss; methods of security; computer vs manual files, advantages and disadvantages)

NECO: Managing computer files (concept; handling; effects of file insecurity; causes of data loss; methods of security; computer vs manual files, advantages and disadvantages)

What you will learn

Key points

Start here: Data processing and its steps

Data processing (also called information processing) is the series of actions that turn raw data into useful information. It can be manual (pen, paper and files), mechanical (typewriters, calculators) or electronic (computers). Electronic data processing (EDP) is fastest and most accurate for large volumes.

Steps in information processing (WAEC Data Processing)

  1. Data collection (origination): gathering raw data from source documents, forms, sensors or interviews, e.g. collecting continuous-assessment scores from subject teachers.
  2. Data preparation: checking, coding and organising data so it is ready for entry; removing obvious errors.
  3. Data input: entering the data into the computer by keyboard, scanner, OMR and so on, with validation and verification.
  4. Processing: calculating, sorting, classifying, summarising, merging and comparing data, e.g. computing totals, averages and positions.
  5. Storage: keeping data and results on secondary storage for future use.
  6. Output: producing results as screen displays, printed report cards or files.
  7. Dissemination (distribution): sending information to the people who need it: parents, the principal, an examination body.

Some textbooks summarise the cycle as input → processing → output → storage, with feedback, which is the IPOS model from cs1.

Coding data during preparation saves space and reduces typing errors: “Male/Female” becomes M/F, states become two- or three-letter codes, and grades become A1–F9. Codes must be short, unique and easy to remember.

Methods of processing

Worked example 5.1 (WAEC Data Processing style)

Describe the steps involved in producing end-of-term report cards using a computer. (6 marks)

Collect scores from teachers; prepare and check them; input them into a spreadsheet with validation; process totals, averages and positions; store the file and a backup; print report cards (output) and distribute them to parents (dissemination).

Continue this lesson in the free app →

Practice questions

1. The smallest unit of data in a file hierarchy that has meaning is a
  1. field (data item)
  2. record
  3. file
  4. database
Show answer

A: field (data item)
Character → field → record → file → database.

2. A collection of related fields about one person or item is a
  1. file
  2. byte
  3. database
  4. record
Show answer

D: record
E.g. one student’s details.

3. Collecting transactions and processing them together later is
  1. online processing
  2. interactive processing
  3. batch processing
  4. real-time processing
Show answer

C: batch processing
E.g. payroll at month end.

4. A file that holds permanent data, such as all customer details, is a
  1. backup file
  2. master file
  3. transaction file
  4. reference file
Show answer

B: master file
Transaction files hold temporary changes.

5. Records stored one after another in the order they arrive form a
  1. serial file
  2. sequential file
  3. random file
  4. indexed file
Show answer

A: serial file
Sequential files are sorted by key.

Key words

Data processing
Converting data into information by collecting, organising, calculating and outputting it.
Data item
A single fact, such as a name or a score.
Field
A space in a record for one type of data item, e.g. Surname.
Record
A collection of related fields about one person or thing.
File
A collection of related records stored under one name.
Database
A collection of related files organised for easy access and management.
Key field
A field whose value is unique for each record and identifies it.
Master file
A permanent file holding the main, up-to-date data of an organisation.
Transaction file
A temporary file of changes (transactions) used to update a master file.
Reference file
A file of fairly fixed data used for look-up, e.g. price lists.
Serial file
Records stored one after another in the order they arrive.
Sequential file
Records stored in order of a key field.
Learn Data hierarchy, file organisation, access, file security step by step, free.
The Cara's Tips app teaches every topic from the very basics, with quick checks, worked examples and exam practice. It works offline.
Open this lesson in the free appDownload for Android