SlideShare uma empresa Scribd logo
1 de 10
SWEN 4432 – Assignment 2 – Name

Put your answer to each of the questions below immediately after the question.

Chapter 4:

       1. Software Processes.
              1. Explain why programs that are developed using evolutionary development are likely
                 to be difficult to maintain?
                 The specifications of evolutionary development projects are often abstract, and as
                 the project continues, the development and validation portions of software
                 engineering overlap one another. This usually results in the systems being poorly
                 constructed due to a good initial specification, and on large projects make it more
                 difficult to integrate new systems into the evolutionary design. Lastly, the
                 documentation for such projects is often lacking, as the designs are constantly
                 rebuilt to the customer’s specifications.

               2. Explain how both the waterfall and the prototyping model of the software process
                  can be accommodated in the spiral process model?
                  The spiral model is much like the waterfall model, in that there are well defined
                  stages, but different in that once an initial sequence is complete, the process starts
                  over, correcting problems and expanding ideas to better suit the customer’s needs.
                  Also, as an iteration of the spiral may be short, a prototype can be produced that
                  the customer can see and work with, to help guide the engineers to more accurately
                  construct what they seek.

               3. What are the advantages of providing static and dynamic views of the software
                  process as in the Rational Unified Process?
                  The Rational Unified Process recognizes that a single process model presents only a
                  single view, so the RUP incorporated three perspectives, two of them being
                  dynamic, that describes the phases of the model as time progresses, and static, that
                  describes the activities that are enacted. The strength in using both is that phases of
                  the development process are not tied to any one specific workflow, so the entire
                  process can be understood.




                                                   1
4. What are the five components of a design method?
   Requirements Analysis & Definition
   System & Software Design
   Implementation & Unit Testing
   Integration & System Testing
   Operation & Maintenance

        i. Take any method you know and describe its components.
           The waterfall method follows these five components fairly closely.

           In the first step, the system’s goals and various constraints are defined, and
       are used to build the system specification.

           The second establishes the system architecture, describing all the portions
       of the hardware, as well as the software and their relationships.

          The third is where the program is actually developed, and each individual
       modular component of the program is thoroughly tested.

          The fourth involves incorporating the individual modular components of the
       program into the system, and the system as a whole is tested and verified to
       have satisfied the system specifications and software requirements.

           The final component relates to the upkeep of the system, as new problems
       are discovered, and new requirements are realized.

       ii. Assess the completeness of the method you have chosen.
           While very strict and difficult to make corrections with before the final
       stage, the waterfall method is a complete method that can work to great
       success in the design and development of systems, provided the requirements
       of the system are very well understood, and are not apt to change during the
       development of the system.




                                   2
5. Design a process model for running system tests and recording their results?
                 I’m not entirely sure what the objective for the question is, or what kind of system
                 it’s run on, such as tests on a program, or tests on hardware for a factory or
                 something, but in either case, first the components to be tested need to be
                 identified, they need to be put through a control run, the results need to be
                 compared with results that are to be expected, and the output of those results need
                 to be recorded for future comparison.

Chapter 5:

       2. Project Management.
              1. Figure 5.15 sets out a number of activities, durations and dependencies. Draw an
                  activity chart and a bar chart showing the project schedule?




                                                 3
2. Explain why the process of project planning is iterative and why a plan must be
   continually reviewed during a software project.
   In order to determine that the project is meeting all required time constraints and
   goals, and as new input arrives about the project, the project plan has to be
   reviewed and revised to accommodate such things. While the original design of the
   project plan should be somewhat pessimistic in the achievement of goals,
   unavoidable delays often occur and can delay projects in their entirety. In order to
   cope with this, project plans must be reviewed to determine what may not actually
   require a previous task being complete, or can be developed in conjunction with the
   delayed tasks, in order to achieve the overall goals.

3. In addition to the risks shown in figure 5.11 identify six other possible risks tat could
   arise in software projects.
   Technology – Operating environment updates for Java library components result in
   the program no longer functioning properly

    People – Stress of looming project deadlines causes a vital employee to crack, and is
    on short-term medical leave

    Organizational – The economy is terrible and the organization fires two-thirds of
    your staff.

    Tools – The integrated design environment the programmers are using has a flaw
    that develops improper assembly code for a given module

    Requirements – The customer simply can not make up his mind about the design of
    the GUI, and repeatedly changes irritating minute details like color schemes

    Estimation – Module scope is underestimated and testing of individual components
    takes far longer than expected.




                                     4
