24.6. Explain why program inspections are an effective technique for discovering errors in a program. What types of error are unlikely to be discovered through inspections? The first thing that comes to mind is that when coding, an engineer can get tunnel vision to what his code is doing. When this happens it can be …
Author Archives: ledbetterw
HW24: Chapter 23
23.6. Figure 23.14 shows the task durations for software project activities. Assume that a serious, unanticipated setback occurs, and instead of taking 10 days, task T5 takes 40 days. Draw up new bar charts showing how the project might be reorganized.
HW23: Chapter 22
22.6. Fixed-price contracts, where the contractor bids a fixed price to complete a system development, may be used to move project risk from client to contractor. If anything goes wrong, the contractor has to pay. Suggest how the use of such contracts may increase the likelihood that product risks will arise. Fixed price contracts can …
HW22: Chapter 21
21.4. Explain why an object-oriented approach to software development may not be suitable for real-time systems. Object oriented approaches are not always suitable for real-time systems due to the inherent nature of breaking down the system into smaller pieces. These pieces would then need to communicate with each other which ultimately can lead to hardware …
HW20: Chapter 20
20.10 You work for a software company that has developed a system that provides information about consumers and that is used within a SoS by a number of other retail businesses. They pay you for services used. Discuss the ethics of changing the system interfaces without notice to coerce users into paying higher charges. Consider this …
HW19: Chapter 19
19.3. Why is it impossible to infer the emergent properties of a complex system from the properties of the system components? Emergent properties would be extremely difficult if not impossible to infer due to the nature of what they are. Emergent properties only emerge when you step back, understand all of your code individually and …
HW18: Chapter 18
18.4. Define an interface specification for the Currency Converter and Check credit rating services shown in Figure 18.7 public interface currencyConverter { /** * @param curCurrency the user’s currently held currency. * @param echangeCurrency the user’s desired currency to be exchanged too * @return returns the exchange rate based on the previous two parameters. */public …
HW17-B: Chapter 17
17.10. Your company wishes to move from using desktop applications to accessing the same functionality remotely as services. Identify three risks that might arise and suggest how these risks may be reduced. The first problem I see that could arise is that systems can never be 100% bug free, and switching to a new process …
HW17-A: Chapter 16
16.9. Design the interfaces of components that might be used in a system for an emergency control room. You should design interfaces for a call-logging component that records calls made, and a vehicle discovery component that, given a post code (zip code) and an incident type, finds the nearest suitable vehicle to be dispatched to …
HW16: Chapter 9
9.8. Briefly describe the three main types of software maintenance. Why is it sometimes difficult to distinguish between them? Type of software maintenance: Fault repairs: Coding errors are usually relatively cost effective to fix – while design errors are not as they generally involve rewriting fundamental program concepts. Requirement errors are the most expensive to …