Introduction to Operating Systems

What an operating system is and why every computer needs one.

Introduction to Operating Systems

Operating System (OS) एक system software (सिस्टम सॉफ्टवेयर) है जो computer के hardware और user के बीच interface (इंटरफेस) का कार्य करता है। यह computer के hardware resources को manage (प्रबंधित) करता है और विभिन्न application programs को चलाने के लिए आवश्यक environment प्रदान करता है।

Operating System: User → Operating System → Computer Hardware

जब हम computer को start करते हैं, तो operating system computer के विभिन्न hardware components जैसे processor, memory, storage और input-output devices को manage करना शुरू करता है। User सामान्यतः hardware के साथ सीधे communication नहीं करता, बल्कि operating system के माध्यम से computer का उपयोग करता है।

What is an Operating System?

Operating System एक ऐसा system software है जो computer के hardware और software resources को control तथा manage करता है और user तथा computer के बीच communication का माध्यम प्रदान करता है।

उदाहरण के लिए, जब हम keyboard से कोई key दबाते हैं और monitor पर उसका character दिखाई देता है, तो इस पूरी प्रक्रिया में operating system input device, processor, memory और display के बीच coordination में महत्वपूर्ण भूमिका निभाता है।

याद रखें: Operating System computer के hardware और software resources को manage करता है तथा user को computer का उपयोग करने के लिए interface प्रदान करता है।

Operating System as an Interface

Computer hardware बहुत जटिल होता है। सामान्य user के लिए hardware के साथ directly interact करना आसान नहीं होता। Operating System user को एक convenient interface प्रदान करता है, जिसके माध्यम से user files, applications और hardware devices का उपयोग कर सकता है।

इस प्रकार Operating System को user और hardware के बीच intermediary (मध्यस्थ) के रूप में समझा जा सकता है।

User ↔ Operating System ↔ Hardware

Why is an Operating System Needed?

यदि computer में operating system न हो, तो सामान्य user के लिए computer hardware और resources का उपयोग करना बहुत कठिन होगा। Operating System computer के विभिन्न resources को व्यवस्थित रूप से manage करता है और applications को आवश्यक services प्रदान करता है।

Operating System की आवश्यकता मुख्य रूप से निम्नलिखित कारणों से होती है:

  • Computer hardware को manage करने के लिए।
  • Applications को run करने के लिए।
  • Memory और processor को manage करने के लिए।
  • Files और folders को manage करने के लिए।
  • Input और output devices को control करने के लिए।
  • User को computer के साथ interact करने के लिए interface प्रदान करने के लिए।

Main Functions of an Operating System

Operating System computer में कई महत्वपूर्ण functions perform करता है। इसके प्रमुख functions निम्नलिखित हैं:

  1. Process Management
  2. Memory Management
  3. File Management
  4. Device Management
  5. User Interface
  6. Security and Protection
  7. Resource Management

1. Process Management

Process Management का अर्थ computer में चल रहे processes (कार्यक्रमों के execution) को manage करना है। Operating System यह निर्धारित करने में सहायता करता है कि processor को किस process को कब और कितने समय के लिए execute करना है।

जब computer में एक साथ कई applications चल रही होती हैं, तो Operating System processor के उपयोग को manage करता है ताकि विभिन्न processes को आवश्यक CPU time मिल सके।

Example: यदि हम एक साथ web browser, music player और text editor चला रहे हैं, तो Operating System इन applications की processes को manage करता है।

Process Management: Running processes को manage करना और CPU resources का उचित उपयोग सुनिश्चित करना।

2. Memory Management

Memory Management का अर्थ computer की main memory (मुख्य स्मृति) को manage करना है। Operating System यह track करता है कि memory का कौन-सा भाग किस process द्वारा उपयोग किया जा रहा है और आवश्यकता के अनुसार memory allocate तथा deallocate करता है।

जब कोई application शुरू होती है, तो उसे execution के लिए memory की आवश्यकता होती है। Operating System उसे आवश्यक memory उपलब्ध कराने में सहायता करता है। Application बंद होने के बाद उस memory को दूसरे tasks के लिए उपलब्ध कराया जा सकता है।

Memory Management: Main memory को processes और applications के बीच efficiently manage करना।

3. File Management

File Management का अर्थ computer में files और directories (folders) को organize तथा manage करना है। Operating System files को create, delete, rename, copy और move करने जैसी सुविधाएँ प्रदान करता है।

