Showing posts with label Design and implementation. Show all posts
Showing posts with label Design and implementation. Show all posts

Thursday, March 1, 2012

Briefly describe the idea of open-source development.

Briefly describe the idea of open-source development.
Answer: Open source development is an approach to software development in which the source code of a software system is published and volunteers are invited to participate in the development process. Its roots are in the Free Software Foundation (http://www.fsf.org), which advocates that source code should not be proprietary but rather should always be available for users to examine and modify as they wish. Open source software extended this idea by using the Internet to recruit a much larger population of volunteer developers. Many of them are also users of the code. In principle at least, any contributor to an open source project may report and fix bugs and propose new features and functionality. However, in practice, successful open source systems still rely on a core group of developers who control changes to the software.

What are essential tools in a software development platform?

What are essential tools in a software development platform?
Answer: 1. An integrated compiler and syntax-directed editing system that allows you to create, edit, and compile code.
2. A language debugging system.
3. Graphical editing tools, such as tools to edit UML models.
4. Testing tools, such as JUnit (Massol, 2003) that can automatically run a set of tests on a new version of a program.
5. Project support tools that help you organize the code for different development projects.

What are the principal aims of software configuration management?

What are the principal aims of software configuration management?
Answer: 1. Version management, where support is provided to keep track of the different versions of software components. Version management systems include facilities to coordinate development by several programmers. They stop one developer overwriting code that has been submitted to the system by someone else.
2. System integration, where support is provided to help developers define what versions of components are used to create each version of a system. This description is then used to build a system automatically by compiling and linking the required components.
3. Problem tracking, where support is provided to allow users to report bugs and other problems, and to allow all developers to see who is working on these problems and when they are fixed.

What are the 4 levels at which software reuse is possible?

What are the 4 levels at which software reuse is possible?
Answer: 1. The abstraction level: At this level, you don’t reuse software directly but rather use knowledge of successful abstractions in the design of your software.
2. The object level: At this level, you directly reuse objects from a library rather than writing the code yourself. To implement this type of reuse, you have to find appropriate libraries and discover if the objects and methods offer the functionality that you need.
3. The component level: Components are collections of objects and object classes that operate together to provide related functions and services. You often have to adapt and extend the component by adding some code of your own.
4. The system level: At this level, you reuse entire application systems. This usually involves some kind of configuration of these systems. This may be done by adding and modifying code or by using the system’s own configuration interface. 

How do design patterns contribute to reuse?

How do design patterns contribute to reuse?
Answer: Patterns support high-level, concept reuse. Using patterns means that you reuse the ideas but can adapt the implementation to suit the system that you are developing. Patterns are a great idea but you need experience of software design to use them effectively. You have to recognize situations where a pattern can be applied. Inexperienced programmers, even if they have read the pattern books, will always find it hard to decide whether they can reuse a pattern or need to develop a special purpose solution.

What do Gamma et al. suggest are the four essential elements of a design pattern?

What do Gamma et al. suggest are the four essential elements of a design pattern?
Answer: 1. A name that is a meaningful reference to the pattern.
2. A description of the problem area that explains when the pattern may be applied.
3. A solution description of the parts of the design solution, their relationships, and their responsibilities. This is not a concrete design description. It is a template for a design solution that can be instantiated in different ways. This is often expressed graphically and shows the relationships between the objects and object classes in the solution.
4. A statement of the consequences—the results and trade-offs—of applying the pattern. This can help designers understand whether or not a pattern can be used in a particular situation.

Why is it important to specify the interfaces of components that are being developed by a software engineering team?

Why is it important to specify the interfaces of components that are being developed by a software engineering team?
Answer: An important part of any design process is the specification of the interfaces between the components in the design. You need to specify interfaces so that objects and subsystems can be designed in parallel. Once an interface has been specified, the developers of other objects may assume that interface will be implemented. Interface design is concerned with specifying the detail of the interface to an object or to a group of objects.
 

Briefly describe 3 approaches that may be used to identify object classes?

Briefly describe 3 approaches that may be used to identify object classes?
Answer: 1. Use a grammatical analysis of a natural language description of the system to be constructed. Objects and attributes are nouns; operations or services are verbs.
2. Use tangible entities (things) in the application domain such as aircraft, roles such as manager or doctor, events such as requests, interactions such as meetings, locations such as offices, and organizational units such as companies.
3. Use a scenario-based analysis where various scenarios of system use are identified and analyzed in turn. As each scenario is analyzed, the team responsible for the analysis must identify the required objects, attributes, and operations.

What do you understand by the system context and interaction model?

What do you understand by the system context and interaction model?
Answer: 1. A system context model is a structural model that demonstrates the other systems in the environment of the system being developed.
2. An interaction model is a dynamic model that shows how the system interacts with its environment as it is used.

What are the 5 key activities in an object-oriented design process?

What are the 5 key activities in an object-oriented design process?
Answer: 1. Understand and define the context and the external interactions with the system.
2. Design the system architecture.
3. Identify the principal objects in the system.
4. Develop design models.
5. Specify interfaces.