Requirements Engineering Chapter 3
38 Questions
6 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 is the primary function of a library system like LIBSYS?

  • To manage the development process of the system
  • To set timing constraints for the system's services
  • To provide a single interface to multiple databases (correct)
  • To offer standards for the system's functionality
  • What is the difference between functional user requirements and functional system requirements?

  • Functional user requirements are detailed, while functional system requirements are high-level
  • Functional user requirements are high-level, while functional system requirements are detailed (correct)
  • Functional user requirements are for the system, while functional system requirements are for users
  • Functional user requirements are for users, while functional system requirements are for the system
  • What is an example of a non-functional requirement?

  • The system shall provide appropriate viewers for the user to read documents
  • The system should be able to download articles for personal study
  • The system should be developed within 6 months (correct)
  • The user shall be able to search either all of the initial set of databases or select a subset from it
  • What is the effect of selecting an icon representing an external file?

    <p>The system applies the tool associated with the type of the external file to the file</p> Signup and view all the answers

    What is an example of a functional requirement of the LIBSYS system?

    <p>The system shall provide appropriate viewers for the user to read documents</p> Signup and view all the answers

    What is the primary purpose of using mathematical specifications in system development?

    <p>To reduce arguments between customers and contractors about system functionality</p> Signup and view all the answers

    What is the purpose of domain requirements?

    <p>To reflect characteristics of the application domain</p> Signup and view all the answers

    What is a characteristic of structured language specifications?

    <p>They impose a degree of uniformity on the specification</p> Signup and view all the answers

    What is unique about every order in the LIBSYS system?

    <p>It has a unique identifier (ORDER_ID)</p> Signup and view all the answers

    What is the primary advantage of using graphical languages with text annotations?

    <p>They provide a platform for interface specification</p> Signup and view all the answers

    What is the main difference between functional and non-functional requirements?

    <p>Functional requirements describe functionality, while non-functional requirements describe constraints</p> Signup and view all the answers

    What is the primary purpose of form-based specifications?

    <p>To define the functional and entity requirements of the system</p> Signup and view all the answers

    What is an example of a graphical language used in system development?

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

    What is a limitation of using mathematical specifications in system development?

    <p>They are difficult to understand for customers</p> Signup and view all the answers

    What is an example of a form-based node specification?

    <p>Compute insulin dose: Safe sugar level</p> Signup and view all the answers

    What is a characteristic of structured language and form-based specifications?

    <p>They impose a degree of uniformity on the specification</p> Signup and view all the answers

    What is the primary goal of the requirements engineering process?

    <p>To establish the services that the customer requires from a system</p> Signup and view all the answers

    What is a requirement, in the context of software development?

    <p>A description of a system service or constraint</p> Signup and view all the answers

    Why must requirements be defined in a sufficiently abstract way in a contract bid?

    <p>To leave room for interpretation</p> Signup and view all the answers

    What is the purpose of a software requirements document?

    <p>To define functional and non-functional requirements</p> Signup and view all the answers

    What is the difference between user requirements and system requirements?

    <p>User requirements are about system services, system requirements are about constraints</p> Signup and view all the answers

    What are the two main purposes of requirements in a contract?

    <p>To serve as a basis for a bid and to define the contract itself</p> Signup and view all the answers

    According to Davis, what is the importance of abstraction in requirements definition?

    <p>It leaves room for interpretation in a contract bid</p> Signup and view all the answers

    What is the main objective of the requirements engineering activities?

    <p>To understand customer needs and define system services and constraints</p> Signup and view all the answers

    What is the purpose of the grid facility in the editor?

    <p>To provide a background of horizontal and vertical lines for the editor window</p> Signup and view all the answers

    Why does the grid facility not include an 'active grid' feature?

    <p>Because it allows for imprecise positioning</p> Signup and view all the answers

    What is the default state of the grid facility when the editor is started?

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

    What is a problem with the grid requirement as stated?

    <p>It mixes different kinds of requirements</p> Signup and view all the answers

    What is the purpose of providing a grid option on the reduce-to-fit view?

    <p>To avoid filling the smaller diagram with grid lines</p> Signup and view all the answers

    What is a guideline for writing requirements?

    <p>Use a standard format and be consistent</p> Signup and view all the answers

    What is the user's responsibility in the grid facility?

    <p>To decide where entities should be positioned</p> Signup and view all the answers

    What is the unit of measurement for the grid facility?

    <p>Either inches or centimeters, toggleable</p> Signup and view all the answers

    What is the input to the system?

    <p>Current sugar reading from sensor</p> Signup and view all the answers

    What is the output of the system?

    <p>Insulin dose to be delivered</p> Signup and view all the answers

    What is the condition for computing CompDose?

    <p>Sugar level is increasing and rate of increase is increasing</p> Signup and view all the answers

    What happens to CompDose when the sugar level is stable or falling?

    <p>It is zero</p> Signup and view all the answers

    What is a pre-condition for the system to work?

    <p>The insulin reservoir contains at least the maximum allowed single dose of insulin</p> Signup and view all the answers

    What is the purpose of storing two previous readings?

    <p>To compute the rate of change of sugar level</p> Signup and view all the answers

    Study Notes

    Requirements Engineering

    • Requirements engineering is the process of establishing the services that a customer requires from a system and the constraints under which it operates and is developed.
    • The requirements themselves are the descriptions of the system services and constraints that are generated during the requirements engineering process.

    Requirements

    • A requirement can range from a high-level abstract statement of a service or system constraint to a detailed mathematical functional specification.
    • Requirements may serve a dual function, being the basis for a bid for a contract and the basis for the contract itself.

    Requirements Abstraction

    • Requirements abstraction is the process of defining needs in a sufficiently abstract way that a solution is not pre-defined.
    • This allows a user to select an icon representing an external file, and the effect of that selection is to apply the tool associated with the type of external file to the file represented by the selected icon.

    Requirements Readers

    • Requirements readers are individuals who read and understand the requirements document.

    Functional and Non-Functional Requirements

    • Functional requirements are statements of services the system should provide, how the system should react to particular inputs, and how the system should behave in particular situations.
    • Non-functional requirements are constraints on the services or functions offered by the system, such as timing constraints, constraints on the development process, standards, etc.
    • Domain requirements are requirements that come from the application domain of the system and reflect characteristics of that domain.

    Functional Requirements

    • Functional requirements describe functionality or system services.
    • They depend on the type of software, expected users, and the type of system where the software is used.
    • Functional user requirements may be high-level statements of what the system should do, but functional system requirements should describe the system services in detail.

    LIBSYS System

    • The LIBSYS system is a library system that provides a single interface to a number of databases of articles in different libraries.
    • Users can search for, download, and print these articles for personal study.

    Examples of Functional Requirements

    • The user shall be able to search either all of the initial set of databases or select a subset from it.
    • The system shall provide appropriate viewers for the user to read documents in the document store.
    • Every order shall be allocated a unique identifier (ORDER_ID) which the user shall be able to copy to the account's permanent storage area.

    Grid Facility Requirement

    • The grid facility allows the user to turn on a grid in either centimeters or inches, via an option on the control panel, to assist in the positioning of entities on a diagram.
    • The grid may be turned on and off at any time during an editing session and can be toggled between inches and centimeters at any time.

    Requirement Problems

    • Requirements may include both conceptual and detailed information, which can lead to confusion and inconsistencies.
    • Requirements may mix different types of requirements, such as functional, non-functional, and UI requirements, which can make it difficult to understand and analyze the requirements.

    Structured Presentation

    • A structured presentation of requirements can help to clarify and organize the requirements, making it easier to understand and analyze them.
    • A standard format can be used for all requirements, and language can be used in a consistent way.

    Guidelines for Writing Requirements

    • Invent a standard format and use it for all requirements.
    • Use language in a consistent way.
    • Use different notations, such as graphical or mathematical, to supplement natural language.

    Structured Language Specifications

    • Structured language specifications limit the freedom of the requirements writer by using a predefined template for requirements.
    • All requirements are written in a standard way, maintaining a degree of uniformity and expressiveness.

    Form-Based Specifications

    • Form-based specifications define the function or entity, describe inputs and outputs, indicate other entities required, and specify pre and post conditions and side effects.

    Form-Based Node Specification

    • A form-based node specification provides a structured way of specifying the requirements of a node or function, including inputs, outputs, and side effects.

    Tabular Specification

    • Tabular specification is used to supplement natural language, particularly when defining a number of possible alternative courses of action.
    • It can be used to define the behavior of a system in different situations.

    Studying That Suits You

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

    Quiz Team

    Description

    This quiz covers the basics of software requirements and requirements engineering, including user and system requirements, functional and non-functional requirements, and the organization of requirements documents.

    More Like This

    Use Quizgecko on...
    Browser
    Browser