Courses / Application of ICT (GEN-103) – BS 1st Semester
Week 8 Theory – Types of Operating Systems, Managing Data and Windows Defender
Week 8 – Types of Operating Systems and File Management · 60 min read · 31 MCQs to check yourself
Advantages and disadvantages of GUI
| Advantages | Disadvantages |
|---|---|
| Easy to learn and use – no commands to memorise | Needs more RAM, CPU power and a graphics card |
| Visual: icons, pictures, previews (WYSIWYG – What You See Is What You Get) | Slower than CLI for expert/repetitive tasks |
| Multitasking with several windows open at once | Uses more storage space |
| Consistent look across programs (same menus, buttons) | Some advanced tasks are hidden in many menus |
| Supports mouse, touch and drag-and-drop | Harder to automate than command scripts |
| Fewer typing errors | Graphics can distract; needs pointing device |
Types of operating systems (by processing method)
1. Batch processing operating system
- Similar jobs are grouped into batches and executed one after another without user interaction during processing.
- An operator collects jobs (e.g. on punched cards/tape), sorts them, and the OS runs each batch automatically.
- Advantages: efficient use of the computer for large repetitive jobs; little idle time between jobs; jobs can run at night.
- Disadvantages: no interaction while a job runs; long turnaround time (delay between submission and result); one job's error can delay the batch; difficult to debug.
- Examples/uses: payroll, bank statements, utility bills, exam result processing; early IBM mainframe systems.
2. Time-sharing (multitasking) operating system
- The CPU's time is divided into very small slices (time quantum / time slice) and given to many users or programs in turn (round-robin). Switching is so fast that every user feels they have the computer to themselves.
- Extension of multiprogramming (several programs kept in memory at once).
- Advantages: quick response; many users share one expensive computer; reduces CPU idle time; interactive.
- Disadvantages: security and data-integrity issues between users; reliability problems; overhead of switching; needs powerful hardware.
- Examples: UNIX, Multics, mainframe terminal systems; modern desktop OS (Windows, Linux) also use time-sharing for multitasking.
3. Real-time operating system (RTOS)
- Processes data and responds within a fixed, very short time limit (deadline); the correctness depends on both the result and the time it is produced.
- Hard real-time: missing a deadline is a failure (airbag systems, pacemakers, missile control, aircraft autopilot, industrial robots).
- Soft real-time: occasional delay is tolerable (video streaming, online gaming, ticket booking).
- Advantages: immediate response, high reliability, maximum use of devices.
- Disadvantages: complex and expensive to design; limited multitasking; specialised hardware.
- Examples: VxWorks, FreeRTOS, QNX; used in medical devices, traffic control, air-traffic control, ABS brakes.
| Batch | Time-sharing | Real-time | |
|---|---|---|---|
| User interaction | None during processing | Yes, interactive | Responds to events/sensors |
| Response time | Long (hours) | Short (seconds) | Immediate (milliseconds, guaranteed) |
| Example use | Payroll | Multi-user UNIX | Airbag, pacemaker |
Other types (for awareness): multiprocessing OS (several CPUs), distributed OS (several networked computers work as one), network OS (Windows Server, Novell NetWare), embedded OS (washing machines, smart TVs), mobile OS (Android, iOS), single-user / multi-user OS.
Managing data: files and folders
- A file is a named collection of related data stored on a storage device (document, picture, program).
- File name has a name and an extension that shows its type:
Report.docx,Marks.xlsx,Photo.jpg,Song.mp3,Setup.exe,Notes.txt,Book.pdf,index.html. - Windows file names cannot contain
\ / : * ? " < > |.
- File name has a name and an extension that shows its type:
- A folder (directory) is a container used to organise files and other folders (sub-folders). Folders inside folders form a hierarchical (tree) structure.
- Path shows the exact location of a file:
C:\Users\Ali\Documents\ICT\Assignment1.docx.C:= drive,\= separator, the folders, then the file name.
- File Explorer (Windows key + E) is used to manage files and folders.
Common file and folder operations
| Task | How (Windows) |
|---|---|
| Create a folder | Right-click → New → Folder, or Ctrl + Shift + N |
| Rename | Select → F2 (or right-click → Rename) |
| Copy | Ctrl + C, then Ctrl + V at the destination |
| Move | Ctrl + X (cut), then Ctrl + V; or drag to a folder on the same drive |
| Delete | Delete key → goes to the Recycle Bin (can be restored) |
| Permanent delete | Shift + Delete (bypasses Recycle Bin) |
| Restore | Open Recycle Bin → right-click file → Restore |
| Search | Search box in File Explorer or Start menu |
| Select all | Ctrl + A |
| Properties | Right-click → Properties (size, type, location, dates, attributes like Read-only, Hidden) |
| Compress | Right-click → Send to → Compressed (zipped) folder |
Good practices: use meaningful names; organise by subject/semester; avoid saving everything on Desktop; keep backups (USB/cloud); use consistent naming like ICT_Assignment1_RollNo.docx.
Windows Defender (Microsoft Defender Antivirus / Windows Security)
Microsoft Defender Antivirus is the free, built-in security software in Windows 10 and 11, found in Settings → Privacy & security → Windows Security (or Update & Security in Windows 10).
Features
- Virus & threat protection – real-time protection that scans files as they are opened/downloaded and blocks malware (viruses, worms, ransomware, spyware).
- Scan options: Quick scan (common locations), Full scan (entire computer), Custom scan (selected folders/drives), Microsoft Defender Offline scan (runs before Windows starts to remove hard-to-find malware).
- Security intelligence updates – downloads new virus definitions automatically via Windows Update.
- Ransomware protection – Controlled folder access protects important folders.
- Firewall & network protection – Windows Defender Firewall blocks unauthorised network traffic.
- App & browser control – SmartScreen warns about dangerous apps, files and websites.
- Device security and device performance & health reports; Family options for parental controls.
- Quarantine – suspicious files are isolated so they cannot harm the system; user can remove or restore them.
How to run a scan: Start → Windows Security → Virus & threat protection → Scan options → choose Quick/Full/Custom → Scan now. You can also right-click a file/folder → Scan with Microsoft Defender.
Types of Operating Systems – Batch, Multiprogramming, Time-sharing, Real-time
Files & File Systems – Crash Course Computer Science #20
Windows Basics: Working with Files and Folders (LearnFree)
Short and long questions
1. Write any three advantages and two disadvantages of GUI.
Model answer
Advantages: easy to learn (no commands to remember); visual WYSIWYG display; multitasking with multiple windows; consistent menus across programs. Disadvantages: requires more memory, CPU and graphics power; slower than CLI for expert/repetitive tasks.
2. What is a batch processing operating system?
Model answer
An OS in which similar jobs are collected into batches and executed one after another automatically without user interaction. It is used for payroll and billing; it has long turnaround time.
3. What is a time-sharing operating system?
Model answer
An OS that divides CPU time into small time slices and gives them to multiple users/programs in turn, so that all users get quick interactive response and feel they have the whole computer (e.g. UNIX).
4. Explain batch processing, time-sharing and real-time operating systems with advantages, disadvantages and examples.
Model answer
Batch OS: similar jobs are grouped and run automatically without interaction. Advantages – efficient for large repetitive jobs, little idle time. Disadvantages – long turnaround time, no interaction, hard to debug. Examples – payroll, utility bills, early IBM systems. Time-sharing OS: CPU time divided into small slices given to many users/programs in round-robin, giving each fast interactive response. Advantages – quick response, many users share resources, less idle CPU. Disadvantages – security/integrity issues, switching overhead, needs powerful hardware. Example – UNIX, Multics. Real-time OS: responds within guaranteed deadlines; hard real-time (airbags, pacemakers) and soft real-time (video streaming). Advantages – immediate, reliable response. Disadvantages – complex, expensive, limited multitasking. Examples – VxWorks, QNX; used in air-traffic control, robots, medical devices.
5. Differentiate between hard and soft real-time systems.
Model answer
In a hard real-time system missing a deadline is a total failure (airbag, pacemaker). In a soft real-time system occasional delays are acceptable (video streaming, online games).
6. What is a real-time operating system? Give examples.
Model answer
An OS that must process data and respond within a fixed, very short time limit (deadline). Examples of uses: airbag systems, pacemakers, air-traffic control, industrial robots; examples of RTOS: VxWorks, FreeRTOS, QNX.
7. How are files and folders managed in Windows? Explain common operations and Windows Defender.
Model answer
Files are named collections of data with extensions (.docx, .xlsx, .jpg); folders organise files in a tree structure; each file has a path (e.g. C:\Users\Ali\Documents\Report.docx). File Explorer (Win + E) is used to manage them. Operations: create folder (right-click → New → Folder or Ctrl+Shift+N); rename (F2); copy (Ctrl+C, Ctrl+V); move (Ctrl+X, Ctrl+V or drag); delete (Delete → Recycle Bin; Shift+Delete permanent); restore from Recycle Bin; search; view properties; compress to zip. Windows Defender: built-in antivirus with real-time protection, quick/full/custom/offline scans, automatic security intelligence updates, quarantine of threats, ransomware protection, firewall and SmartScreen; run from Windows Security → Virus & threat protection → Scan options.
8. What is a file path? Give an example.
Model answer
A path is the complete address of a file showing the drive, folders and file name, e.g. C:\Users\Ali\Documents\ICT\Assignment1.docx.
9. Differentiate between a file and a folder.
Model answer
A file is a named collection of related data (e.g. Report.docx). A folder (directory) is a container used to organise files and sub-folders in a hierarchical structure.
10. What is Windows Defender? Write its main features.
Model answer
Microsoft Defender Antivirus is the free built-in security software of Windows. Features: real-time protection, quick/full/custom/offline scans, automatic security updates, quarantine, ransomware protection (controlled folder access), firewall and SmartScreen app & browser control.
This lesson ends with a quiz of 31 MCQs. Open the lesson on PrepOasis to take it and save your progress.
Previous: Week 7 Lab 7 – MS Word: Header, Footer, Page Numbers, Cover Page, Breaks, Pictures and WordArt · Next: Week 8 Lab 8 – MS Word: Tables, Margins and Hyperlinks
All lessons in Application of ICT (GEN-103) – BS 1st Semester