4. Figure 5.5 gives task durations for software project activities. Assume that a serious
   unanticipated setback occurs and instead of taking 10 days, task 5 takes 40 days.
        i. Revise the activities chart accordingly, highlighting the new critical path.




        ii. Draw up new bar charts showing how the project will be reorganized.




                                    5
Chapter 6:

       3. Software Requirements.
              1. Discover the ambiguities or omissions in the following statement of requirements
                 for part of a ticket issuing system.

                  An automated ticket issuing system sells rail tickets. Users select their destination
                  and select a credit card and a personal identification number. The rail ticket is
                  issued and their credit account charged. When the user presses the start button, a
                  menu display of potential destinations is activated, along with a message to the user
                  to select a destination. Once a destination has been selected, users are requested to
                  input their credit card. Its validity is checked and the user is then requested to input
                  their personal identifier. When the credit transaction has been validated, the ticket
                  is issued.

                  Cases need to be considered for invalid credit transactions, improper cards,
                  incorrect personal ID numbers, over-the-limit transactions, debit transactions;
                  details could be given on how the credit information is input, either by swiping a
                  card, inserting a card, or manually entering the numbers.

              2. Rewrite the above description using the structured approach described in this
                 chapter. Resolve the identified ambiguities in some appropriate way.

                  Function – Give customer a rail ticket, and charge credit account accordingly
                  Description – Determine customer’s destination, calculate the charge for the trip,
                  and charge the customer the appropriate amount. If charge is complete, print the
                  ticket, otherwise, print no ticket, and report error to customer.
                  Inputs – Destination, credit card number, personal ID number
                  Outputs – Tickets, error messages
                  Action – Ask the customer for their destination, when input, calculate the total, and
                  prompt for swiping of a credit card, prompt customer for PIN, prompt customer that
                  the transaction is taking place, if successful print the ticket and return to start state,
                  if unsuccessful, ask customer to swipe their card again and re-input the PIN. If
                  unsuccessful again, prompt that the transaction has failed, and return to start state.
                  Requires – Destination, credit card number, and PIN
                  Pre-condition – None
                  Post-condition – None
                  Side effects – Charge to the customer’s credit account




                                                   6
3. Draw a sequence diagram showing the actions performed in the ticket issuing
   system. You may make any reasonable assumptions about the system. Pay
   particular attention to specifying user errors.




                                  7
4. Using the technique suggested here, where natural language is presented in a
   standard way, write plausible user requirements for the following functions:
        i. The cash dispensing function in a bank ATM.
           The user shall enter their bank card in the slot provided. Following the
       appropriate prompts for a cash withdrawal, the user shall enter the requested
       amount. If the amount requested is not greater than the amount in the account,
       cash shall be dispensed, and the card shall be returned.

       ii. The spelling check and correcting function in a word processor.
           When the user enters a word, separated by any white space or punctuation,
       the spelling of said word shall be checked against an existing database. If the
       word is not found, the user shall be notified that the word is incorrect. If the
       user so chooses to correct the misspelled word, a list of closely matched words
       shall be provided for the user. If the user chooses a word given, it shall be
       replaced and the notification of the misspelled word shall be removed.

       iii. An unattended petrol (gas) pump system that includes a credit card reader.
            The customer swipes the card through the reader and then specifies the
            amount of fuel required. The fuel is delivered and the customer’s account
            debited.
            The user shall be prompted to swipe their credit card, and enter their PIN.
        Upon verification of the card, the user shall be prompted to select the octane
        level of their fuel, and enter a desired amount requested in dollars. Pumping
        shall be unlocked until the fuel-cutoff is engaged, or the predetermined amount
        of money worth of has been deployed. In the event of the fuel cutoff engaging,
        any remaining money shall be refunded to the user’s credit account.




                                  8