यह files को storage devices पर व्यवस्थित रूप से रखने और आवश्यकता पड़ने पर उन्हें access करने में भी सहायता करता है।

Example: किसी document को किसी folder में save करना और बाद में उसे open करना Operating System की file management services के माध्यम से संभव होता है।

File Management: Files और folders को create, organize, store और access करने की सुविधा देना।

4. Device Management

Device Management का अर्थ computer से जुड़े hardware devices को manage और control करना है। Operating System input और output devices जैसे keyboard, mouse, printer, monitor आदि के साथ communication में महत्वपूर्ण भूमिका निभाता है।

Operating System device drivers (डिवाइस ड्राइवर) और अन्य system software की सहायता से hardware devices को applications के लिए accessible बनाता है।

Example: जब हम किसी document को print करते हैं, तो Operating System application और printer के बीच आवश्यक communication और coordination में सहायता करता है।

Device Management: Computer से जुड़े hardware devices को control और manage करना।

5. User Interface

User Interface (UI) वह माध्यम है जिसके द्वारा user Operating System के साथ interact करता है। Operating System विभिन्न प्रकार के user interfaces प्रदान कर सकता है।

दो प्रमुख प्रकार के interfaces हैं:

  1. Command Line Interface (CLI)
  2. Graphical User Interface (GUI)

Command Line Interface (CLI)

CLI में user commands को text के रूप में enter करके computer के साथ interact करता है। इसमें graphical icons की जगह commands का उपयोग किया जाता है।

Example: Command Prompt और Unix/Linux shell CLI के उदाहरण हैं।

Graphical User Interface (GUI)

GUI में user windows, icons, menus, buttons और pointer जैसे graphical elements की सहायता से computer का उपयोग करता है। यह सामान्य users के लिए अधिक convenient interface प्रदान करता है।

Example: Windows, macOS और कई Linux desktop environments GUI आधारित interfaces प्रदान करते हैं।

CLI GUI
Commands के माध्यम से interaction होता है। Graphical elements के माध्यम से interaction होता है।
Text-based interface है। Graphical interface है।
Commands का ज्ञान आवश्यक हो सकता है। Icons, menus और buttons का उपयोग किया जाता है।

6. Security and Protection

Operating System computer system और user data की security तथा protection में भी महत्वपूर्ण भूमिका निभाता है। यह users को authenticate (प्रमाणित) करने, permissions manage करने और resources तक access को control करने जैसी सुविधाएँ प्रदान कर सकता है।

Example: Computer में password या user account के माध्यम से login करना Operating System की security features का एक उदाहरण है।

Security: Unauthorized access (अनधिकृत पहुँच) को रोकने और system resources तथा data की सुरक्षा में सहायता करना।

7. Resource Management

Computer में CPU, memory, storage और input-output devices जैसे कई resources होते हैं। Operating System इन resources को विभिन्न programs और users के बीच manage तथा allocate करने में महत्वपूर्ण भूमिका निभाता है।

इसका उद्देश्य available resources का efficient (कुशल) और व्यवस्थित उपयोग सुनिश्चित करना है।

Resource Management: Computer के hardware और software resources को उचित तरीके से allocate और manage करना।

Components Managed by an Operating System

Resource Operating System की भूमिका
CPU Processes को CPU time उपलब्ध कराने और scheduling में सहायता करना
Main Memory Programs और processes के लिए memory allocate और manage करना
Storage Files और directories को organize तथा access करना
Input/Output Devices Devices के साथ communication और control में सहायता करना

Types of Operating Systems

Operating Systems को उनके working environment और functionality के आधार पर विभिन्न प्रकारों में classify किया जा सकता है। कुछ प्रमुख प्रकार निम्नलिखित हैं:

  • Single-user Operating System: मुख्य रूप से एक user के लिए designed operating system।
  • Multi-user Operating System: एक system पर multiple users को resources उपलब्ध कराने वाला operating system।
  • Multitasking Operating System: एक समय में multiple tasks या processes को manage करने में सक्षम operating system।
  • Real-time Operating System (RTOS): ऐसे systems में उपयोग किया जाता है जहाँ निर्धारित समय सीमा में response आवश्यक होता है।
  • Distributed Operating System: एक से अधिक interconnected computers के resources को एक coordinated system के रूप में manage करने के लिए designed operating system।
  • Embedded Operating System: विशेष-purpose devices और embedded systems में उपयोग किया जाने वाला operating system।
