Discuss, Learn and be Happy דיון בשאלות

help brightness_4 brightness_7 format_textdirection_r_to_l format_textdirection_l_to_r

You have been asked to test a method called 'catWhiteSpace' in a 'Paragraph' object that, within the paragraph, replaces sequences of blank characters with a single blank character. Test List is below. Each test is intended for testing specific type of strings. a. Strings with only single blank characters b. Strings with sequences of blank characters in the middle of the string c. Strings with sequences of blank characters at the beginning/end of string Strings that should be tested are listed below. 1. The quick brown fox jumped over the lazy dog (only single blanks) 2. The quick brown fox jumped over the lazy dog (different numbers of blanks in the sequence) 3. The quick brown fox jumped over the lazy dog (1' blank is a sequence) 4. The quick brown fox jumped over the lazy dog (Last blank is a sequence) 5. The quick brown fox jumped over the lazy dog (2 blanks at beginning) 6. The quick brown fox jumped over the lazy dog (several blanks at beginning) 7. The quick brown fox jumped over the lazy dog (2 blanks at end) 8. The quick brown fox jumped over the lazy dog (several blanks at end) Possible answers are listed below. Please circle the most comprehensive one

1
done
by
מיין לפי

Discover 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 input a credit card and a personal identification number. The rail ticket is issued and their credit card 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 a personal identifier. When the credit transaction has been validated, the ticket is issued. Ambiguities and omissions include: 1. How should the system respond when a user presses the start button? 2. What happens if a user tries to buy several tickets for the same destination together? 3. At what step are users requested to input a personal identifier? 4. Can users cancel a request if a mistake has been made? 5. How should the system respond if an invalid card is input?

1
done
by
מיין לפי

To generate software system design from concept to detailed object-oriented design, there are several items that you need to complete. Possible list of these items may include: 1.Develop design models. 2. Design the system architecture. 3. Understand and define the context and the external interactions with the system. 4. Specify object interfaces. 5. Identify the principal objects in the system. Below is the list of correct/incorrect answers. Please circle the correct answer.

1
done
by
מיין לפי

Possible non-functional response time and reliability requirements may include: 1. After the customer presses a button on the machine, the display should be updated within 0.5 seconds. 2. The ticket issuing time after credit card validation has been received should not exceed 10 seconds. 3. When validating credit cards. the display should provide a status message for customers indicating that activity is taking place. This tells the customer that the potentially time consuming activity of validation is still in progress and that the system has not simply failed. 4. The maximum acceptable failure rate for ticket issue requests is 1: 10000. Below is the list of correct/incorrect answers. Please circle the correct answer.

1
done
by
מיין לפי

If you were developing a new software system you might use a model of a system that already exists. Possible reasons for using an existing system model may include: 1. To understand the architecture and operation of the existing system. 2. To act as the focus of discussion about possible changes to that system. 3. To review in detail the implementation of all parts of the existing system. 4. To identify possible re-use of the existing system’s components. Below is the list of correct/incorrect reasons. Please circle the correct answer.

1
done
by
מיין לפי

You are a software engineering manager and your team proposes that model-driven engineering should be used to develop a new system. What factor should you take into account when deciding whether or not to introduce this new approach to software development? 1. The expertise of the team in using UML and MDA. (Is expertise already available or will extensive training be required.) 2. The costs and functionality of the tools available to support MDA. (Are tools available in house or will they have to be purchased. Are they good enough for the type of software being developed) 3. The likely lifetime of the software that you are developing. (MDA is most suitable for long-lifetime systems) 4. Requirements for high performance or throughput (MDA relies on code generation that creates code which may be less efficient than hand written code) 5. The long term benefits of using MDA (are there real cost savings from this approach)

1
done
by
מיין לפי

Design conflict might arise when designing an architecture for which both availability and security requirements are the most important non-functional requirements. Possible reasons for such a conflict may include: 1. To provide availability you need to have replicated components in the architecture. 2. Security requires minimizing the number of copies of the data. 3. To provide security you have to adopt architecture with minimal number of components where each component only knows as much as it needs do its job. 4. To provide availability you need to have several copies of the data is being processing. Below is the list of correct/incorrect reasons. Please circle the correct answer.

1
done
by
מיין לפי

Extreme programming expresses user requirements as stories, with each story written on the card. Consider the advantages of this approach to requirements description. Below is the list of correct/incorrect answers. 1. They represent real situation that commonly arise so the system will support the most common user operations. 2. It is easy for users to understand and critique the stories. 3. They represent increments of functionality-implementing a story delivers some value to the user. 4. They focus on functional requirements rather than non-functional requirements.

1
done
by
מיין לפי

Under what circumstances might a company justifiably charge a much higher price for a software system than the software cost estimate plus a reasonable profit margin? Circumstances where a high price might be charged: 1. Where a customer expects the developer to take on a considerable amount of project risk. 2. Where the customer has special requirements e.g. for very rapid delivery. 3. When the work is not central to the companies business and so diverts people from other more business-focused activities. The high price is intended to compensate for this. 4. When the customer has no alternative! Think about the ethics of excessive pricing in this situation.

1
sentiment_very_satisfied
by
מיין לפי

Explain why change is inevitable in complex systems and give examples (apart from prototyping and incremental delivery) of software process activities that help predict changes and make the software being developed more resilient to change. Below is the list of correct/incorrect examples of software process activities that help predict changes and make the software being developed more resilient to change. 1. Recording of requirements rational so that the reason why a requirement is included is known. This helps future change. 2. Requirements tractability that shows dependencies between requirements and between the requirements and the design/code of the system. 3. Design modeling where the design model documents the structure of the software. 4. Code refactoring that improve code quality and so makes it more amenable to change.

1
done
by
מיין לפי