Class #4 - Requirements Documentation
16 Questions
4 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

Which of the following is NOT a principle of requirements documentation?

  • Ambiguous and lengthy (correct)
  • Testable and measurable
  • Consistent and concise
  • Clear and specific
  • Functional requirements focus on quality and performance characteristics.

    False

    Name one benefit of good documentation.

    Ensures understanding across teams

    The system must allow users to log in with a __________.

    <p>username/password</p> Signup and view all the answers

    What is a key focus of non-functional requirements?

    <p>System speed</p> Signup and view all the answers

    Match the following requirements with their types:

    <p>Login functionality = Functional Requirement System speed = Non-Functional Requirement Search capability = Functional Requirement Security standards = Non-Functional Requirement</p> Signup and view all the answers

    Non-functional requirements directly impact user interaction.

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

    What is the purpose of testable and measurable requirements?

    <p>To ensure that requirements can be verified and validated.</p> Signup and view all the answers

    Which component is NOT typically included in a use case?

    <p>Acceptance Criteria</p> Signup and view all the answers

    User Stories are more detailed than Use Cases.

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

    What is the primary purpose of acceptance criteria in User Stories?

    <p>To define the scope, desired outcomes, and testing criteria.</p> Signup and view all the answers

    A User Story follows the format: 'As a ______, I ______, [so that]'.

    <p>persona; want to</p> Signup and view all the answers

    Match the components to their definitions:

    <p>Actors = Individuals or systems interacting with the system Basic flow = Step-by-step description of critical interactions Preconditions = Prerequisites before the use case can start Acceptance Criteria = Defines scope and testing criteria for functionality</p> Signup and view all the answers

    What does the 'Given, When, Then' format help to illustrate?

    <p>Testing criteria and expected outcomes.</p> Signup and view all the answers

    Martha wants to go buy pizza with her friends and has cash.

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

    What is a User Story meant to elicit during scrum meetings?

    <p>Conversations and discussions.</p> Signup and view all the answers

    Study Notes

    Class #4 - Requirements Documentation

    • This class covered the importance of documentation for software, specifically requirements documentation.
    • The question of whether working software negates the need for documentation was raised and addressed.
    • Documentation is crucial for team understanding, preventing scope creep, and guiding developers.

    Why Document?

    • Good documentation ensures understanding across teams.
    • It avoids scope creep and helps developers work together.
    • Principles of requirements documentation include clarity, specificity to avoid misinterpretations, testability and measurability for non-functional requirements, consistency and conciseness ensuring precise and to the point information.

    SRS Documentation (Software Requirements Specifications) - Functional vs Non-Functional

    • Functional Requirements: Describe specific functions and behaviors the software should perform. -Examples include login functionality, order processing, search capability. -Tested by functional testing to ensure it works as specified.
    • Non-Functional Requirements: Describe quality and performance characteristics. -Examples include performance metrics, security standards, and scalability. -Tested by performance, security, and usability testing to check if they meet quality standards. -Examples include speed, security standards, uptime, scalability.

    Example SRS Document (Example)

    • Specific example scenarios of functional and non-functional requirements were included for different features of the software.
    • Login System: The login page should load in 1 second, search results within 2 seconds.
    • Product Search : Users can search for products by name, category, or price.
    • Payment Processing: The system must process payments through a secure gateway and comply with standards.
    • Order Tracking: Users can track orders within 5 minutes of status changes.

    Example Use Case Diagram

    • A use case diagram visualizes different actors and their interactions with the system.
    • Prospective Customers, Customers, Procurement Managers, Service Representatives, and Meal Managers are examples of actors.
    • The use case diagram depicts the interactions within the Online Ordering system.

    Use Cases

    • Actors: Individuals or systems interacting with the system.
    • Description: Summary of the use case's goal.
    • Preconditions: Prerequisites before the use case starts.
    • Basic flow: Step-by-step description of critical interactions.
    • Alternative flows: Alternative paths from the basic flow.
    • Dependencies: Related use cases, systems, or modules required.

    User Story

    • A user story captures what a user does or needs as part of their work.
    • Details may not be as detailed as a use case.
    • User stories leave out important details to be discussed during sprint meetings.

    How to Write a User Story

    • Structure: "As a [persona], I want [goal] so that [benefit]."
    • Acceptance criteria: (Conditions of satisfaction). Example of using this format in creating a user story.

    User Story 3Cs

    • Card (concise and easy to understand).
    • Conversation (crucial for clarification).
    • Confirmation (Acceptance criteria).

    Acceptance Criteria

    • Defines the scope, desired outcomes, and testing criteria for functionality.
    • Enables communication and agreement between developers and the product.

    Example Acceptance Criteria

    • Acceptance criteria follow a format of (Given), (When), and (Then) clauses.

    INVEST

    • Independent : A good story can be worked on separately.
    • Negotiable: Acceptance criteria must be negotiable.
    • Valuable: Delivering value is necessary.
    • Estimable: Understand the size of the work.
    • Small: The amount of work should be small.
    • Testable: Can the work be measured?

    Story Slicing Phases

    • Phase 1: Focus on the user and the goal.
    • Phase 2: Gather details on implementation.

    Story Mapping with Personas

    • Visual representation of user stories grouped around user goals

    Martha's Story

    • Example of a user story: Martha wants to buy pizza with friends but doesn't have cash.

    Visual Story Slicing Example

    • Diagram depicting interactions and steps in the pizza purchase process.

    Don't Get Distracted by "Plumbing"

    • Focus on core functionality first.
    • Separate requirements from supportive or non-functional ones.
    • Maintaining maintainability, Security, Scalability and Logging are non-functional requirements.
    • Initially, these needs may be addressed in further iterations.

    Indicators of Poor User Stories

    • Issues with stories during sprint planning, refine and backlog.
    • Lots of questions during sprints.
    • Excessive rework or bugs.
    • Consistently missed commitments.
    • Product owner surprise during reviews.

    Studying That Suits You

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

    Quiz Team

    Related Documents

    Description

    Explore the critical role of requirements documentation in software development. This quiz addresses the necessity of documentation in preventing misunderstandings and ensuring team alignment. Learn about functional and non-functional requirements essential for effective software specifications.

    More Like This

    Software Requirements Engineering Objectives
    12 questions
    Class 4 - Requirements Documentation
    16 questions

    Class 4 - Requirements Documentation

    WellIntentionedWilliamsite5658 avatar
    WellIntentionedWilliamsite5658
    Use Quizgecko on...
    Browser
    Browser