BCA / B.Tech 13 min read

SRS(Software Requirement Specification) in Hindi

RK

लेखक Ratan Kumawat · संस्थापक, NotesMedia

प्रकाशित:

त्वरित सारांश और मुख्य बिंदु

  • • विषय फोकस: Software Engineering Notes in Hindi | सॉफ्टवेयर इंजीनियरिंग (BCA / B.Tech Syllabus)
  • • मुख्य विषय: SRS(Software Requirement Specification) in Hindi - General Topics
  • • अवलोकन: Quick Answer: Software engineering में SRS (Software Requirement Specification) एक formal technical document है, जो यह describe करता है कि बनने वाला so...
  • • मुख्य अवधारणाएं: SRS software requirement specification, Format sections functional non functional Hindi, Use cases traceability tools Jira,SRS software requirement specification, Format sections functional non functional, Use cases traceability tools Jira
Quick Answer: Software engineering में SRS (Software Requirement Specification) एक formal technical document है, जो यह describe करता है कि बनने वाला software क्या काम करेगा (functional requirements) और उसका performance व quality standards कैसा होगा (non-functional requirements)। यह client, users और development team के बीच एक agreement या contract की तरह काम करता है, ताकि project के scope, design और testing में कोई confusion न रहे। IEEE standard 830 के अनुसार एक अच्छा SRS complete, unambiguous, verifiable और consistent होना चाहिए।

SRS in Software Engineering in Hindi क्या है? (SRS Meaning and Definition)

SRS का full form Software Requirement Specification है। आसान शब्दों में कहें तो यह किसी software project का blueprint या नक्शा होता है। जब कोई client किसी software development company से software बनवाना चाहता है, तो सबसे पहले यह तय किया जाता है कि client को असल में क्या चाहिए। इन्हीं सभी ज़रूरतों को एक structured और formal document में लिखा जाता है, जिसे SRS document कहते हैं।

Software development शुरू करने से पहले requirements जुटाने का काम Requirements Engineering in Hindi stage में होता है, और उसी process का final output यह SRS document बनता है।

SRS मुख्य रूप से दो बड़े सवालों का जवाब देता है:

  • System क्या करेगा? (What the system should do - Functional Requirements)
  • System किन conditions और constraints में काम करेगा? (How well it should perform - Non-Functional Requirements)

SRS यह कभी नहीं बताता कि software को internal level पर code या design कैसे करना है (How to design/code)। इसका focus सिर्फ इस बात पर रहता है कि system का behavior बाहर से कैसा दिखेगा।

Advertisement

Client और Developer के बीच का Bridge

Software engineering में client business background से होता है और developer technical background से। दोनों की भाषा अलग होती है। SRS दोनों के बीच bridge का काम करता है:

+---------------+       Business Needs        +------------------+
|    Client /   | --------------------------> |   SRS Document   |
|   End Users   | <-------------------------  | (IEEE Standard)  |
+---------------+       Agreed Scope          +------------------+
                                                       |
                        Clear Technical Specs          |
                                                       v
                                              +------------------+
                                              | Developers and   |
                                              | QA Test Engineers|
                                              +------------------+

Explain SRS in Software Engineering: यह क्यों ज़रूरी है? (Importance of SRS)

बिना SRS के software बनाना वैसा ही है जैसे बिना नक्शे के multi-story building बनाना। SDLC in Hindi के Waterfall model और traditional frameworks में design phase शुरू करने से पहले SRS sign-off होना ज़रूरी होता है।