Important: Operating System के प्रकारों का classification अलग-अलग criteria के आधार पर किया जा सकता है। इसलिए किसी OS की एक से अधिक characteristics हो सकती हैं।

Examples of Operating Systems

Operating System Common Use
Microsoft Windows Desktop और personal computers
Linux Desktop, server और अन्य computing environments
macOS Apple Mac computers
Android Smartphones और tablets
iOS Apple mobile devices

Operating System and Application Software

Operating System और application software दोनों software हैं, लेकिन इनके functions अलग-अलग होते हैं। Operating System एक system software है जो computer resources को manage करता है और applications को run करने के लिए platform प्रदान करता है। Application software किसी specific user task को perform करने के लिए बनाया जाता है।

Operating System Application Software
System software है। Application software है।
Computer resources को manage करता है। User के specific tasks को perform करता है।
Applications को run करने के लिए environment प्रदान करता है। OS द्वारा प्रदान किए गए environment में run करता है।
Examples: Windows, Linux, macOS, Android Examples: Word processor, Web browser, Media player

Booting and Operating System

Booting वह process है जिसमें computer को start या restart करने पर operating system को system memory में load किया जाता है ताकि computer उपयोग के लिए तैयार हो सके।

Computer के power on होने के बाद firmware प्रारंभिक hardware checks और startup प्रक्रिया में सहायता करता है तथा operating system को storage से load करने की प्रक्रिया शुरू होती है। Operating System load होने के बाद user computer पर applications और अन्य tasks का उपयोग कर सकता है।

Simple Flow: Power On → Startup/Firmware → Operating System Load → User Environment

Operating System as a Resource Manager

Operating System को resource manager भी कहा जाता है क्योंकि यह computer के उपलब्ध resources को manage करता है। जब कई programs एक साथ resources की मांग करते हैं, तो Operating System उनके बीच resources के allocation और coordination में महत्वपूर्ण भूमिका निभाता है।

उदाहरण के लिए, यदि कई applications एक साथ CPU और memory का उपयोग करना चाहती हैं, तो Operating System उनके resource requirements को manage करता है ताकि system व्यवस्थित रूप से काम कर सके।

Example of Operating System in Daily Use

मान लीजिए हम computer पर एक document बनाते हैं और उसे print करते हैं। इस पूरी प्रक्रिया में Operating System कई स्तरों पर काम करता है:

  1. User application में document तैयार करता है।
  2. Operating System application को CPU और memory resources उपलब्ध कराने में सहायता करता है।
  3. Document को save करने पर Operating System file management services का उपयोग करता है।
  4. Print command देने पर Operating System printer के साथ communication में सहायता करता है।
  5. CPU और अन्य hardware resources को आवश्यकतानुसार manage किया जाता है।

इस उदाहरण से स्पष्ट होता है कि Operating System केवल एक interface नहीं है, बल्कि computer system के लगभग सभी प्रमुख resources और activities के management में महत्वपूर्ण भूमिका निभाता है।

Important Points

  • Operating System एक system software है।
  • यह user और computer hardware के बीच interface का कार्य करता है।
  • यह CPU, memory, storage और I/O devices जैसे resources को manage करता है।
  • Process Management Operating System का प्रमुख function है।
  • Memory Management के माध्यम से main memory को manage किया जाता है।
  • File Management files और directories को organize करने में सहायता करता है।
  • Device Management hardware devices के control और communication में सहायता करता है।
  • GUI और CLI Operating System के प्रमुख user interface types हैं।
  • Operating System system security और access control में भी महत्वपूर्ण भूमिका निभाता है।
  • Windows, Linux, macOS, Android और iOS Operating System के examples हैं।

Board Focus

Exam के लिए याद रखें:
Operating System → System Software
Main Role → Hardware और software resources को manage करना
Interface → User और Hardware के बीच
Process Management → Processes को manage करना
Memory Management → Main memory को manage करना
File Management → Files और folders को manage करना
Device Management → I/O devices को manage करना
GUI → Graphical User Interface
CLI → Command Line Interface

Board Important Questions

Very Short Answer Questions

Q1. Operating System क्या है?

Answer: Operating System एक system software है जो computer के hardware और software resources को manage करता है तथा user और hardware के बीच interface प्रदान करता है।

Q2. Operating System किस प्रकार का software है?

Answer: Operating System एक system software है।

Q3. Operating System का एक प्रमुख कार्य लिखिए।

Answer: Computer resources को manage करना Operating System का प्रमुख कार्य है।

