USN
/ PESIT Bangalore South Campus
Hosur road, 1km before ElectronicCity, Bengaluru -100
Department of Computer Science and Engineering
Solution copy-INTERNAL ASSESSMENT TEST - 3
Date : 8/11/2016 / Marks: 50
Subject & Code : Software Engineering (10IS51) / Class: V CSE A, B & C
Name of Faculty : Ms. Sai Prasanna & Ms. Sudeepa Roy Dey / Time: 8:30 to 10 AM
NOTE: ANSWER All FIVE QUESTIONS
1 / a / According to Bas et al, what are the advantages of designing and documenting software architecture?
Stakeholder communication
•Architecture may be used as a focus of discussion by system stakeholders.
System analysis
•Means that analysis of whether the system can meet its non-functional requirements is possible.
Large-scale reuse
- The architecture may be reusable across a range of systems
b / Explain Control Styles in detail.
Centralised control
•One sub-system has overall responsibility for control and starts and stops other sub-systems.A control sub-system takes responsibility for managing the execution of other sub-systems.Types are:
Call-return model
•Top-down subroutine model where control starts at the top of a subroutine hierarchy and moves downwards. Applicable to sequential systems.
Manager model
•Applicable to concurrent systems. One system component controls the stopping, starting and coordination of other system processes. Can be implemented in sequential systems as a case statement.
Event-based control
•Each sub-system can respond to externally generated events from other sub-systems or the system’s environment.
Two principal event-driven models
•Broadcast models. An event is broadcast to all sub-systems. Any sub-system which can handle the event may do so;
Interrupt-driven models. Used in real-time systems where interrupts are detected by an interrupt handler and passed to some other component for processing
/ 6
2 / a / Draw sequence diagram of data collection in weather system
/ 5
b / Draw a state chart diagram of weather station
/ 5
3 / Define “Program Evolution Dynamics”. Discuss the Lehman’s laws for program evolution. / 10
4 / a / What are the practices followed in extreme programming? / 5
b / List and explain the principles of Agile methods. Also, explain the problems with agile methods / 5
5 / a / Explain the roles in inspection process and discuss the possible inspection checks. / 10
Inspections checks are:
- Data fault
- Control fault
- Interface fault
- Input output fault
b. Clean room software Development
•Formal specification using a state transition model.
•Incremental development where the customer prioritises increments.
•Structured programming - limited control and abstraction constructs are used in the program.
•Static verification using rigorous inspections.
•Statistical testing of the system
V-model of Planning and verification
•V&V is an expensive process. For some critical systems it may account for more than 50% of dev cost.
•Hence careful planning is required to get the most out of testing and inspection processes.
•Planning should start early in the development process.
•The plan should identify the balance between static verification and testing.
Test planning is about defining standards, resources required, schedule etc. for the testing process rather than just describing product tests
***********************************************************************
BE CSE – 5th Semester