[SWEN 261] - Midterm Exam Guide - Ultimate 17 pages long Study Guide!

143 views17 pages
7 Feb 2017
School
Course

For unlimited access to Study Guides, a Grade+ subscription is required.

RIT
SWEN 261
MIDTERM EXAM
STUDY GUIDE
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 17 pages and 3 million more documents.

Already have an account? Log in
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 17 pages and 3 million more documents.

Already have an account? Log in
Exam 2 Study Topics
1. Know the definition of a Pattern. Know what the three categories of Patterns are. Study
the "Info - Design Pattern Template" on page 352 of text. Know the definition of "anti-pattern."
Know the set of important patterns.
A pattern is the outline of a reusable solution to a general problem encountered in a particular
context
Anti-Patterns are commonly used, but ineffective or counterproductive in practice.
Some informal types:
Death march project management
Blind faith Do not check correctness of bug fix
Creational patterns focus on the “creation, composition, and representation of
objects, e.g.,
Abstract factory pattern: centralize decision of what factory to instantiate
Factory method pattern: centralize creation of an object of a specific type choosing one of
several
implementations
Structural patterns focus on problems and solutions associated with how classes
and objects are organized and integrated to build a larger structure, e.g.,
Adapter pattern: 'adapts' one interface for a class into one that a client expects
Aggregate pattern: a version of the Composite pattern with methods for aggregation of children
Behavioral patterns address problems associated with the assignment of
responsibility between objects and the manner in which communication is effected
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 17 pages and 3 million more documents.

Already have an account? Log in
between objects, e.g.,
Chain of responsibility pattern: Command objects are handled or passed on to other objects
by
logic-containing processing objects
Command pattern: Command objects encapsulate an action and its parameters
2. Framework vs. Patterns? What is the difference?
Framework = Component + Design Patterns
a design pattern solves many software architecture issues (about creation, behavior,
concurrency, ...) with different pre-defined design. (design being an implementation of an
architecture topic)
a framework is based on the Hollywood Principle ("Don't call us, we call you"), where
you implement some high level requirements as specified, and leave the framework do
the rest of the work, calling your implementations.
A key difference is the scope cohesion:
design pattern have a tight scope:
class design patterns (involves classes)
business design patterns (involves business workflows)
application design patterns (involves applications)
framework has a large scope:
A pattern is a best practice, a recipe, a time tested solution to a recurring problem that's
proved to work and to be the best one among to choose.
A framework is a library that provides a foundation layer to use to build application
without writing everything from scratch
framework word can be also address defined schemes of software design and build, a
collection of procedures that the developer can follow to achieve better results.
3. Understand Object Oriented Testing Strategies (p 528 of text).
Unit Testing
Test individual components of application
Build tests as you code
Helps in regression testing
Ensure quality early on
Unlock document

This preview shows pages 1-3 of the document.
Unlock all 17 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+
$10 USD/m
Billed $120 USD annually
Homework Help
Class Notes
Textbook Notes
40 Verified Answers
Study Guides
1 Booster Class