SRS document बनने से project में ये बड़े फायदे मिलते हैं:

  • Mutual Agreement (सहमति): Client और software company दोनों एक ही page पर रहते हैं। बाद में client यह नहीं कह सकता कि "मुझे यह feature भी चाहिए था जो आपने नहीं बनाया"।
  • Rework और Cost में कमी: Coding पूरी होने के बाद अगर पता चले कि requirement गलत समझी गई थी, तो उसे ठीक करने का खर्च 50 से 100 गुना बढ़ जाता है। SRS शुरू में ही गलतफहमियां दूर कर देता है।
  • Design का Base: System architects और UI designers इसी document को देखकर database schema, high-level architecture और user interface wireframes तैयार करते हैं।
  • Testing और Validation का आधार: QA testers SRS में लिखी हर functional requirement के आधार पर test cases लिखते हैं। Black Box and White Box Testing में Black Box testing पूरी तरह SRS specifications पर निर्भर करती है।
  • Project Management: Project managers SRS के आधार पर team size, budget, timeline और milestones calculate करते हैं।

Characteristics of a Good SRS (IEEE 830 Standard के अनुसार गुण)

IEEE (Institute of Electrical and Electronics Engineers) standard 830-1998 में एक आदर्श SRS document के 8 मुख्य characteristics बताए गए हैं। Exam में यह सवाल 5 marks में बार-बार पूछा जाता है:

Characteristic मतलब (Meaning) Example / Check
1. Correct Document में लिखी हर requirement वही होनी चाहिए जो client और real-world system को चाहिए। Client ने 18% GST calculation माँगा है, तो document में 18% ही लिखा हो, 12% नहीं।
2. Unambiguous हर requirement का केवल एक ही स्पष्ट मतलब निकलना चाहिए। अलग-अलग readers अलग अर्थ न निकालें। "System fast होना चाहिए" लिखना गलत है। सही वाक्य: "Search query का response time 1.5 seconds से कम होना चाहिए"।
3. Complete System की सभी ज़रूरी functions, constraints, error handling और valid/invalid inputs शामिल होने चाहिए। User login के साथ-साथ "Forgot Password" और "Account Lock after 3 failed attempts" भी documented हो।
4. Consistent Document के अंदर दो requirements आपस में टकराती (contradict) नहीं होनी चाहिए। एक जगह लिखा हो "Date format DD/MM/YYYY होगा" और दूसरी जगह "MM/DD/YYYY" लिखा हो, तो यह inconsistent है।
5. Ranked for Importance and Stability हर requirement को priority दी जानी चाहिए (जैसे: High, Medium, Low या Must-have, Should-have)। Payment processing "High priority" है, जबकि dark mode toggle "Low priority" हो सकता है।
6. Verifiable (Testable) हर requirement को code बनने के बाद test करके prove किया जा सके कि यह पूरी हुई या नहीं। "User-friendly interface" verify नहीं हो सकता। "User 3 clicks के अंदर checkout कर सके" verify हो सकता है।
7. Modifiable SRS का structure ऐसा हो कि future में changes आने पर बिना पूरे document को बिगाड़े update किया जा सके। Proper index, unique section numbering (जैसे 3.2.1) और table of contents होना चाहिए।
8. Traceable हर requirement का unique ID (e.g., REQ-01) हो, ताकि code file और test case से trace किया जा सके। Requirements Traceability Matrix (RTM) बनाकर track किया जाता है।

SRS Document का Standard Structure (IEEE 830 Format)

एक complete SRS document को standard तीन main sections में बाँटा जाता है। University exams में SRS का format पूछा जाए तो आपको यह structure लिखना चाहिए:

1. Introduction (परिचय)

  • 1.1 Purpose: इस document का उद्देश्य क्या है और इसके targeted readers कौन हैं।
  • 1.2 Scope: Software क्या-क्या करेगा (product goals) और क्या नहीं करेगा (out-of-scope boundaries)।
  • 1.3 Definitions, Acronyms and Abbreviations: Project में use होने वाले technical terms और short forms (जैसे OTP, API, DB) के full forms।
  • 1.4 References: Project से जुड़े reference documents, legal guidelines या older standards की list।
  • 1.5 Overview: पूरे document का संक्षेप और आगे के sections का organization।

