CS605 – Software Engineering II: Midterm Important Subjective (39 Solved Q&As)
Software Engineering • Read every solved subjective question with its model answer directly on this page. Free, no login required.
All 664 Midterm Packs · CS605 Course Page · CS605 MCQ Pack (230 MCQs)
-
Discuss some of the factors that will be considered when deciding whether to develop the project from scratch or to use third-party components (off-the-shelf software).
Topic: Software Process and Project Management
There are many factors to consider when deciding whether to use third party components in a project. It is essential to consider and try to quantify each of these for your own particular situation before making the build vs. buy choice. Only by doing so can you truly compare the total cost of ownership of each approach. Developer costs: This is the cost of developer time to implement a certain set of functionality. For components you have the cost to evaluate the component and integrate it into an application. Generally speaking these costs will be much smaller than the cost to implement the functionality on your own. Note: A major factor in the buy vs. build decision is often psychological rather than economic, where developers want to build features simply because it is more fun. Without a good economic analysis, this choice can raise costs to the point where a project fails completely. Feature costs When you build your own component, you can build it to implement the exact feature set you require. With third party components the component may lack a feature that leads to a reduction in the functionality of your application. This reduction in functionality may result in costs in the form of reduced sales, or competitive disadvantage. On the other side, a component will often implement features you do not use. While these features have no direct costs, they do increase the overall cost of deploying the component because they demand additional time to learn and add complexity to the component. Time to market costs Deploying a third party component is dramatically faster than building your own. You should estimate the amount of time it would cost to develop the feature on your own and estimate the impact of the delay on the overall profitability of the project. In many cases this will turn out to be a major factor in the decision. Product Costs The actual cost of a third party component is typically an insignificant factor in the total cost of ownership of a component.
-
What are the responsibilities of a project manager?
Topic: Software Process and Project Management
In order to plan and run a project successfully, a project manager needs to worry about the following issues: 1. Product quality: what would be the acceptable quality level for this particular project and how could it be ensured? 2. Risk assessment: what would be the potential problems that could jeopardize the project and how could they be mitigated? 3. Measurement: how could the size, productivity, quality and other important factors be measured and benchmarked? 4. Cost estimation: how could cost of the project be estimated? 5. Project schedule: how could the schedule for the project be computed and estimated? 6. Customer communication: what kind of communication with the customer would be needed and how could it be established and maintained consistently? 7. Staffing: how many people with what kind of resources would be needed and how that requirement could be fulfilled? 8. Other resources: what other hardware and software resources would be needed for the project? 9. Project monitoring: how the progress of the project could be monitored?
-
What is the W5HH principle? List the questions it addresses.
Topic: Software Process and Project Management
The W5HH principle is a systematic approach to project management suggested by Barry Boehm. It consists of seven questions that a project manager must address: 1. Why is the system being developed? 2. What will be done? 3. When will it be done? 4. Who is responsible for a function? 5. Where are they organizationally located? 6. How will the job be done technically and managerially? 7. How much of each resource (e.g. people, software, hardware) is required?
-
Name and briefly explain the stages of the software development loop.
Topic: Software Process and Project Management
The software development loop consists of four stages: 1. Status Quo: the existing state or the starting point from which a need for change arises. 2. Problem Definition: the problem against which the software is to be developed is determined and understood. 3. Technical Development: the solution of the problem is found on technical grounds and the actual implementation is based on it. 4. Solution Integration: the newly developed system is integrated with the already developed systems at the user side; after deployment the system becomes the new status quo and the loop continues.
-
Differentiate between construction activities and management activities.
Topic: Software Process and Project Management
Construction activities are directly related to the development of the software, such as requirement gathering, design, coding and testing. Management activities are the umbrella activities used to smoothly and successfully perform the construction activities; they surround the construction activities and include project planning and management, configuration management, software quality assurance, and installation and training.
-
What is meant by Degree of Rigor?
Topic: Project Planning, Scheduling and Tracking
To determine the set of tasks to be performed the type of the project and the degree of rigor required needs to be established. The degree of rigor can also be categorized as Casual, Structured, Strict, or Quick Reaction.
-
What is Effort Validation?
Topic: Project Planning, Scheduling and Tracking
Every project has a defined number of staff members. As time allocation occurs, the project manager must ensure that no more than the allocated number of people has been scheduled at any given time.
-
Define baseline data.
Topic: Project Planning, Scheduling and Tracking
In order to use the data for estimation and drawing conclusions, it must be base-lined. In the baseline, data from past projects is collected, cleaned, and put in a database. Such metrics baseline is used to reap benefits at the process, project, and product level.
-
Differentiate between casual and structured degree of rigor.
Topic: Project Planning, Scheduling and Tracking
• Casual All process framework activities are applied, but only a minimum task set is required. It requires reduced umbrella tasks and reduced documentation. Basic principles of SE are however still followed. • Structured In this case a complete process framework is applied. Appropriate framework activities, related tasks, and umbrella activities (to ensure high quality) are also applied. SQA, SCM, documentation, and measurement are conducted in streamlined manner.
-
Discuss the role of interdependency and time allocation to fulfill a realistic project schedule.
Topic: Project Planning, Scheduling and Tracking
• Interdependency The interdependency of each compartmentalized activity or task must be determined. Some tasks must occur in sequence while others can occur in parallel. Some activities cannot commence until the work product produced by another is available. • Time allocation Each task to be scheduled must be allocated some number of work units (e.g. person-days of effort). In addition, each task must be assigned a start date and an end date which is a function of the interdependencies and number of resources.
-
Define compartmentalization in the context of project scheduling.
Topic: Project Planning, Scheduling and Tracking
The project must be compartmentalized into a number of manageable activities and tasks. To accomplish compartmentalization, both the product and process are decomposed.
-
Interdependency of each compartmentalized activity or task must be determined. If interdependency is not determined, then what will happen?
Topic: Project Planning, Scheduling and Tracking
The interdependency of each compartmentalized activity or task must be determined. Some tasks must occur in sequence while others can occur in parallel. Some activities cannot commence until the work product produced by another is available.
-
What is Earned Value Analysis (EVA)? Define BCWS, BCWP and ACWP.
Topic: Project Planning, Scheduling and Tracking
Earned Value Analysis (EVA) is a quantitative technique for assessing the progress of a project by comparing the work actually accomplished with the work planned and the cost actually incurred. • BCWS (Budgeted Cost of Work Scheduled): the budgeted cost of the work scheduled to be completed up to a given point in time. • BCWP (Budgeted Cost of Work Performed): the budgeted cost of the work actually performed up to that point; it is the earned value. • ACWP (Actual Cost of Work Performed): the actual cost incurred for the work performed. From these, the Schedule Performance Index SPI = BCWP / BCWS and the Cost Performance Index CPI = BCWP / ACWP are computed to judge schedule and cost performance.
-
Can we guarantee 100% risk free software development i.e. can we develop a software without risk by following some software procedure? Comment it. 5 marks
Topic: Risk Management
Let’s be clear: there’s no such thing as risk free software. You can’t do anything without taking some risk. But what’s easy to overlook, is that not doing something is a risk, too. Not fixing a bug runs the risk that its more serious than you thought; more prevalent than you thought; that it could happen to an important customer, someone in the press, or a highly valued customer – with real revenue risk. You run the risk that it collides with another, as yet unknown bug, potentially multiplying the pain. Sometimes not releasing feels like the safest thing to do – but you’re releasing software because you know something is wrong. So what you gonna do? No business wants to accept risk, you have to mitigateit somehow. The simple, easy and wrong thing to do is to add more process. The braver decision, the right decision, is to make it easy to undo any mistakes.
-
In order to assess the overall project risks, what questions need to be addressed? Give any five.
Topic: Risk Management
In order to assess the overall project risks, the following questions need to be addressed: • Have top software and customer managers formally committed to support the project? • Are end-users committed to the project and the system/product to be built? • Are requirements fully understood? • Have customers been involved fully in requirement definition? • Do end-users have realistic expectations? • Does the software team have right mix of skills? • Are project requirements stable? • Does the project team have experience with the technology to be implemented? • Is the number of people on the project team adequate to do the job?
-
What is meant by Risk Projection?
Topic: Risk Management
Risk Projection Risk projection is concerned with risk estimation. It attempts to rate risks in two ways: Likelihood and consequences. There are four risk project activities. These are: • Establish a scale that reflects the perceived likelihood of risk • Delineate the consequences • Estimate impact • Note the overall accuracy of risk projection
-
What is the difference between generic risks and product-specific risks?
Topic: Risk Management
Generic risks are threats to every project whereas Product specific risks are specific to a particular project.
-
What are the types of risks?
Topic: Risk Management
Each project is faced with many types of risks. These include: • Project risks – Will impact schedule and cost – Includes budgetary, schedule, personnel, resource, customer, requirement problems 9 • Technical risks – Impact the quality, timelines, and cost – Implementation may become difficult or impossible – Includes design, implementation, interface, verification and maintenance problems – Leading edge technology • Business risks – Marketability – Alignment with the overall business strategy – How to sell – Losing budget or personnel commitments 5) Give appropriate RETS for a situation 5 marks In a human resource management an employee is - Employee Permanent Contract -Employee Married Single
-
Differentiate between proactive and reactive risk management strategies.
Topic: Risk Management
In a proactive risk management strategy, the potential risks are identified early, well before actual development starts, and steps are taken to avoid the risk or to minimize its impact if it does occur; its primary objective is to avoid risk. In a reactive strategy, no advance planning is done: the project team does not worry about the risks until a problem actually occurs, and then it reacts to control the damage in a fire-fighting mode. The reactive philosophy is also termed the Indiana Jones school of risk management.
-
What is an RMMM plan? What does it contain?
Topic: Risk Management
RMMM stands for Risk Mitigation, Monitoring and Management plan. It is a document that organizes all the risk analysis work performed for a project. For each significant risk it records the mitigation steps (actions taken to reduce the probability or impact of the risk), the monitoring activities (facts and indicators that are watched to determine whether the risk is becoming more or less likely) and the management/contingency steps (actions to be taken if the risk actually materializes).
-
Do you agree with the statement that ILFs and EIFs are both user identifiable groups of data? Comment.
Topic: Estimation and Function Point Analysis
Yes, both are user identifiable group of logically related data. The primary intent of an ILF is to hold data maintained through one or more elementary processes of the application being counted. The primary intent of an EIF is to hold data referenced through one or more elementary processes within the boundary of the application counted. This means an EIF counted for an application must be in an ILF in another application. Given the data, draw a moving range control chart in order to explain whether the process is stable or unstable? 5 marks project: 1 2 3 4 5 Data: 4 3 1 3
-
Can we count a single logical file as both an EIF and an ILF for the same application?
Topic: Estimation and Function Point Analysis
A logical file cannot be counted as both an ILF and EIF for the same application. If the data group satisfies both rules, count as an ILF.
-
Write three External Input (EI) counting rules.
Topic: Estimation and Function Point Analysis
•The data or control information is received from outside the application boundary. •At least one ILF is maintained if the data entering the boundary is not control information that alters the behavior of the system. •For the identified process, one of the following three statements must apply: o Processing logic is unique from the processing logic performed by other external inputs for the application. o The set of data elements identified is different from the sets identified for other external inputs for the application. o The ILFs or EIFs referenced are different from the files referenced by other external inputs in the application. CS605 Software Engineering-II Mid Term Spring 2012
-
What is an EIF (External Interface File)?
Topic: Estimation and Function Point Analysis
An external interface file (EIF) is a user identifiable group of logically related data or control information referenced by the application, but maintained within the boundary of another application.
-
What is Function Point Analysis? Name the five information domain values used in it.
Topic: Estimation and Function Point Analysis
Function Point Analysis is a technique for measuring the size of software in terms of the functionality it provides to the user, independent of the technology used to implement it. Function points can be counted early, even at the requirements phase, and are used for planning and estimation. The five information domain values are: 1. External Inputs (EI) 2. External Outputs (EO) 3. External Inquiries (EQ) 4. Internal Logical Files (ILF) 5. External Interface Files (EIF)
-
Why do we need metrics?
Topic: Metrics and Measurement
Metrics give you a better insight into the state of the process or product. These insights are not the problems but just the indicators of problems. A software engineers collects measures and develops metrics and indicators.
-
What are the uses of a control chart?
Topic: Metrics and Measurement
We have to determine whether the trend is statistically valid or not. We also need to determine what changes are meaningful. A graphical technique known as control charts is used to determine this. Control charts are of two types: moving range control chart and individual control chart.
-
If spoilage is decreasing, then what will be its effect on maintainability?
Topic: Metrics and Measurement
A cost oriented metric used to assess maintainability is called Spoilage. It is defined as the cost to correct defects encountered after the software has been released to the users. Spoilage cost is plotted against the overall project cost as a function of time to determine whether the overall maintainability of software produced by the organization is improving.
-
See the graph (defects reported vs. defects fixed) and state whether the product is stable or not.
Topic: Metrics and Measurement
Product is in unstable condition as gap between the defects reported and defects fixed is increasing. Question No 5: Nf = 25, Nnf = 5 and Nui = 10 Calculate the lack of ambiguity in the given requirement
-
Why do software engineers use measures?
Topic: Metrics and Measurement
A good software engineer would adopt mechanisms to measure the quality of the analysis and design models, the source code, and the test cases. At the project level, the primary focus is to measure errors and defects and derive relevant metrics such as requirement or design errors per function point, errors uncovered per review hour, errors per thousand lines of code.
-
How is the design of a software measured quantitatively?
Topic: Metrics and Measurement
The quality of the architectural design can be measured by measuring its complexity as shown below: – Structural complexity S = (fout)2 – Data complexity D = v/(fout + 1) • ‘v’ is the number of input and output variables – System complexity C = Σ (Si + Di)
-
How can we develop an individual control chart using a moving range control chart?
Topic: Metrics and Measurement
First the moving range control chart is developed: the moving ranges (absolute values of the successive differences between each pair of data points) are calculated and plotted, their mean is plotted, and the Upper Control Line is obtained by multiplying the mean of the moving ranges with 3.268. This chart is then used to develop the individual control chart as follows: 1. Plot the individual metric values. 2. Compute the average value of the metric values (Am). 3. Multiply the mean of the moving ranges by 2.66 and add Am; the result is the Upper Natural Process Limit (UNPL). 4. Multiply the mean of the moving ranges by 2.66 and subtract Am; the result is the Lower Natural Process Limit (LNPL). 5. Plot UNPL and LNPL (LNPL need not be plotted if it is less than zero). 6. Compute the standard deviation as (UNPL - Am) / 3. 7. Plot lines 1 and 2 standard deviations above and below Am. The chart is then evaluated using the zone rules to decide whether the process is in control or out of control.
-
Differentiate between a measure, a metric and an indicator.
Topic: Metrics and Measurement
A measure provides a quantitative value of some attribute of a process or a product, obtained by direct counting, e.g. the number of defects found. A metric relates individual measures to provide a normalized view, e.g. defects per function point. An indicator is a metric or a combination of metrics that provides insight into the software process, the project or the product, and is used by managers and practitioners to adjust the process or the project as needed.
-
If the bugs are fixed, then what will be the effect on the quality of software?
Topic: Software Quality and Reviews
Defect repair/maintenance is considered to be any activity that supports the release functionality specification and it may a fix for some bugs or some maintenance to enhance the performance of the application.
-
Do you think flexibility and maintainability are the same thing? Give the reason.
Topic: Software Quality and Reviews
No, these are not the same things because System flexibility describes the ease of expanding the product with new feature sets and capabilities. System maintainability, on the other hand, describes the ease of coding bug repairs and adding minor features. Both are determined by the architecture and techniques used to create the code and resulting quality of the code.
-
What is a Formal Technical Review (FTR)? State its objectives.
Topic: Software Quality and Reviews
A Formal Technical Review is a software quality control activity performed by software engineers (and others) in which a work product is examined by a review team to uncover errors before the product moves to the next phase. Its objectives are: 1. To uncover errors in function, logic or implementation of the work product. 2. To verify that the work product meets its requirements. 3. To ensure that the work product has been developed according to predefined standards. The focus of the review is on the product, not on the producer.
-
What is cost of quality? Name its main categories.
Topic: Software Quality and Reviews
Cost of quality includes all costs incurred in the pursuit of quality or in performing quality-related activities. It is divided into: 1. Prevention costs: costs of activities that prevent defects, such as quality planning, formal technical reviews, training and process improvement. 2. Appraisal costs: costs of activities that evaluate product quality, such as testing, inspection and equipment calibration. 3. Failure costs: costs that would disappear if no defects existed; these are further divided into internal failure costs (rework, repair and failure mode analysis before shipment) and external failure costs (complaint resolution, product return and replacement, help line support and warranty work after shipment).
-
Differentiate between verification and validation.
Topic: Software Quality and Reviews
Verification is the set of activities that ensure that software correctly implements a specific function; it is performed at the end of each phase and answers the question "Are we building the product right?" Validation is the set of activities that ensure that the software built is traceable to the customer requirements; it answers the question "Are we building the right product?"
-
Name the five levels of the Capability Maturity Model (CMM) and state what each level represents.
Topic: Process Maturity (CMM)
1. Level 1 - Initial: the software process is characterized as ad hoc; success depends on individual effort and few processes are defined. 2. Level 2 - Repeatable: basic project management processes are established to track cost, schedule and functionality, so earlier successes can be repeated on similar projects. 3. Level 3 - Defined: the software process for both management and engineering activities is documented, standardized and integrated into an organization-wide standard process. 4. Level 4 - Managed: detailed measures of the software process and product quality are collected and the process and products are quantitatively understood and controlled. 5. Level 5 - Optimizing: continuous process improvement is enabled by quantitative feedback from the process and by piloting innovative ideas and technologies.