5. Write a set of non-functional requirements for the ticket issuing system, setting out
   its expected reliability and its response time?

    The ticket system shall respond to user inputs to provide tickets and charge
    accounts in a timely manner. The system shall continue to function so long as roll of
    ticket paper is in the machine, and a network connection is provided for the
    destination database and credit transactions. Upon receipt of the destination from
    the user, the database shall be accessed to determine the distance from the unit’s
    location, to the desired destination, and calculate the appropriate fee. The unit shall
    then prompt the user to input their card information, and the unit shall verify that
    the card is a credit card, is valid, and has sufficient credit to be charged. Upon
    successful verification, the unit shall print a ticket, and return to its ready state, for
    the next transaction to take place. The reliability this system relies on the durability
    of the physical user interface, the network connection in the area the system is
    placed, the size of the ticket rolls that the unit can accept, and the mechanism for
    dispensing the tickets. The estimated time for a complete transaction would be
    about thirty seconds, giving twenty for the user interactions, five for validation and
    verification of the users account, and five for printing and dispensing the ticket.




                                     9
And just as an addition, a depiction of why good software engineering is important:




                                        10

Mais conteúdo relacionado

Mais procurados

Working principle of Turing machine
Working principle of Turing machineWorking principle of Turing machine
Working principle of Turing machineKaran Thakkar
 
Seed filling algorithm
Seed filling algorithmSeed filling algorithm
Seed filling algorithmMani Kanth
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its typesNehal Naik
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazardAJAL A J
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfacesMohd Arif
 
Verilog full adder in dataflow & gate level modelling style.
Verilog full adder in dataflow  & gate level modelling style.Verilog full adder in dataflow  & gate level modelling style.
Verilog full adder in dataflow & gate level modelling style.Omkar Rane
 
Interfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorInterfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorVikas Gupta
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)Timbal Mayank
 
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...vtunotesbysree
 
Mid point circle algorithm
Mid point circle algorithmMid point circle algorithm
Mid point circle algorithmMani Kanth
 
Dfd examples
Dfd examplesDfd examples
Dfd examplesMohit
 
Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Sudhanshu Srivastava
 
Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)cs19club
 
Planning in AI(Partial order planning)
Planning in AI(Partial order planning)Planning in AI(Partial order planning)
Planning in AI(Partial order planning)Vicky Tyagi
 

Mais procurados (20)

Working principle of Turing machine
Working principle of Turing machineWorking principle of Turing machine
Working principle of Turing machine
 
Seed filling algorithm
Seed filling algorithmSeed filling algorithm
Seed filling algorithm
 
Io techniques & its types
Io techniques & its typesIo techniques & its types
Io techniques & its types
 
DMA operation
DMA operationDMA operation
DMA operation
 
Pipeline hazard
Pipeline hazardPipeline hazard
Pipeline hazard
 
Backtracking
BacktrackingBacktracking
Backtracking
 
P code
P codeP code
P code
 
Bellman ford algorithm
Bellman ford algorithmBellman ford algorithm
Bellman ford algorithm
 
Verilog hdl
Verilog hdlVerilog hdl
Verilog hdl
 
Hidden surfaces
Hidden surfacesHidden surfaces
Hidden surfaces
 
Verilog full adder in dataflow & gate level modelling style.
Verilog full adder in dataflow  & gate level modelling style.Verilog full adder in dataflow  & gate level modelling style.
Verilog full adder in dataflow & gate level modelling style.
 
Interfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessorInterfacing memory with 8086 microprocessor
Interfacing memory with 8086 microprocessor
 
3 d viewing
3 d viewing3 d viewing
3 d viewing
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)
 
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
 
Mid point circle algorithm
Mid point circle algorithmMid point circle algorithm
Mid point circle algorithm
 
Dfd examples
Dfd examplesDfd examples
Dfd examples
 
Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)Presentation on cyclic redundancy check (crc)
Presentation on cyclic redundancy check (crc)
 
Floating point arithmetic operations (1)
Floating point arithmetic operations (1)Floating point arithmetic operations (1)
Floating point arithmetic operations (1)
 
Planning in AI(Partial order planning)
Planning in AI(Partial order planning)Planning in AI(Partial order planning)
Planning in AI(Partial order planning)
 

Destaque

Software Engineering Assignment
Software Engineering AssignmentSoftware Engineering Assignment
Software Engineering AssignmentSohaib Latif
 
Project Planning in Software Engineering
Project Planning in Software EngineeringProject Planning in Software Engineering
Project Planning in Software EngineeringFáber D. Giraldo
 