2. Overall Description (सामान्य विवरण)

  • 2.1 Product Perspective: क्या यह एक independent software है या किसी बड़े existing enterprise system का हिस्सा है।
  • 2.2 Product Functions: Software के मुख्य high-level functions की summary (जैसे billing, reporting, user management)।
  • 2.3 User Classes and Characteristics: इस software को कौन use करेगा (e.g., Admin, Data Entry Operator, Customer) और उनका technical skill level क्या है।
  • 2.4 Operating Environment: Hardware platform, OS (Windows/Linux), browser versions और database requirements।
  • 2.5 Design and Implementation Constraints: Regulations, security policies, programming languages या hardware memory limits जो development पर बंधन लगाते हैं।
  • 2.6 Assumptions and Dependencies: वो बातें जो सच मानी गई हैं (जैसे "Client के पास 24/7 stable internet connection रहेगा")।

3. Specific Requirements (विशिष्ट ज़रूरतें)

यह SRS document का सबसे महत्वपूर्ण और बड़ा technical भाग होता है। इसमें developers और testers के लिए detail specifications होती हैं:

  • External Interface Requirements: User Interface (UI screens), Hardware Interfaces, Software Interfaces (APIs, Payment Gateways) और Communication Interfaces (HTTPS, FTP protocols)।
  • Functional Requirements: हर एक feature का step-by-step logic, input formats, processing steps और expected output।
  • Performance Requirements: Concurrent users capacity, response time, database throughput।
  • Software System Attributes: Reliability, Availability, Security, Maintainability और Portability।

Functional vs Non-Functional Requirements in SRS

SRS document में requirements को दो मुख्य categories में classify किया जाता है। इनके बीच अंतर समझना बहुत ज़रूरी है। Detail comparison के लिए आप Functional and Non-Functional Requirements भी पढ़ सकते हैं।

Comparison Point Functional Requirements Non-Functional Requirements
Core Question System को क्या (What) करना है? System को कैसा (How well) perform करना है?
Focus Area User features, business logic, calculations और data processing। Performance, security, availability, speed और reliability।
User Perspective Direct user interactions (जैसे button click, login, print receipt)। User experience और quality standards (जैसे site 2 seconds में खुलना)।
Failure Impact अगर यह fail हो, तो system का वो feature काम ही नहीं करेगा। अगर यह fail हो, तो system काम करेगा पर slow, unsecure या unreliable रहेगा।
Examples User password reset कर सके; Bill amount पर 5% discount calculate हो। System 99.9% uptime maintain करे; Data AES-256 encryption से save हो।

Worked Example: Real-World Sample SRS (College Library Management System)

Concept को practical तरीके से समझने के लिए नीचे एक College Library Management System (LMS) के SRS का practical sample दिया गया है। Exams में जब case study या sample माँगा जाए, तो आप इस format में लिख सकते हैं:

Advertisement

1. Project Scope

College library के book issue, return, student membership और fine calculation process को automate करना। यह web-based system college intranet और cloud server पर चलेगा।

2. User Roles

  • Student/Faculty: Catalog search करना, book reserve करना, अपनी issued books और due fine देखना।
  • Librarian/Staff: New book entry, barcode scan, book issue/return accept करना, fine collect करना।
  • Admin: User accounts create करना, system backup लेना और monthly audit reports generate करना।

3. Functional Requirements (With Unique IDs)

Req ID Requirement Name Input Processing Logic Expected Output
FR-01 User Authentication Enrollment number और Password Database में check करो; 3 गलत attempts पर account 15 minutes के लिए lock करो। Dashboard screen open हो, या error message display हो।
FR-02 Book Search Book Title, Author या ISBN number Database query run करो; available copies count निकालो। Matching books की list, shelf rack location और current status (Available/Issued)।
FR-03 Book Issue Rule Student Barcode और Book Barcode Check करो: Student के पास पहले से 3 से ज़्यादा books न हों, और previous fine zero हो। Due date (Current Date + 14 days) assign हो और database update हो।
FR-04 Fine Calculation Returned Book Barcode अगर Return Date > Due Date, तो Days Diff * Rs 2 per day calculate करो। Screen पर fine amount show हो और student ledger में add हो।