Q4. GUI का full form क्या है?

Answer: GUI का full form Graphical User Interface है।

Q5. CLI का full form क्या है?

Answer: CLI का full form Command Line Interface है।

Q6. Operating System के दो उदाहरण लिखिए।

Answer: Microsoft Windows और Linux Operating System के दो उदाहरण हैं।

Q7. File Management से क्या तात्पर्य है?

Answer: Computer में files और directories को create, organize, store और access करने की प्रक्रिया को File Management कहा जाता है।

Short Answer Questions

Q8. Operating System की आवश्यकता क्यों होती है?

Answer: Operating System computer के hardware और software resources को manage करता है तथा user को computer के साथ interact करने के लिए interface प्रदान करता है। यह CPU, memory, storage और input-output devices को manage करने के साथ applications को run करने के लिए आवश्यक environment भी प्रदान करता है।

Q9. Operating System के प्रमुख functions लिखिए।

Answer: Operating System के प्रमुख functions में Process Management, Memory Management, File Management, Device Management, User Interface, Security and Protection तथा Resource Management शामिल हैं।

Q10. GUI और CLI में अंतर बताइए।

GUI CLI
Graphical elements के माध्यम से interaction होता है। Text commands के माध्यम से interaction होता है।
Windows, icons, menus और buttons का उपयोग किया जाता है। Commands type करके कार्य किया जाता है।
सामान्य users के लिए अधिक convenient होता है। Commands का knowledge आवश्यक हो सकता है।

Q11. Process Management और Memory Management क्या हैं?

Answer: Process Management computer में चल रही processes को manage करने और CPU resources का उचित उपयोग सुनिश्चित करने से संबंधित है। Memory Management main memory को manage करने तथा विभिन्न processes को आवश्यक memory allocate और deallocate करने से संबंधित है।

Long Answer Questions

Q12. Operating System के प्रमुख functions का विस्तार से वर्णन कीजिए।

Answer: Operating System एक system software है जो computer system के विभिन्न resources और activities को manage करता है। इसके प्रमुख functions में Process Management, Memory Management, File Management, Device Management, User Interface, Security and Protection तथा Resource Management शामिल हैं। Process Management के द्वारा running processes को manage किया जाता है। Memory Management main memory के allocation और deallocation में सहायता करता है। File Management files और directories को organize तथा access करने की सुविधा देता है। Device Management input-output devices को control और manage करने में सहायता करता है। User Interface user को computer के साथ interact करने का माध्यम प्रदान करता है। Security functions unauthorized access को रोकने में सहायता करते हैं। इस प्रकार Operating System computer system के efficient और व्यवस्थित operation के लिए आवश्यक है।

Q13. Operating System को User और Hardware के बीच interface क्यों कहा जाता है?

Answer: Computer hardware सीधे user के लिए उपयोग करना कठिन हो सकता है। Operating System user द्वारा दिए गए commands और requests को system resources तथा hardware operations के साथ coordinate करने में सहायता करता है। User files खोलने, applications चलाने, data save करने और devices का उपयोग करने जैसे कार्य Operating System के माध्यम से करता है। इसलिए Operating System को user और hardware के बीच interface या intermediary कहा जाता है।

Quick Revision

  • Operating System: एक system software है।
  • Main Role: Hardware और software resources को manage करना।
  • Interface: User और hardware के बीच communication का माध्यम।
  • Process Management: Running processes को manage करना।
  • Memory Management: Main memory को manage करना।
  • File Management: Files और directories को manage करना।
  • Device Management: Hardware devices को manage करना।
  • GUI: Graphical User Interface।
  • CLI: Command Line Interface।
One-Line Revision: Operating System एक system software है जो user और computer hardware के बीच interface प्रदान करता है तथा CPU, memory, files, devices और अन्य system resources को manage करता है।

Practice Questions

  1. Operating System की परिभाषा दीजिए।
  2. Operating System को system software क्यों कहा जाता है?
  3. Operating System के कोई पाँच functions लिखिए।
  4. Process Management क्या है?
  5. Memory Management से आप क्या समझते हैं?
  6. File Management का क्या कार्य है?
  7. Device Management क्या है?
  8. GUI और CLI में अंतर बताइए।
  9. Operating System को resource manager क्यों कहा जाता है?
  10. Operating System user और hardware के बीच interface के रूप में कैसे कार्य करता है?
Lesson 4 of 39
On This Page