Software engineering Questions and Answers
Software engineering Questions and AnswersSoftware engineering Questions and Answers
Software engineering Questions and AnswersBala Ganesh
 
8.project management chapter 8
8.project management chapter 88.project management chapter 8
8.project management chapter 8Warui Maina
 
Requirements Review Process
Requirements Review ProcessRequirements Review Process
Requirements Review ProcessManageware
 
Java for android developers
Java for android developersJava for android developers
Java for android developersAly Abdelkareem
 
Requirement engineering process
Requirement engineering processRequirement engineering process
Requirement engineering processDr. Loganathan R
 
Railway Ticket Issuing System (Online)
Railway Ticket Issuing System (Online)Railway Ticket Issuing System (Online)
Railway Ticket Issuing System (Online)Rashmika Nawaratne
 
Library Management System Waterfall Model
Library Management System Waterfall ModelLibrary Management System Waterfall Model
Library Management System Waterfall Modelmitwa1990
 
Software Engineering Sample Question paper for 2012
Software Engineering Sample Question paper for 2012Software Engineering Sample Question paper for 2012
Software Engineering Sample Question paper for 2012Neelamani Samal
 
Company profile Of Sahastra Soft Technologies
Company profile Of Sahastra Soft TechnologiesCompany profile Of Sahastra Soft Technologies
Company profile Of Sahastra Soft TechnologiesRama G
 
Ch6-Software Engineering 9
Ch6-Software Engineering 9Ch6-Software Engineering 9
Ch6-Software Engineering 9Ian Sommerville
 
Software requirements specification of Library Management System
Software requirements specification of Library Management SystemSoftware requirements specification of Library Management System
Software requirements specification of Library Management SystemSoumili Sen
 
Software Engineering ppt
Software Engineering pptSoftware Engineering ppt
Software Engineering pptshruths2890
 
Online railway reservation system
Online railway reservation systemOnline railway reservation system
Online railway reservation systemPIYUSH Dubey
 

Destaque (19)

Software Engineering Assignment
Software Engineering AssignmentSoftware Engineering Assignment
Software Engineering Assignment
 
SOFTWARE ENGINEERING
SOFTWARE ENGINEERINGSOFTWARE ENGINEERING
SOFTWARE ENGINEERING
 
Project Planning in Software Engineering
Project Planning in Software EngineeringProject Planning in Software Engineering
Project Planning in Software Engineering
 
Software engineering Questions and Answers
Software engineering Questions and AnswersSoftware engineering Questions and Answers
Software engineering Questions and Answers
 
A1
A1A1
A1
 
8.project management chapter 8
8.project management chapter 88.project management chapter 8
8.project management chapter 8
 
Requirements Review Process
Requirements Review ProcessRequirements Review Process
Requirements Review Process
 
Requirements review session tips
Requirements review session tipsRequirements review session tips
Requirements review session tips
 
Java for android developers
Java for android developersJava for android developers
Java for android developers
 
Ch23 project planning
Ch23 project planningCh23 project planning
Ch23 project planning
 
Requirement engineering process
Requirement engineering processRequirement engineering process
Requirement engineering process
 
Railway Ticket Issuing System (Online)
Railway Ticket Issuing System (Online)Railway Ticket Issuing System (Online)
Railway Ticket Issuing System (Online)
 
Library Management System Waterfall Model
Library Management System Waterfall ModelLibrary Management System Waterfall Model
Library Management System Waterfall Model
 
Software Engineering Sample Question paper for 2012
Software Engineering Sample Question paper for 2012Software Engineering Sample Question paper for 2012
Software Engineering Sample Question paper for 2012
 
Company profile Of Sahastra Soft Technologies
Company profile Of Sahastra Soft TechnologiesCompany profile Of Sahastra Soft Technologies
Company profile Of Sahastra Soft Technologies
 
Ch6-Software Engineering 9
Ch6-Software Engineering 9Ch6-Software Engineering 9
Ch6-Software Engineering 9
 
Software requirements specification of Library Management System
Software requirements specification of Library Management SystemSoftware requirements specification of Library Management System
Software requirements specification of Library Management System
 
Software Engineering ppt
Software Engineering pptSoftware Engineering ppt
Software Engineering ppt
 