4. Non-Functional Requirements (With Measurable Metrics)

  • NFR-01 (Performance): 500 concurrent users के load पर search query का response time 2 seconds से कम होना चाहिए।
  • NFR-02 (Security): Passwords database में bcrypt hashing algorithm के साथ store होने चाहिए। Clear text password storage सख्त मना है।
  • NFR-03 (Availability): Library working hours (8:00 AM से 8:00 PM) के दौरान system 99.5% uptime maintain करेगा।
  • NFR-04 (Backup): Database का automatic compressed backup daily रात 12:00 बजे secondary cloud storage पर store होगा।

SRS Document बनाते समय Common Mistakes (आम गलतियाँ)

Software development projects के fail होने का एक बड़ा कारण खराब requirements होती हैं। SRS लिखते समय developers और business analysts अक्सर ये गलतियाँ करते हैं:

  • 1. Vague और Unmeasurable शब्दों का इस्तेमाल: "System user-friendly होना चाहिए", "Page quickly load हो", "Software robust होना चाहिए"। इन शब्दों को test नहीं किया जा सकता। हमेशा exact numbers लिखें (जैसे "Page load time under 3 seconds on a 4G connection")।
  • 2. Implementation Details लिख देना: SRS में यह तय नहीं करना चाहिए कि "User details save करने के लिए MySQL version 8.0 में InnoDB table बनेगी और PHP script run होगी"। यह architecture और design team का काम है। SRS को सिर्फ functional requirements तक limited रखना चाहिए।
  • 3. Negative Scenarios और Exceptions छोड़ देना: सिर्फ happy path (जब user सब सही input दे) लिखना और error states (जैसे wrong OTP, network disconnect, duplicate email entry) को document न करना।
  • 4. Non-Functional Requirements को नज़रअंदाज़ करना: पूरी मेहनत सिर्फ features list बनाने में लगा देना और security, scalability या backup requirements को भूल जाना। इससे live launch के समय software crash हो जाता है।
  • 5. Version Control न रखना: Project के बीच client requirements बदलती रहती हैं। अगर SRS version (e.g., v1.0, v1.1, v2.0) और change history log maintain न की जाए, तो team outdated specs पर code करती रह जाती है।

Exam में कैसे लिखें (5 Marks Ready Answer)

अगर university exam (MDSU, RTU, RU) में "SRS क्या है? इसके मुख्य characteristics समझाइए" सवाल 5 marks में आए, तो copy में point-to-point इस तरह लिखें:

  1. Definition (2 line): SRS (Software Requirement Specification) एक structured technical document है जो यह define करता है कि software क्या काम करेगा (functional requirements) और उसकी performance/quality constraints (non-functional requirements) क्या होंगी। यह client और developer के बीच formal contract है।
  2. Purpose (2 line): Project का scope clear करना, misunderstandings खत्म करना, और design, coding व testing phase को clear base देना।
  3. Core Components (2 line): इसमें 1. Introduction, 2. Overall Description, और 3. Specific Requirements (Functional & Non-Functional) शामिल होते हैं।
  4. Key Characteristics (IEEE 830) (4-5 points):
    • Correct: Client की वास्तविक ज़रूरतों के बिल्कुल अनुकूल हो।
    • Unambiguous: हर requirement का केवल एक ही स्पष्ट मतलब निकले।
    • Complete: सभी functions, inputs, outputs और constraints शामिल हों।
    • Consistent: कोई भी दो requirements आपस में टकराती न हों।
    • Verifiable: हर requirement को test case से check किया जा सके।
  5. Block Diagram: छोटा block diagram बनाएँ: Client Requirements ---> SRS Document ---> Design & Testing।

