Operating Systems & File Architecture
ഓപ്പറേറ്റിംഗ് സിസ്റ്റങ്ങളും ഫയൽ ഘടനയും
Covers system software vs application software, the booting sequence (POST, BIOS/UEFI, bootloader, kernel), core OS functions (process, memory, virtual memory, file and device management), OS classifications, the Unix/GNU/Linux ecosystem and FOSS licensing, essential Linux shell commands, directory hierarchy, file permissions, and standard file extensions.
സിസ്റ്റം സോഫ്റ്റ്വെയറും ആപ്ലിക്കേഷൻ സോഫ്റ്റ്വെയറും, ബൂട്ടിംഗ് പ്രക്രിയ (POST, BIOS/UEFI, ബൂട്ട്ലോഡർ, കേർണൽ), ഓപ്പറേറ്റിംഗ് സിസ്റ്റത്തിന്റെ പ്രധാന ധർമ്മങ്ങൾ, വിവിധ OS വിഭാഗങ്ങൾ, Unix/GNU/Linux ചരിത്രവും സ്വതന്ത്ര സോഫ്റ്റ്വെയറും, ലിനക്സ് ഷെൽ കമാൻഡുകൾ, ഫയൽ പെർമിഷനുകൾ, ഫയൽ എക്സ്റ്റൻഷനുകൾ എന്നിവ ഉൾക്കൊള്ളുന്ന പഠനഭാഗം.
Key Study Notes (5 Units)
Operating System Architecture & the Booting Process
- An Operating System (OS) is system software that acts as an intermediary between computer hardware and user applications, managing CPU, memory, storage, and I/O devices.
- The OS consists of the Kernel (core component managing hardware resources directly in privileged mode) and the Shell (user interface—CLI or GUI—that interprets commands).
- Booting loads the OS into RAM from secondary storage; Cold Booting starts from a powered-off state, whereas Warm Booting restarts an already running system (e.g., Ctrl+Alt+Del or Restart).
- During startup, firmware stored in ROM—historically BIOS (Basic Input/Output System) and modern UEFI (Unified Extensible Firmware Interface)—runs POST (Power-On Self-Test) to verify RAM, keyboard, and drives.
- After POST succeeds, the firmware invokes a Bootloader (such as GRUB on Linux or Windows Boot Manager) from the MBR/GPT partition to load the OS kernel into main memory.
OS Resource Management & Classifications
- Process Management schedules CPU execution across running programs using algorithms like Round Robin and Priority Scheduling, managing process states (Ready, Running, Waiting).
- Memory Management allocates RAM to active processes and enables Virtual Memory—using a swap area or pagefile on secondary storage (HDD/SSD) to extend apparent RAM capacity via paging.
- Device Management communicates with peripherals through specialized Device Drivers and uses Spooling (Simultaneous Peripheral Operations On-Line) to queue print jobs on disk.
- Multi-user OS (Linux, Unix) allows multiple users concurrently; Multitasking OS runs several programs simultaneously; Time-sharing OS allocates fixed CPU time slices to interactive users.
- Real-Time Operating Systems (RTOS like VxWorks, FreeRTOS) guarantee deterministic response within strict deadlines for avionics, medical devices, and industrial robotics; Mobile OS includes Android (Linux-kernel based) and iOS.
Unix, GNU Project, Linux & Free Software
- Unix was developed in 1969 at AT&T Bell Labs by Ken Thompson and Dennis Ritchie (initially in assembly, later rewritten in C for portability).
- Richard Stallman launched the GNU Project (GNU's Not Unix) in 1983 and founded the Free Software Foundation (FSF) in 1985, authoring the GNU GPL (General Public License) to protect copyleft freedoms.
- Free Software guarantees four essential freedoms: Freedom 0 (run for any purpose), Freedom 1 (study and modify source code), Freedom 2 (redistribute copies), and Freedom 3 (distribute modified versions).
- Linus Torvalds created the Linux kernel in 1991 at the University of Helsinki; combining the Linux kernel with GNU system utilities produced complete GNU/Linux operating systems.
- Major Linux distributions (distros) include Debian, Ubuntu, Fedora, Red Hat Enterprise Linux (RHEL), and Kerala's educational IT@School/KITE GNU/Linux customized for public schools.
Linux Directory Hierarchy & Essential CLI Commands
- Linux uses a single unified inverted tree hierarchy starting at the root directory (/), unlike Windows drive letters (C:\, D:\); everything including hardware devices is represented as a file.
- Standard directories include /bin (essential user binaries), /etc (system configuration files), /home (user personal directories), /root (superuser home), /var (variable logs/spool), and /dev (device files).
- Navigation and inspection commands: pwd (print working directory), ls (list files; ls -la shows hidden dot-files and permissions), cd (change directory), and man (display manual pages).
- File and directory manipulation commands: mkdir (create directory), rmdir (remove empty directory), touch (create empty file/update timestamp), cp (copy), mv (move or rename), and rm (remove; rm -r deletes recursively).
- Text and privilege commands: cat (display/concatenate file contents), grep (search text patterns), chmod (change permissions), and sudo (execute a command with superuser privileges).
File Systems, Linux Permissions & File Extensions
- A File System organizes how data is stored and retrieved on a volume: Windows uses NTFS (supports permissions, encryption, large files) and FAT32/exFAT (portable USB drives), while Linux primarily uses ext4.
- In Linux, permissions are assigned to three scopes—Owner (u), Group (g), and Others (o)—with three rights: Read (r = 4), Write (w = 2), and Execute (x = 1); for example, chmod 755 sets rwxr-xr-x.
- An Absolute Path begins from the root (/home/user/notes.txt or C:\Users\notes.txt), whereas a Relative Path is resolved from the current working directory (e.g., ./notes.txt or ../docs).
- OpenDocument standards used in LibreOffice include .odt (Writer text), .ods (Calc spreadsheet), and .odp (Impress presentation), alongside Microsoft Office formats .docx, .xlsx, and .pptx.
- Common media, web, and executable extensions: .svg (scalable vector graphics), .png/.jpg (raster images), .pdf (portable document), .mp3/.wav (audio), .mp4 (video), .deb (Debian package), and .exe (Windows executable).
Practice MCQs with Answers (10)
During the computer startup sequence, what is the primary purpose of the Power-On Self-Test (POST) executed by the BIOS/UEFI firmware?
കമ്പ്യൂട്ടർ ഓൺ ചെയ്യുമ്പോൾ BIOS/UEFI ഫേംവെയർ നടത്തുന്ന പവർ-ഓൺ സെൽഫ്-ടെസ്റ്റിന്റെ (POST) പ്രധാന ലക്ഷ്യം എന്താണ്?
Show Answer & Explanation
Who founded the GNU Project in 1983 and authored the GNU General Public License (GPL) to establish the Free Software movement?
1983-ൽ ഗ്നു പ്രോജക്ട് (GNU Project) ആരംഭിക്കുകയും സ്വതന്ത്ര സോഫ്റ്റ്വെയർ പ്രസ്ഥാനത്തിന് അടിത്തറയിട്ട GNU ജനറൽ പബ്ലിക് ലൈസൻസ് (GPL) തയ്യാറാക്കുകയും ചെയ്തത് ആരാണ്?
Show Answer & Explanation
Consider the following statements regarding memory management and I/O handling in an operating system: 1. Virtual memory allows a system to run programs larger than physical RAM by swapping pages between RAM and secondary storage. 2. Spooling queues output jobs such as print tasks on disk so the CPU does not remain idle waiting for slow mechanical peripherals. 3. The Shell is the lowest-level component of the OS that directly controls CPU registers and hardware interrupts. Which of the statements given above are correct?
ഒരു ഓപ്പറേറ്റിംഗ് സിസ്റ്റത്തിലെ മെമ്മറി മാനേജ്മെന്റും I/O നിയന്ത്രണവുമായി ബന്ധപ്പെട്ട താഴെ പറയുന്ന പ്രസ്താവനകൾ പരിശോധിക്കുക: 1. RAM-നും സെക്കൻഡറി സ്റ്റോറേജിനും ഇടയിൽ പേജുകൾ കൈമാറ്റം ചെയ്യുന്നതിലൂടെ ഭൗതിക RAM-നേക്കാൾ വലിയ പ്രോഗ്രാമുകൾ പ്രവർത്തിപ്പിക്കാൻ വെർച്വൽ മെമ്മറി സഹായിക്കുന്നു. 2. വേഗത കുറഞ്ഞ പ്രിന്ററുകൾക്കായി CPU കാത്തിരിക്കാതിരിക്കാൻ പ്രിന്റ് ജോലികൾ ഡിസ്കിൽ ക്യൂ ആക്കി സൂക്ഷിക്കുന്ന രീതിയാണ് സ്പൂളിംഗ് (Spooling). 3. CPU രജിസ്റ്ററുകളെയും ഹാർഡ്വെയർ ഇന്ററപ്റ്റുകളെയും നേരിട്ട് നിയന്ത്രിക്കുന്ന OS-ന്റെ ഏറ്റവും അടിസ്ഥാന ഘടകമാണ് ഷെൽ (Shell). മുകളിൽ നൽകിയവയിൽ ശരിയായ പ്രസ്താവനകൾ ഏവ?
Show Answer & Explanation
Match the following standard Linux root-level directories with their primary purpose: (a) /home — 1. System-wide configuration files (b) /etc — 2. Essential user command binaries (c) /bin — 3. Personal directories of regular users (d) /dev — 4. Special device files representing hardware Choose the correct match:
താഴെ പറയുന്ന ലിനക്സ് റൂട്ട്-ലെവൽ ഡയറക്ടറികളെ അവയുടെ പ്രധാന ഉപയോഗവുമായി ചേരുംപടി ചേർക്കുക: (a) /home — 1. സിസ്റ്റം-വൈഡ് കോൺഫിഗറേഷൻ ഫയലുകൾ (b) /etc — 2. അടിസ്ഥാന ഉപയോക്തൃ കമാൻഡ് പ്രോഗ്രാമുകൾ (Binaries) (c) /bin — 3. സാധാരണ ഉപയോക്താക്കളുടെ സ്വകാര്യ ഡയറക്ടറികൾ (d) /dev — 4. ഹാർഡ്വെയറുകളെ പ്രതിനിധീകരിക്കുന്ന പ്രത്യേക ഡിവൈസ് ഫയലുകൾ ശരിയായ ജോഡി തിരഞ്ഞെടുക്കുക:
Show Answer & Explanation
In a Linux terminal, which command displays the full path of the current working directory?
ഒരു ലിനക്സ് ടെർമിനലിൽ, നിലവിൽ പ്രവർത്തിച്ചുകൊണ്ടിരിക്കുന്ന ഡയറക്ടറിയുടെ പൂർണ്ണമായ പാത്ത് (Path) പ്രദർശിപ്പിക്കുന്ന കമാൻഡ് ഏതാണ്?
Show Answer & Explanation
In Linux file permissions, executing the command `chmod 754 report.sh` assigns which set of permissions to Owner, Group, and Others respectively?
ലിനക്സ് ഫയൽ പെർമിഷനുകളിൽ `chmod 754 report.sh` എന്ന കമാൻഡ് നൽകുമ്പോൾ Owner, Group, Others എന്നിവർക്ക് യഥാക്രമം ലഭിക്കുന്ന പെർമിഷനുകൾ ഏതാണ്?
Show Answer & Explanation
Match the following file extensions with their corresponding file types: (a) .ods — 1. Scalable vector graphics image (b) .svg — 2. LibreOffice Calc spreadsheet (c) .deb — 3. LibreOffice Impress presentation (d) .odp — 4. Debian/Ubuntu software installation package Choose the correct match:
താഴെ പറയുന്ന ഫയൽ എക്സ്റ്റൻഷനുകളെ അവയുടെ ശരിയായ ഫയൽ വിഭാഗങ്ങളുമായി ചേരുംപടി ചേർക്കുക: (a) .ods — 1. സ്കേലബിൾ വെക്ടർ ഗ്രാഫിക്സ് ചിത്രം (b) .svg — 2. ലിബ്രെഓഫീസ് കാൽക് സ്പ്രെഡ്ഷീറ്റ് (c) .deb — 3. ലിബ്രെഓഫീസ് ഇംപ്രസ് പ്രസന്റേഷൻ (d) .odp — 4. ഡെബിയൻ/ഉബുണ്ടു സോഫ്റ്റ്വെയർ ഇൻസ്റ്റാളേഷൻ പാക്കേജ് ശരിയായ ജോഡി തിരഞ്ഞെടുക്കുക:
Show Answer & Explanation
Which type of operating system is specifically engineered to guarantee deterministic execution within strict, predictable time deadlines for applications such as aircraft flight control and medical life-support systems?
വിമാനങ്ങളുടെ ഫ്ലൈറ്റ് കൺട്രോൾ, മെഡിക്കൽ ലൈഫ്-സപ്പോർട്ട് ഉപകരണങ്ങൾ തുടങ്ങിയവയിൽ കൃത്യമായ സമയപരിധിക്കുള്ളിൽ (Deadlines) നിർദ്ദേശങ്ങൾ നടപ്പിലാക്കാൻ രൂപകൽപ്പന ചെയ്തിട്ടുള്ള ഓപ്പറേറ്റിംഗ് സിസ്റ്റം ഏതാണ്?
Show Answer & Explanation
Consider the following statements comparing file systems and path formats: 1. NTFS supports file-level security permissions and files larger than 4 GB, whereas FAT32 has a maximum single-file size limit of 4 GB. 2. An absolute path always begins from the current working directory using symbols such as `..` or `.`. 3. In Linux, `ext4` is a widely used journaling file system. Which of the statements given above are correct?
ഫയൽ സിസ്റ്റങ്ങളെയും പാത്ത് (Path) രീതികളെയും താരതമ്യം ചെയ്യുന്ന താഴെ പറയുന്ന പ്രസ്താവനകൾ പരിശോധിക്കുക: 1. NTFS ഫയൽ-തല സുരക്ഷാ പെർമിഷനുകളും 4 GB-ൽ കൂടുതൽ വലിപ്പമുള്ള ഫയലുകളും പിന്തുണയ്ക്കുമ്പോൾ, FAT32-ൽ ഒരൊറ്റ ഫയലിന്റെ പരമാവധി വലിപ്പം 4 GB ആയി പരിമിതപ്പെടുത്തിയിരിക്കുന്നു. 2. ഒരു അബ്സല്യൂട്ട് പാത്ത് (Absolute Path) എപ്പോഴും `.` അല്ലെങ്കിൽ `..` പോലുള്ള ചിഹ്നങ്ങൾ ഉപയോഗിച്ച് നിലവിലെ വർക്കിംഗ് ഡയറക്ടറിയിൽ നിന്നാണ് ആരംഭിക്കുന്നത്. 3. ലിനക്സിൽ വ്യാപകമായി ഉപയോഗിക്കുന്ന ഒരു ജേർണലിംഗ് (Journaling) ഫയൽ സിസ്റ്റമാണ് `ext4`. മുകളിൽ നൽകിയവയിൽ ശരിയായ പ്രസ്താവനകൾ ഏവ?
Show Answer & Explanation
Which Linux command is used to search for lines matching a specific text pattern inside a file or output stream, and which command elevates privileges to run an administrative task?
ഒരു ഫയലിനുള്ളിൽ പ്രത്യേക ടെക്സ്റ്റ് പാറ്റേൺ തിരയാൻ ഉപയോഗിക്കുന്ന ലിനക്സ് കമാൻഡും, അഡ്മിനിസ്ട്രേറ്റർ അധികാരത്തോടെ കമാൻഡുകൾ പ്രവർത്തിപ്പിക്കാൻ ഉപയോഗിക്കുന്ന കമാൻഡും ഏതൊക്കെയാണ്?