Online railway reservation system
Online railway reservation systemOnline railway reservation system
Online railway reservation system
 

Semelhante a SWEN 4432 - Assignment 2 - Software Process Models

RISK REPORTING SYSTEM IN IT ORGANIZATIONSCPT PAPERName Vi.docx
RISK REPORTING SYSTEM IN IT ORGANIZATIONSCPT PAPERName Vi.docxRISK REPORTING SYSTEM IN IT ORGANIZATIONSCPT PAPERName Vi.docx
RISK REPORTING SYSTEM IN IT ORGANIZATIONSCPT PAPERName Vi.docxjoellemurphey
 
Qaprocess 121210082249-phpapp01
Qaprocess 121210082249-phpapp01Qaprocess 121210082249-phpapp01
Qaprocess 121210082249-phpapp01Viviana Lesmes
 
Software Process Model.ppt
Software Process Model.pptSoftware Process Model.ppt
Software Process Model.pptDrJasmineBeulahG
 
Governing software process improvements in globally distributed product devel...
Governing software process improvements in globally distributed product devel...Governing software process improvements in globally distributed product devel...
Governing software process improvements in globally distributed product devel...Shakas Technologies
 
Lecture 04
Lecture 04Lecture 04
Lecture 04Rana Ali
 
Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )eshtiyak
 
Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02Shuchi Singla
 
Onlineshoppingonline shopping
Onlineshoppingonline shoppingOnlineshoppingonline shopping
Onlineshoppingonline shoppingHardik Padhy
 
BOOKS FOR CASH ON DELIVERY-INTERNSHIP PROJECT
BOOKS FOR CASH ON DELIVERY-INTERNSHIP PROJECTBOOKS FOR CASH ON DELIVERY-INTERNSHIP PROJECT
BOOKS FOR CASH ON DELIVERY-INTERNSHIP PROJECTRavi Teja P
 
Software engineering srs library management assignment
Software engineering srs library management assignmentSoftware engineering srs library management assignment
Software engineering srs library management assignmentRajat Mittal
 
A CASE Lab Report - Project File on "ATM - Banking System"
A CASE Lab Report - Project File on  "ATM - Banking System"A CASE Lab Report - Project File on  "ATM - Banking System"
A CASE Lab Report - Project File on "ATM - Banking System"joyousbharat
 
Unit-4.pptxhhhghbfgvgtghvfgbbghbbhgfccvbtt
Unit-4.pptxhhhghbfgvgtghvfgbbghbbhgfccvbttUnit-4.pptxhhhghbfgvgtghvfgbbghbbhgfccvbtt
Unit-4.pptxhhhghbfgvgtghvfgbbghbbhgfccvbttmanisha61981
 
ISE_Lecture Week 2-SW Process Models.ppt
ISE_Lecture Week 2-SW Process Models.pptISE_Lecture Week 2-SW Process Models.ppt
ISE_Lecture Week 2-SW Process Models.pptHumzaWaris1
 
Systems Development Life Cycle(SDLC) is the step by step process whi.pdf
Systems Development Life Cycle(SDLC) is the step by step process whi.pdfSystems Development Life Cycle(SDLC) is the step by step process whi.pdf
Systems Development Life Cycle(SDLC) is the step by step process whi.pdfaniyathikitchen
 

Semelhante a SWEN 4432 - Assignment 2 - Software Process Models (20)

RISK REPORTING SYSTEM IN IT ORGANIZATIONSCPT PAPERName Vi.docx
RISK REPORTING SYSTEM IN IT ORGANIZATIONSCPT PAPERName Vi.docxRISK REPORTING SYSTEM IN IT ORGANIZATIONSCPT PAPERName Vi.docx
RISK REPORTING SYSTEM IN IT ORGANIZATIONSCPT PAPERName Vi.docx
 
Qaprocess 121210082249-phpapp01
Qaprocess 121210082249-phpapp01Qaprocess 121210082249-phpapp01
Qaprocess 121210082249-phpapp01
 
Software Process Model.ppt
Software Process Model.pptSoftware Process Model.ppt
Software Process Model.ppt
 
SE-Lecture-4.pptx
SE-Lecture-4.pptxSE-Lecture-4.pptx
SE-Lecture-4.pptx
 