Exam के लिए Important Questions

Short Questions (2–3 marks)

  1. SRS का full form क्या है और इसे कौन सा standard govern करता है? (Software Requirement Specification; IEEE Standard 830-1998 govern करता है)
  2. Functional और Non-Functional requirements में एक मुख्य अंतर बताइए। (Functional बताती है कि system क्या काम करेगा; Non-Functional बताती है कि system का performance और security कैसा होगा)
  3. Unambiguous requirement का क्या मतलब है? (जिस requirement का केवल एक ही अर्थ निकले और reader के मन में कोई confusion न हो)
  4. Traceability से क्या समझते हैं? (हर requirement का unique ID होना ताकि उसे design, code और test cases के साथ आसानी से track किया जा सके)
  5. SRS document में software design details क्यों नहीं लिखी जातीं? (क्योंकि SRS "What to do" बताता है, जबकि technical design "How to do" का हिस्सा है)

Long Questions (5–10 marks)

  1. SRS document in software engineering in hindi को detail में समझाइए। इसके मुख्य components और IEEE standard format को स्पष्ट कीजिए।
  2. एक अच्छे SRS document के मुख्य characteristics (IEEE 830) क्या हैं? Example देकर समझाइए।
  3. किसी Online Shopping System या Hotel Management System के लिए sample SRS तैयार कीजिए, जिसमें functional और non-functional requirements शामिल हों।
  4. Requirements Engineering process क्या है और इसमें SRS document क्यों ज़रूरी होता है?

FAQs

SRS in Hindi का मुख्य उद्देश्य क्या होता है?

SRS का मुख्य उद्देश्य client की अपेक्षाओं और developers की technical understanding को एक समान धरातल पर लाना है। यह project के scope को lock करता है ताकि future में scope creep और budget overrun न हो।

क्या Agile methodology में भी SRS बनाया जाता है?

Traditional Waterfall model में पूरा 100-page SRS coding से पहले बनता है। लेकिन Agile Process in Hindi में बहुत लंबा static document बनाने के बजाय requirements को छोटे User Stories और Product Backlog items के रूप में maintain किया जाता है, जिन्हें sprint-by-sprint update करते हैं।

SRS document कौन तैयार करता है?

SRS आमतौर पर Business Analyst (BA) या System Analyst तैयार करता है। इसके लिए वो client, end users और domain experts से meetings (interviews, questionnaires, workshops) करके requirements इकट्ठा करता है।

अगर SRS में कोई गलती रह जाए तो software पर क्या असर पड़ता है?

गलत SRS से गलत software बनता है। अगर requirement phase का bug testing या deployment phase में पकड़ा जाए, तो उसे fix करने का खर्च और time दोनों 60 से 100 गुना तक बढ़ जाते हैं, और project delay हो सकता है।

अक्सर पूछे जाने वाले प्रश्न (FAQs)

Quick Answer: Software engineering में SRS (Software Requirement Specification) एक formal technical document है, जो यह describe करता है कि बनने वाला software क्या काम करेगा (functional requirements) और उसका performance व quality standards कैसा होगा (non-functional requirements)।
Software Engineering Notes in Hindi | सॉफ्टवेयर इंजीनियरिंग के पाठ्यक्रम में SRS(Software Requirement Specification) in Hindi एक महत्वपूर्ण अध्याय है। यह मुख्य सिद्धांतों, परीक्षा प्रश्नों और सूत्रों को समझने के लिए अत्यधिक आवश्यक है।
हाँ, NotesMedia पर आपको SRS(Software Requirement Specification) in Hindi के महत्वपूर्ण प्रश्नोत्तर, हल किए गए उदाहरण और नोट्स बिल्कुल मुफ्त मिलेंगे। अधिक अभ्यास के लिए आप हमारा ऐप भी डाउनलोड कर सकते हैं।
Advertisement