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

2. Time-sharing (multitasking) operating system

3. Real-time operating system (RTOS)

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

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

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