Governing software process improvements in globally distributed product devel...
Governing software process improvements in globally distributed product devel...Governing software process improvements in globally distributed product devel...
Governing software process improvements in globally distributed product devel...
 
Lecture 04
Lecture 04Lecture 04
Lecture 04
 
Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )Software Development Life Cycle (SDLC )
Software Development Life Cycle (SDLC )
 
Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02Onlineshopping 121105040955-phpapp02
Onlineshopping 121105040955-phpapp02
 
Onlineshoppingonline shopping
Onlineshoppingonline shoppingOnlineshoppingonline shopping
Onlineshoppingonline shopping
 
BOOKS FOR CASH ON DELIVERY-INTERNSHIP PROJECT
BOOKS FOR CASH ON DELIVERY-INTERNSHIP PROJECTBOOKS FOR CASH ON DELIVERY-INTERNSHIP PROJECT
BOOKS FOR CASH ON DELIVERY-INTERNSHIP PROJECT
 
Software engineering srs library management assignment
Software engineering srs library management assignmentSoftware engineering srs library management assignment
Software engineering srs library management assignment
 
SDLC.pptx
SDLC.pptxSDLC.pptx
SDLC.pptx
 
Bank managment system
Bank managment systemBank managment system
Bank managment system
 
Software engineering the process
Software engineering the processSoftware engineering the process
Software engineering the process
 
A CASE Lab Report - Project File on "ATM - Banking System"
A CASE Lab Report - Project File on  "ATM - Banking System"A CASE Lab Report - Project File on  "ATM - Banking System"
A CASE Lab Report - Project File on "ATM - Banking System"
 
The process
The processThe process
The process
 
Unit-4.pptxhhhghbfgvgtghvfgbbghbbhgfccvbtt
Unit-4.pptxhhhghbfgvgtghvfgbbghbbhgfccvbttUnit-4.pptxhhhghbfgvgtghvfgbbghbbhgfccvbtt
Unit-4.pptxhhhghbfgvgtghvfgbbghbbhgfccvbtt
 
software engineering
software engineering software engineering
software engineering
 
ISE_Lecture Week 2-SW Process Models.ppt
ISE_Lecture Week 2-SW Process Models.pptISE_Lecture Week 2-SW Process Models.ppt
ISE_Lecture Week 2-SW Process Models.ppt
 
Systems Development Life Cycle(SDLC) is the step by step process whi.pdf
Systems Development Life Cycle(SDLC) is the step by step process whi.pdfSystems Development Life Cycle(SDLC) is the step by step process whi.pdf
Systems Development Life Cycle(SDLC) is the step by step process whi.pdf
 

Mais de Ayesha Bhatti (20)

Ds lab handouts
Ds lab handoutsDs lab handouts
Ds lab handouts
 
Chap 5 project management
Chap 5 project managementChap 5 project management
Chap 5 project management
 
Assignment
AssignmentAssignment
Assignment
 
Aibo
AiboAibo
Aibo
 
11 topic 9 ooa
11 topic 9 ooa11 topic 9 ooa
11 topic 9 ooa
 
10 architectural design
10 architectural design10 architectural design
10 architectural design
 
10 architectural design (1)
10 architectural design (1)10 architectural design (1)
10 architectural design (1)
 
8 system models
8 system models8 system models
8 system models
 
8 system models (1)
8 system models (1)8 system models (1)
8 system models (1)
 
8 bop
8 bop8 bop
8 bop
 
8 bop (1)
8 bop (1)8 bop (1)
8 bop (1)
 
7 foreign policy process
7 foreign policy process7 foreign policy process
7 foreign policy process
 
7 foreign policy process (1)
7 foreign policy process (1)7 foreign policy process (1)
7 foreign policy process (1)
 
5 cold war era 1
5 cold war era 15 cold war era 1
5 cold war era 1
 
3 national power
3 national power3 national power
3 national power
 
1 introduction
1 introduction1 introduction
1 introduction
 
1 introduction (1)
1 introduction (1)1 introduction (1)
1 introduction (1)
 
Project final
Project finalProject final
Project final
 
Assignment 3
Assignment 3Assignment 3
Assignment 3
 
Aibo
AiboAibo
Aibo
 

