CS605 VU Current Assignment No. 4 Fall January 2012
Solution:
import java.io.IOException;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
public class ServletLifeCycleExample extends HttpServlet {
private int count;
@Override
public void init(ServletConfig config) throws ServletException {
super.init(config);
getServletContext().log(“init() called”);
count=0;
}
@Override
protected void service(HttpServletRequest request, HttpServletResponse response)
throws ServletException, IOException {
getServletContext().log(“service() called”);
count++;
response.getWriter().write(“Incrementing the count: Count = “+count);
}
@Override
public void destroy() {
getServletContext().log(“destroy() called”);
}
}
CS605 VU Current Assignment No. 3 Fall Semester December 2011 -2012
[B]Q.
Let us assume that you are working as a Team lead in a renowned multinational company. The software project has 80 planned work tasks that are estimated to require 415 person-days to complete. At the time you have been asked to compute the Earned Value Analysis, 8 tasks have been completed. However, the project schedule indicates that 18 tasks should have been completed. The following scheduling data in person-days are available:
Task Planned Effort Actual Effort
1 3 3.5
2 4 5
3 5 5.5
4 4 3
5 6 7
6 7 6.5
7 5 5
8 7 7.5
9 8
10 8
11 3
12 2
13 14
14 2
15 7
16 6
17 8
18 7
Compute the following
1) SPI
2) Schedule variance
3) Percent scheduled for completion
4) Percent complete
5) CPI
6) Cost variance for the project.
[/B]
CS605 Final Term papers spring july 2011
2 marks
How can we calculate notion of availability in statistical measurement?
What would you understand by the term “Software refactoring”?
What is meant by 90-10% rule in time-boxing?
What does mean by the term “Software Reengineering”?
How can quality of design is measured quantitatively?
3 marks
Subtasks have interdependencies based on their sequence, Give an example of subtask interdependcies?
What would this model depict?
What would you understand by following code segment?
for (i=0; i < N-1; i++) {
min = i;
for (j = i; j < N; j++)
if (a[j] < a[min]) min = j;
temp = a[i];
a[i] = a[min];
a[min] = temp;
}
What is the guideline for organizations so that they will not depend on single individuals for there growth?
On what basis, a legacy sytem is assessed that whether it should be maintained or discarded. Explain it briefly.
5 marks
What is the difference between code and design re-structuring?
Give some recommendation to make a Walkthrough to be effective?
The software processes are usually ad-hoc and usually chaotic at
Level1
5
3
2
In order to plan and run a project successfully, a project manager needs NOT to worry about the following issue
Product Quality
Cost estimation
Name of company
Risk Assessment
In ____________a team is structured loosely and depends on individual initiative of the team members
Random paradiagm
Closed
Synchronous
Open
CS605- Software EngineeringII final term solve paper current spring July 2011
Question No: 1 ( Marks: 1 ) – Please choose one
In order to measure the design quality, if the frequency of ripple defects is too large, then it means that there is tight coupling and hence the
► design is maintainable
► design is not maintainable
► design has completed
► none of the given
Question No: 2 ( Marks: 1 ) – Please choose one
We can include following type of data in the database for creating matrix aganst each project except
► name of project
► size of project
► company’s CEO name
► cost of project
Question No: 3 ( Marks: 1 ) – Please choose one
The only reason for an estimate to be unreliable is lack of experience related to the application on the part of the estimator.
► true
► false
Question No: 4 ( Marks: 1 ) – Please choose one
A consideration of software scope must include an evaluation of all external interfaces.
► true
► false
Question No: 5 ( Marks: 1 ) – Please choose one
If an error related to requirements is identified in testing phase, so this error will be considered as an error in ___________ phase.
► Design
► Code
► Requirement
► Testing
Question No: 6 ( Marks: 1 ) – Please choose one
Usually the performance of the organization change over-night.
► True
► False
Question No: 7 ( Marks: 1 ) – Please choose one
Quality is the compliance of software to implicit and explicit quality factors. Identify the explicit requirement from the following:
► Maintainability
► Compliance with CMMI
► Ease of use
► Efficiency
Question No: 8 ( Marks: 1 ) – Please choose one
Following are the benefits of conducting review except
► Help in finding the size of the project
► Helps in verifying the quality of product
► Help in identifying where improvement is required.
► Helps in identifying the bugs in the work product
Question No: 9 ( Marks: 1 ) – Please choose one
Mean Time To Repair (MTTR) is the
► Time when system remained unable for usage
► Time taken to fix the error
► Time taken to repair the software
► All of the given options are correct.
Question No: 10 ( Marks: 1 ) – Please choose one
Reliability and Safety are same concepts with respect to software quality
► True
► False
Question No: 11 ( Marks: 1 ) – Please choose one
SCM is the requirement of the ________ level(s) of CMM
► First
► Second and later
► Third and later
► Only Second
Question No: 12 ( Marks: 1 ) – Please choose one
We can include following items during configuration item identification:
► User Manuals and Documentations
► Source Code
► Software Requirement Specifications
► All of the given choices are correct
Question No: 13 ( Marks: 1 ) – Please choose one
If a new version of a product is released by fixing the bugs in the previous release then it is termed as _________________
► Product Update
► Product Upgrade
► Defect Removal
► Product Performance
Question No: 14 ( Marks: 1 ) – Please choose one
Every node signifies ___________ version of a release
► one
► two
► three
► four
Question No: 15 ( Marks: 1 ) – Please choose one
The Change Control Authority does not have the rights to permit to bring the change in the software
► True
► False
Question No: 16 ( Marks: 1 ) – Please choose one
Check in and Check out is actually one and the same process with two different names
► True
► False
Question No: 17 ( Marks: 1 ) – Please choose one
There could be multiple GUIs to satisfy one requirement
► True
► False
Question No: 18 ( Marks: 1 ) – Please choose one
_____________ is the process of Design recovery. At this stage the documentation of the overall functionality is created.
► Database Engineering
► Reverse Engineering
► Refactoring
► Forward Engineering
Question No: 19 ( Marks: 1 ) – Please choose one
In code restructuring, we do not change the functionality of the code
► True
► False
Question No: 20 ( Marks: 1 ) – Please choose one
In ______________, new user and technology requirement can also be integrated into the re-engineering effort.
► Backward re-engineering
► Forward re-engineering
► Business Engineering
► Business Process Engineering
Question No: 21 ( Marks: 1 ) – Please choose one
A _____________process is “a set of logically related tasks performed to achieve a defined business outcome”.
► Business
► Software
► CMM
► ISO
Question No: 22 ( Marks: 1 ) – Please choose one
Software refactoring is a process in which
► External behavior of the system does not change
► Internal behavior of the system does not change
► Design of the software changes
► Architecture of the software changes
Question No: 23 ( Marks: 1 ) – Please choose one
The formal methods model of software development makes use of mathematical methods to
► define the specification for computer-based systems
► all of the given
► develop defect free computer-based systems
► verify the correctness of computer-based systems
Question No: 24 ( Marks: 1 ) – Please choose one
Which one of the following describes the data and control to be processed, function, performance, constraints, interfaces, and reliability?
► Product Quality
► Software scope estimation
► Resources requirements
► Time requirements
Question No: 25 ( Marks: 1 ) – Please choose one
Which one of the following describes the data and control to be processed, function, performance, constraints, interfaces, and reliability?
► Resources requirements
► Software scope estimation
► Time requirements
► Product Quality
Question No: 26 ( Marks: 1 ) – Please choose one
The software plan is not a static document, it is frequently adjusted to make the project appear on track to meet all deadlines and quality targets.
► True
► False
Question No: 27 ( Marks: 1 ) – Please choose one
The projects are classified into following categories except
► New application development
► Reengineering projects
► Concept development projects
► Marketing Development Projects
Question No: 28 ( Marks: 1 ) – Please choose one
The processes at ———– is focus on continually improving process performance through both incremental and innovative technological changes/improvements.
► Level 5
► Level 1
► Level 4
► Level 3
Question No: 29 ( Marks: 1 ) – Please choose one
Quantitative process-improvement objectives for the organization are established, continually revised to reflect changing business objectives at ————-.
► Level 3
► Level 2
► Level 5
► Level 1
Question No: 30 ( Marks: 1 ) – Please choose one
Reliability of a software is a
► functional requirement
► non-functional requirement
► Design Requirement
► None of the given
Question No: 31 ( Marks: 2 )
What issues must be included in the review list?
Question No: 32 ( Marks: 2 )
What is meant by requirement management?
Requirement Management is defined as a systematic approach to eliciting, organizing, and documenting the requirements of the system, and a process that establishes and maintains agreement between the customer and the project team on the changing requirements of the system.
Question No: 33 ( Marks: 2 )
Give any two advantages of Software CMM?
Question No: 34 ( Marks: 2 )
How can we implemente metrics in small organizations ?
Question No: 35 ( Marks: 3 )
Give in brief any three factors related with operation?
Question No: 36 ( Marks: 3 )
Discuss the hazards those are associated with a computer-based cruise control for an automobile?
Question No: 37 ( Marks: 3 )
What would you understand by the conventional numbering of the product release?
Question No: 38 ( Marks: 3 )
Write down the levels of Capability Maturity Model (starting from 0-5)?
Question No: 39 ( Marks: 5 )
What are the risks associated in the migration of a Legacy system to a new system?
Question No: 40 ( Marks: 5 )
How Duplicate Code can cause problem in the maintenance of a program? Explain briefly.
CS605 Assignment 5 Spring 2011 idea Solution
Assignment No. 5
Due Date:
Your assignment must be uploaded/submitted before or on 8th July 2011
Uploading instructions:
Please view the Assignment Submission Process document provided to you by the Virtual University for uploading assignments.
- Assignment should be in .doc format.
- Save your assignment with your ID (e.g. bx020200786.doc).
- Assignment submission through email is highly discouraged.
Rules for Marking:
It should be clear that your assignment will not get any credit if:
- The assignment is submitted after due date.
- The submitted assignment file is corrupted.
- The assignment is copied.
Note:
Your answer must follow the below given specifications. You will be assigned zero marks if you do not follow these instructions.
- Font style: “Times New Roman”
- Font color: “Black”
- Font size: “12”
- Bold for heading only.
- Font in Italic is not allowed at all.
- No formatting or bullets are allowed to use.
Total Marks = 20
Statistical Software Quality Assurance is a technique that measures the quality in a quantitative fashion. It implies that information about defects is collected and categorized and an attempt is made to trace each defect to underlying cause.
Let us assume that information about defects is collected for one year and categorized as follows:
-
- Incomplete or erroneous specifications (IES)
- Misinterpretation of customer communication (MCC)
- Intentional deviation from specifications (IDS)
- Violation of programming standards (VPS)
- Error in data representation (EDR)
- Inconsistent component interface (ICI)
- Error in digital logic (EDL)
- Incomplete or erroneous testing (IET)
- Inaccurate or incomplete documentation (IID)
- Error in programming language translation of design (PLT)
- Ambiguous or inconsistent HCI (HCI)
- Miscellaneous (MIS)
The following data is collected for these categories
| Error Category | Serious | Moderate | Minor | Sub Total |
| IES | 40 | 70 | 85 | |
| MCC | 20 | 50 | 85 | |
| IDS | 25 | 5 | 10 | |
| VPS | 0 | 30 | 50 | |
| EDR | 40 | 68 | 36 | |
| ICI | 9 | 18 | 31 | |
| EDL | 14 | 12 | 19 | |
| IET | 12 | 20 | 48 | |
| IID | 2 | 20 | 25 | |
| PLT | 20 | 55 | 40 | |
| HCI | 3 | 17 | 8 | |
| MIS | 0 | 40 | 64 | |
| Total |
- You need to complete the table
- Identify FIVE categories on the basis of vital errors
- Identify FIVE categories on the basis of vital if only serious errors are considered.
CS605 Mid Term paper spring 2011 may
1)DD &CD{2M}
2)EMPIRICAL MODEL{2M}
3)TYPES OF RISKS{3M}
4)WHAT ARE METRICS FOR SMALL ORGINIZATION{3M}
5)PROCESS DRIVEN AND DATA DRIVEN APPROACH{5 M}
6)ONE FROM RISK TECHNIQUES {5M}
CS605 Software Engineering II Assignment 1 Spring 2011 Idea Solution
You are working on a project and you have to decide which language you will select for its development. Let us consider that the same functionality is implemented in Assembly Language and in C++ language. Lines of code in Assembly language are 4 times as compared to C++ language because coding in Assembly is much more difficult and time consuming as compared to C++. The requirements, design anddocumentation activity in person month are the same in both the languages but integration & testing and Management activity is thrice in assembly language.
a. You have to fill out the above table according to the given scenario and calculatetotal effort, total cost, and lines per person month. (10 Marks)
b. Why coding in Assembly language appears to be more cost effective than C++ while in reality it is not. This is a paradox! Explain. (10 Marks)