Requirement Document Overview
42 Questions
0 Views

Choose a study mode

Play Quiz
Study Flashcards
Spaced Repetition
Chat to lesson

Podcast

Play an AI-generated podcast conversation about this lesson

Questions and Answers

What does IEEE Std 830-1998 provide guidelines for?

  • Project Management
  • Software Maintenance
  • Software Requirements Specifications (correct)
  • Software Testing
  • The SRS document does not have to include a table of contents.

    False

    Name one aspect covered by the SRS according to IEEE Std 830-1998.

    Guidelines for preparing SRS documents

    The first section of the SRS is titled __________.

    <p>Introduction</p> Signup and view all the answers

    Match the sections of the SRS with their content:

    <p>Purpose = Reasons for creating the document Document Conventions = Standard format and rules used Intended Audience = Who should use the document References = Other documents used for drafting</p> Signup and view all the answers

    Which of the following phrases best describes a good user requirement?

    <p>The Online Banking System shall allow the user to access her current account balance in less than 5 seconds.</p> Signup and view all the answers

    A vague quality criterion in a user requirement helps to set clear expectations.

    <p>False</p> Signup and view all the answers

    What is the primary focus of user requirements?

    <p>The user's needs or tasks.</p> Signup and view all the answers

    The Internet User _____ sees her current account balance on the laptop screen.

    <p>quickly</p> Signup and view all the answers

    Match the following aspects of good user requirements with their descriptions:

    <p>Defines the system = Identifies the specific system under discussion Quality criteria = Sets measurable success metrics Expected end result = Describes what the user wants to achieve Implementation details = Specifies how the requirement should be fulfilled</p> Signup and view all the answers

    What is the primary purpose of a Data Flow Diagram (DFD)?

    <p>To clarify system requirements</p> Signup and view all the answers

    A data dictionary provides detailed descriptions of data flow within a system.

    <p>False</p> Signup and view all the answers

    What symbol in a data dictionary notation indicates optional data?

    <p>Parentheses</p> Signup and view all the answers

    The data dictionary stores the _____ of data items, among other details.

    <p>names</p> Signup and view all the answers

    Match the following data dictionary elements with their definitions:

    <p>Name = Identification of the data item Aliases = Other names for the data item Description = Purpose of the data item Range of values = Possible values the data can take</p> Signup and view all the answers

    Which of the following is represented by square brackets in data dictionary notation?

    <p>Optional elements</p> Signup and view all the answers

    Curly braces in data dictionary notation indicate a sequence of elements.

    <p>True</p> Signup and view all the answers

    Give an example of a selection represented in a data dictionary.

    <p>Atm-transaction = [ deposit | withdrawal ]</p> Signup and view all the answers

    What is the primary purpose of a Software Requirements Specifications (SRS) document?

    <p>To describe what the system should do</p> Signup and view all the answers

    User requirements are primarily intended for software developers.

    <p>False</p> Signup and view all the answers

    List two characteristics that an SRS document should possess.

    <p>Consistent and complete</p> Signup and view all the answers

    The __________ document describes the specific functions and constraints of the system in detail.

    <p>system requirements</p> Signup and view all the answers

    Match the requirement types with their primary audience:

    <p>User Requirements = Client managers, System end-users System Requirements = Software developers, System architects Software Specification = Client engineers, Contractor managers</p> Signup and view all the answers

    What may happen without a properly developed SRS document?

    <p>Maintenance engineers may struggle to understand system functionality.</p> Signup and view all the answers

    An SRS document includes design suggestions and possible solutions.

    <p>False</p> Signup and view all the answers

    What is one major problem that can arise from the absence of an SRS document?

    <p>Software developers may not know if they are meeting customer requirements.</p> Signup and view all the answers

    Which of the following is NOT a mandatory characteristic of a requirement?

    <p>Prioritized</p> Signup and view all the answers

    It is acceptable to mix different kinds of requirements together.

    <p>False</p> Signup and view all the answers

    What should be avoided when writing requirements to prevent over-specification?

    <p>Describing how the system is going to achieve something.</p> Signup and view all the answers

    The system shall inform the customer that the purchase is __________.

    <p>confirmed</p> Signup and view all the answers

    Match the pitfalls of writing requirements with their descriptions:

    <p>Over-specification = Describing how the system achieves requirements Vague terms = Using informal language that can't be verified Mixing requirements levels = Confusing high level and technical requirements Indefinable quality = Using words like 'user-friendly' or 'flexible'</p> Signup and view all the answers

    Which term is an example of a vague indefinable term?

    <p>User-friendly</p> Signup and view all the answers

    Which test can help to distinguish between what the system should do versus how it should do it?

    <p>What versus how test</p> Signup and view all the answers

    All requirements should prioritize the aspect of cost-effectiveness when written.

    <p>False</p> Signup and view all the answers

    Which of the following is considered a writing pitfall to avoid when creating requirements?

    <p>Making multiple requirements</p> Signup and view all the answers

    Wishful thinking refers to requesting realistic and achievable goals in a project requirement.

    <p>False</p> Signup and view all the answers

    What is one danger sign that indicates multiple requirements are present when writing?

    <p>Conjunctions</p> Signup and view all the answers

    The Easy Entry System _____ be fully adaptable to all situations.

    <p>may</p> Signup and view all the answers

    Match the following terms with their meanings:

    <p>Requirement = A specification of what a system should do Pitfall = A common mistake to avoid Suggestion = An option that is not a requirement DFD = A graphical representation of process flow</p> Signup and view all the answers

    Which statement best exemplifies a well-structured requirement?

    <p>The Order Entry system shall process orders quickly and user-friendly.</p> Signup and view all the answers

    Including lengthy explanations in requirements is encouraged to provide clarity.

    <p>False</p> Signup and view all the answers

    What should developers typically ignore according to the common pitfalls mentioned in requirement writing?

    <p>Suggestions or possibilities</p> Signup and view all the answers

    Study Notes

    Writing Requirement Document

    • A Writing Requirement Document (WRD) is a document that outlines the requirements for a writing project.

    Types of Requirements

    • User Requirements: Natural language statements and diagrams describing what services the system should provide and operational constraints.

    • System Requirements: Detailed specifications of system functions, services, and operational constraints. A functional specification document, precise and defining what should be implemented.

    • Software Specification: Detailed software description to serve as a basis for design and implementation, intended for developers.

    Requirement Readers

    • User requirements: Client managers, system end-users, client engineers, contractor managers, system architects.

    • System Requirements: System end-users, clients engineers, system architects and software developers.

    • Software specification: Client engineers(perhaps), system architects, and software developers.

    Software Requirements Specifications (SRS) Document

    • The SRS document is the output of requirements analysis.

    • It should be consistent, unambiguous, complete, and correct.

    • It's not a design document, but describes what the system should do, not how.

    • It should only contain functional and non-functional requirements.

    • It doesn't suggest or detail solutions, focusing only on understanding developers and customer needs.

    Problems Without SRS Document

    • Without an SRS, the system implementation may not meet customer needs.
    • Developers may not understand the exact requirements of the customer.
    • Maintenance engineers face difficulty understanding the system's functionality without the SRS document.
    • User manuals become difficult to write correctly without an SRS document.

    Goals of SRS Document

    • Feedback to Customers: Ensures developers understand the problems to be solved; the SRS should be written in natural language, using data flow diagrams, charts and decision tables.

    • Problem Decomposition: Breaks down the problem into components, defining boundaries, solidifying ideas and helping break the problem into manageable parts.

    • Input to Design Specification: Serves as a guide to subsequent documents like Software Design Specification and Statement of Work; the SRS should contain details on the functional system requirements.

    • Production Validation Check: Facilitates testing and validation strategies, serving as the parent document.

    Who Writes SRS Documents

    • Typically, system architects and programmers write SRS documents.
    • The requirements gathering team (including programmers, product marketers, system analysis/architects, and project managers) contribute to the creation of the SRS document.

    Properties of a Good SRS Document

    • Concise and Structured: Should be easy to understand and modify, using a clear and well-organized structure.

    • Black-box View: Focuses on what the system should do, not how, avoiding implementation details and specifics.

    • Conceptual integrity: Supports a reader's ease of comprehension about the system.

    • Responses to undesired events: Addresses reactions to error conditions and unforeseen circumstances.

    • Verifiable: All requirements are verifiable so it can be determined if the requirements were met.

    Parts of SRS Document

    • Functional Requirements
    • Non-Functional Requirements
    • Goals of Implementation

    IEEE Std 830-1998

    • IEEE Recommended Practice for Software Requirements Specifications.
    • Provides guidelines for creating SRS documents, covering key aspects.

    SRS Table of Contents Example

    Uses of SRS

    • Project Management: Used by project managers for planning and resource allocation.

    • Development: Used by developers to design, build, test the products.

    • Testing: Used by testing groups to create the test plan, and run tests.

    • Maintenance and Support: Helps maintenance and support staff understand system functionalities.

    • Documentation: Used for customer manuals' content creation.

    • Customers: Provides customers with expectations of the end product.

    • Training: Used for training materials production.

    SRS Validation

    • Errors: Critical to identify and fix errors in the SRS document as early as possible to avoid issues in later development phases

    • Omission: Errors may occur in case some requirements are not included.

    • Inconsistency: May exist when user requirements clash with each other.

    • Incorrect Facts: Need to identify incorrect facts in the document.

    • Ambiguity: Ensuring requirements have clear and proper meanings.

    Approaches to Requirement Representation

    • Informal (natural language): 60% of respondents use this method.
    • Formal: UML, class diagrams, sequence diagrams, Z, VDM, etc. are often used.
    • Semi-Formal: Using a mix of formal and informal techniques.

    Requirement Format

    • Clear, concise and consistent: Form specifications are: -The [noun phrase] shall (not) [verb phrase]
    • Identification: Important for tracking requirements with hierarchical numbering.
    • Measurable constraints: Adding measurable constraints (e.g. time limits) enhances performance requirements.
    • Command words: Use "shall" (for obligations/commands) and avoid ambiguous words like "should," "might," avoiding excessive detail on how to implement.

    Shall or Shall Not?

    • Using positive language ("shall") is preferred over negative ("shall not") in requirement statements.

    Avoiding Imprecision in Requirements

    • Use precise language: Replace vague words like "countless," "some," "approximately" with measured quantities.

    Anatomy of a Good User Requirement

    • Clear definition of system & the desired end result.
    • Verb with correct identifier (shall or may).
    • Positive end result.
    • Quality criteria, measurable.

    Example of a Bad User Requirement

    • Incorrect identifier.
    • Ambiguous and vague.
    • Focuses on implementation details over the 'what'.

    Standard of Writing a Requirement

    • Characteristics: Feasible (realistic), Needed (necessary), Testable (measurable), Clarity, Unambiguity, Precision, and Prioritization with an ID. These characteristics are mandatory in some cases and are good for improving communication.

    Writing Pitfalls to Avoid

    • Avoid describing "how" something is achieved. focus on "what".
      • System design should not be done too early, potentially increasing costs.
      • Avoid mixing different levels (system, user, subsystems).
    • Avoid overly technical terminology.
    • Avoid vague indefinite terms (e.g., "user-friendly").
    • Avoid multiple requirements in one sentence; it is critical to formulate requirements in a single sentence.
    • Avoid adding suggestions or possibilities.
    • Avoid wishful thinking (e.g., "fully upgradeable").

    Data Flow Diagram (DFD)

    • A graphical representation that illustrates the flow of information within a system.

    • Clarifies system requirements and major transformations.

    Symbols in DFDs

    • The graphical elements used in Data Flow Diagrams: -Function: A circle / oval -File/Database: A set of horizontal lines -Input/Output: A rectangle -Flow: An arrow

    Data Dictionary

    • A catalog of all elements in a system.
    • Represents the details of information, complementing the DFD flow diagram.
    • Includes information like item name, aliases, descriptions, related items, ranges of values, and data structure definitions.

    Entity Relationship (ER) Diagram

    • A detailed, logical representation of data.

    • Important components: -Data Entities -Entities relationships -Entities Attributes

    Decision Table

    • Used to express complex conditions and associated actions logically.

    • Structures complex logic in a readable and systematic way.

    • Contains 4 parts:

    • Condition stub: conditions (inputs)

    • Condition rules: combinations of conditions

    • Action stub: actions (outputs)

    • Action Rules: actions related to conditions and rules.

    Studying That Suits You

    Use AI to generate personalized quizzes and flashcards to suit your learning preferences.

    Quiz Team

    Related Documents

    Description

    This quiz covers the essential aspects of writing requirement documents, including user and system requirements, as well as software specifications. Participants will learn who the primary readers of these documents are and how they impact the development process. Test your understanding of the different types of requirements necessary for effective writing projects.

    More Like This

    Text-Based Essay Questions Quiz
    3 questions

    Text-Based Essay Questions Quiz

    ThoughtfulEmpowerment avatar
    ThoughtfulEmpowerment
    Quiz on Writing Requirements
    30 questions

    Quiz on Writing Requirements

    FelicitousTrigonometry avatar
    FelicitousTrigonometry
    Use Quizgecko on...
    Browser
    Browser