A virus, a dropped laptop or a failed hard disk can wipe out months of work in seconds. Whether that work comes back depends on one habit made earlier: keeping a copy. And every lock added to a system to keep data safe also makes it a little harder to use.
Chapter 1 of the PECTAA Computer Science 12 book covers computer networks. After network load balancing (section 1.13) and network security (section 1.14), the chapter closes with data backup and recovery (section 1.15) and usability and security trade-offs (section 1.16). This note is for FSc Part 2 (2nd year, Class 12) students in Lahore, Faisalabad, Sargodha, Rawalpindi, Multan, Gujranwala and the other Punjab boards. Gujrat district comes under the Gujranwala board. PECTAA writes the books. Your own board sets your paper.
What to know
Data backup (1.15). Backup means making a copy of important data to protect it from loss or damage. Data can be lost through viruses or hardware failure; a backup lets it be restored easily. The book advises every user to back up data regularly.
Types of backup.
| Type | What it copies |
|---|---|
| Full backup | all the data, at once |
| Incremental backup | only the data changed since the last backup |
| Differential backup | all the changes since the last full backup |
Backups can be kept on hard drives or in cloud storage.
How the three compare in practice (a reasoning point, using the definitions above):
- A full backup takes the most space and time to make, but restoring needs just that one copy.
- Incremental backups are the smallest each day, but restoring needs the last full backup plus every incremental one after it, in order.
- A differential backup grows each day until the next full backup, but restoring needs only the last full backup and the latest differential.
Data recovery (1.15). Recovery is the process of getting data back. The book's methods:
- Restoring from backup files.
- Recovery software to get deleted files back.
- System restore to recover system data.
- Professionals recovering data from damaged devices.
Together these reduce data loss.
Usability (1.16). Usability means how easy a system is to use. A usable system is simple and clear, users learn it quickly, and tasks are done without confusion. Good usability saves time and effort and improves user satisfaction.
Security. Security means protecting systems and data: preventing unauthorized access, guarding against viruses and hackers, and keeping information private and safe. Strong security reduces risk and damage, and every system needs basic security.
The trade-off. Increasing security can make a system harder to use:
- Strong passwords are difficult to remember.
- Extra login steps slow users down.
- Simple systems are easier to use but less secure.
- Removing security increases risk.
So a balance is needed for use that is both safe and easy.
Key points
- Backup = copy; recovery = getting data back.
- Incremental: since the last backup. Differential: since the last full backup.
- Store backups on hard drives or in the cloud.
- More security usually means less convenience.
Worked examples
Example 1 (incremental restore). A full backup is made on Monday. Incremental backups are made on Tuesday, Wednesday and Thursday. The disk fails on Friday morning. What is needed to restore?
- Monday's full backup.
- Then Tuesday's, Wednesday's and Thursday's incremental backups, in that order.
- Four backup sets in total.
Example 2 (differential restore). Same week, but differential backups are taken on Tuesday to Thursday instead.
- Monday's full backup.
- Thursday's differential backup, which already contains every change since Monday.
- Two backup sets in total.
Example 3 (what each backup copies). File A changes on Tuesday only; file B changes on Wednesday only. Full backup on Monday.
| Wednesday's backup | Files copied |
|---|---|
| Incremental | B (changed since Tuesday's backup) |
| Differential | A and B (both changed since Monday's full backup) |
Example 4 (choose a recovery method).
- A file deleted by mistake: recovery software, or restore from backup.
- A computer not starting after a faulty update: system restore.
- A water-damaged hard disk with no backup: professional data recovery.
Example 5 (trade-off). A school lab asks for a 16-character password and a code sent by message at every login. Students complain. Explain using section 1.16.
- Security has risen: unauthorized access is harder.
- Usability has fallen: long passwords are hard to remember and extra steps slow users down.
- A balance is needed, for example extra steps only for sensitive accounts.
Common mistakes in the exam
- Swapping incremental and differential. Ask "since when?" for each.
- Treating backup and recovery as the same thing. One copies, the other restores.
- Saying backups protect against everything without naming the risks (viruses, hardware failure).
- Arguing that maximum security is always best. The book stresses balance.
- Leaving out examples in trade-off answers: strong passwords, extra login steps.
Exam technique
- Use a three-row table for the backup types.
- For restore questions, list the backup sets needed in order.
- In trade-off answers, give one gain in security and one loss in usability.
- Check your board's notice for the sections in your paper.
Practice questions
- Define data backup. Answer: Making a copy of important data to protect it from loss or damage.
- Which backup saves only data changed since the last backup? Answer: Incremental backup.
- Name two places to store backups. Answer: Hard drives and cloud storage.
- Give two signs of good usability. Answer: Any two: simple and clear, quick to learn, tasks done without confusion.
- Why can strong security lower usability? Answer: Strong passwords are hard to remember and extra login steps slow users down.
Ready to practise this? Continue in 2nd Year Computer Science.