SWEN 4432 - Assignment 2 - Software Process Models

  • 1. SWEN 4432 – Assignment 2 – Name Put your answer to each of the questions below immediately after the question. Chapter 4: 1. Software Processes. 1. Explain why programs that are developed using evolutionary development are likely to be difficult to maintain? The specifications of evolutionary development projects are often abstract, and as the project continues, the development and validation portions of software engineering overlap one another. This usually results in the systems being poorly constructed due to a good initial specification, and on large projects make it more difficult to integrate new systems into the evolutionary design. Lastly, the documentation for such projects is often lacking, as the designs are constantly rebuilt to the customer’s specifications. 2. Explain how both the waterfall and the prototyping model of the software process can be accommodated in the spiral process model? The spiral model is much like the waterfall model, in that there are well defined stages, but different in that once an initial sequence is complete, the process starts over, correcting problems and expanding ideas to better suit the customer’s needs. Also, as an iteration of the spiral may be short, a prototype can be produced that the customer can see and work with, to help guide the engineers to more accurately construct what they seek. 3. What are the advantages of providing static and dynamic views of the software process as in the Rational Unified Process? The Rational Unified Process recognizes that a single process model presents only a single view, so the RUP incorporated three perspectives, two of them being dynamic, that describes the phases of the model as time progresses, and static, that describes the activities that are enacted. The strength in using both is that phases of the development process are not tied to any one specific workflow, so the entire process can be understood. 1
  • 2. 4. What are the five components of a design method? Requirements Analysis & Definition System & Software Design Implementation & Unit Testing Integration & System Testing Operation & Maintenance i. Take any method you know and describe its components. The waterfall method follows these five components fairly closely. In the first step, the system’s goals and various constraints are defined, and are used to build the system specification. The second establishes the system architecture, describing all the portions of the hardware, as well as the software and their relationships. The third is where the program is actually developed, and each individual modular component of the program is thoroughly tested. The fourth involves incorporating the individual modular components of the program into the system, and the system as a whole is tested and verified to have satisfied the system specifications and software requirements. The final component relates to the upkeep of the system, as new problems are discovered, and new requirements are realized. ii. Assess the completeness of the method you have chosen. While very strict and difficult to make corrections with before the final stage, the waterfall method is a complete method that can work to great success in the design and development of systems, provided the requirements of the system are very well understood, and are not apt to change during the development of the system. 2
  • 3. 5. Design a process model for running system tests and recording their results? I’m not entirely sure what the objective for the question is, or what kind of system it’s run on, such as tests on a program, or tests on hardware for a factory or something, but in either case, first the components to be tested need to be identified, they need to be put through a control run, the results need to be compared with results that are to be expected, and the output of those results need to be recorded for future comparison. Chapter 5: 2. Project Management. 1. Figure 5.15 sets out a number of activities, durations and dependencies. Draw an activity chart and a bar chart showing the project schedule? 3
  • 4. 2. Explain why the process of project planning is iterative and why a plan must be continually reviewed during a software project. In order to determine that the project is meeting all required time constraints and goals, and as new input arrives about the project, the project plan has to be reviewed and revised to accommodate such things. While the original design of the project plan should be somewhat pessimistic in the achievement of goals, unavoidable delays often occur and can delay projects in their entirety. In order to cope with this, project plans must be reviewed to determine what may not actually require a previous task being complete, or can be developed in conjunction with the delayed tasks, in order to achieve the overall goals. 3. In addition to the risks shown in figure 5.11 identify six other possible risks tat could arise in software projects. Technology – Operating environment updates for Java library components result in the program no longer functioning properly People – Stress of looming project deadlines causes a vital employee to crack, and is on short-term medical leave Organizational – The economy is terrible and the organization fires two-thirds of your staff. Tools – The integrated design environment the programmers are using has a flaw that develops improper assembly code for a given module Requirements – The customer simply can not make up his mind about the design of the GUI, and repeatedly changes irritating minute details like color schemes Estimation – Module scope is underestimated and testing of individual components takes far longer than expected. 4
  • 5. 4. Figure 5.5 gives task durations for software project activities. Assume that a serious unanticipated setback occurs and instead of taking 10 days, task 5 takes 40 days. i. Revise the activities chart accordingly, highlighting the new critical path. ii. Draw up new bar charts showing how the project will be reorganized. 5
  • 6. Chapter 6: 3. Software Requirements. 1. Discover the ambiguities or omissions in the following statement of requirements for part of a ticket issuing system. An automated ticket issuing system sells rail tickets. Users select their destination and select a credit card and a personal identification number. The rail ticket is issued and their credit account charged. When the user presses the start button, a menu display of potential destinations is activated, along with a message to the user to select a destination. Once a destination has been selected, users are requested to input their credit card. Its validity is checked and the user is then requested to input their personal identifier. When the credit transaction has been validated, the ticket is issued. Cases need to be considered for invalid credit transactions, improper cards, incorrect personal ID numbers, over-the-limit transactions, debit transactions; details could be given on how the credit information is input, either by swiping a card, inserting a card, or manually entering the numbers. 2. Rewrite the above description using the structured approach described in this chapter. Resolve the identified ambiguities in some appropriate way. Function – Give customer a rail ticket, and charge credit account accordingly Description – Determine customer’s destination, calculate the charge for the trip, and charge the customer the appropriate amount. If charge is complete, print the ticket, otherwise, print no ticket, and report error to customer. Inputs – Destination, credit card number, personal ID number Outputs – Tickets, error messages Action – Ask the customer for their destination, when input, calculate the total, and prompt for swiping of a credit card, prompt customer for PIN, prompt customer that the transaction is taking place, if successful print the ticket and return to start state, if unsuccessful, ask customer to swipe their card again and re-input the PIN. If unsuccessful again, prompt that the transaction has failed, and return to start state. Requires – Destination, credit card number, and PIN Pre-condition – None Post-condition – None Side effects – Charge to the customer’s credit account 6
  • 7. 3. Draw a sequence diagram showing the actions performed in the ticket issuing system. You may make any reasonable assumptions about the system. Pay particular attention to specifying user errors. 7
  • 8. 4. Using the technique suggested here, where natural language is presented in a standard way, write plausible user requirements for the following functions: i. The cash dispensing function in a bank ATM. The user shall enter their bank card in the slot provided. Following the appropriate prompts for a cash withdrawal, the user shall enter the requested amount. If the amount requested is not greater than the amount in the account, cash shall be dispensed, and the card shall be returned. ii. The spelling check and correcting function in a word processor. When the user enters a word, separated by any white space or punctuation, the spelling of said word shall be checked against an existing database. If the word is not found, the user shall be notified that the word is incorrect. If the user so chooses to correct the misspelled word, a list of closely matched words shall be provided for the user. If the user chooses a word given, it shall be replaced and the notification of the misspelled word shall be removed. iii. An unattended petrol (gas) pump system that includes a credit card reader. The customer swipes the card through the reader and then specifies the amount of fuel required. The fuel is delivered and the customer’s account debited. The user shall be prompted to swipe their credit card, and enter their PIN. Upon verification of the card, the user shall be prompted to select the octane level of their fuel, and enter a desired amount requested in dollars. Pumping shall be unlocked until the fuel-cutoff is engaged, or the predetermined amount of money worth of has been deployed. In the event of the fuel cutoff engaging, any remaining money shall be refunded to the user’s credit account. 8
  • 9. 5. Write a set of non-functional requirements for the ticket issuing system, setting out its expected reliability and its response time? The ticket system shall respond to user inputs to provide tickets and charge accounts in a timely manner. The system shall continue to function so long as roll of ticket paper is in the machine, and a network connection is provided for the destination database and credit transactions. Upon receipt of the destination from the user, the database shall be accessed to determine the distance from the unit’s location, to the desired destination, and calculate the appropriate fee. The unit shall then prompt the user to input their card information, and the unit shall verify that the card is a credit card, is valid, and has sufficient credit to be charged. Upon successful verification, the unit shall print a ticket, and return to its ready state, for the next transaction to take place. The reliability this system relies on the durability of the physical user interface, the network connection in the area the system is placed, the size of the ticket rolls that the unit can accept, and the mechanism for dispensing the tickets. The estimated time for a complete transaction would be about thirty seconds, giving twenty for the user interactions, five for validation and verification of the users account, and five for printing and dispensing the ticket. 9
  • 10. And just as an addition, a depiction of why good software engineering is important: 10