Docsity

Notes on Teamwork - Software Engineering 1: System Analysis | CSIS 360, Study notes of Civil Engineering

Toggle sidebar
bg1
CSIS 360 Lecture 22
Teamwork
Some comments from Professor Yoos:
- Was this seminar itself an instance of good teamwork? If so, what made it that
way, and why can’t that be extended into the project teams?
- Should teams work on how to fix broken teams before they break? How might
they do that?
- What should managers do about teams? Nothing? Just don’t interfere? Help guide
process? Something else?
- Since more workers are transient these days, especially “knowledge workers,” is
it important to become adept at quickly moving in and out of team contexts ad
hoc?
- How would it be if everything on your resume was “we,” instead of “me”?
Only 5 people turned in their review of the last reading. This is not very satisfactory!
Project Workbooks
Design Principles
How do you go about designing something? What are some design principles?
Abstraction
Car: Wheels, doors, engine, steering wheel, brakes, seats, etc. Let's look at the engine:
cylinders, spark plugs, gaskets, bolts, screws, etc. How about the spark plugs – well, the
car manufacture buys them from someone else, but they have parts, too.
House? Foundation, walls, roof, floors, stairs, doors, windows, plumbing, wiring,
appliances, etc. Think about the kitchen: cupboards, dishwasher, oven, stove, counters.
What about the cupboards? wood, shelf brackets, hinges, handles. OK, what about the
hinges: some metal parts, some screws, …
If we had to worry about all these little details every time we wanted to build a house,
we’d all be sleeping outdoors. The solution we use to deal with the complexity problem is
called abstraction – we hide the details away in some component that we think of as a
unit.
Abstraction is one way that we solve problems. We divide the problem up into
subproblems, and divide those up into smaller subproblems, until we have something
small enough that we can deal with all the details. Once we’ve built that thing, we don’t
worry about the details anymore – instead, we just think of this as a building-block in our
larger solution.
pf3
pf4
pf5

Partial preview of the text

Download Notes on Teamwork - Software Engineering 1: System Analysis | CSIS 360 and more Study notes Civil Engineering in PDF only on Docsity!

CSIS 360 Lecture 22

Teamwork Some comments from Professor Yoos:

  • Was this seminar itself an instance of good teamwork? If so, what made it that way, and why can’t that be extended into the project teams?
  • Should teams work on how to fix broken teams before they break? How might they do that?
  • What should managers do about teams? Nothing? Just don’t interfere? Help guide process? Something else?
  • Since more workers are transient these days, especially “knowledge workers,” is it important to become adept at quickly moving in and out of team contexts ad hoc?
  • How would it be if everything on your resume was “we,” instead of “me”? Only 5 people turned in their review of the last reading. This is not very satisfactory! Project Workbooks Design Principles How do you go about designing something? What are some design principles? Abstraction Car: Wheels, doors, engine, steering wheel, brakes, seats, etc. Let's look at the engine: cylinders, spark plugs, gaskets, bolts, screws, etc. How about the spark plugs – well, the car manufacture buys them from someone else, but they have parts, too. House? Foundation, walls, roof, floors, stairs, doors, windows, plumbing, wiring, appliances, etc. Think about the kitchen: cupboards, dishwasher, oven, stove, counters. What about the cupboards? wood, shelf brackets, hinges, handles. OK, what about the hinges: some metal parts, some screws, … If we had to worry about all these little details every time we wanted to build a house, we’d all be sleeping outdoors. The solution we use to deal with the complexity problem is called abstraction – we hide the details away in some component that we think of as a unit. Abstraction is one way that we solve problems. We divide the problem up into subproblems, and divide those up into smaller subproblems, until we have something small enough that we can deal with all the details. Once we’ve built that thing, we don’t worry about the details anymore – instead, we just think of this as a building-block in our larger solution.

This idea of abstraction leads to modularization – we divide the house up into modules (doors, cupboards, sinks, etc.) that we can put together in different ways to make up a house. We think of the modules as individual components, even though they are in turn made up of smaller components. So, abstraction and modularization allow us to build complex things:

  • abstraction allows us to ignore the details so we can focus on the bigger picture
  • modularization allows us to break up a big problem into smaller pieces These principles apply to software development also. Large programs can have millions of statements – no one person can keep track of all of these details. Modularization allows us to break up a large program into smaller parts – abstraction allows us to think of these parts as individual components. What elements of programming languages support these concepts? Software Architecture "The overall structure of the software and the ways in which that structure provides conceptual integrity for a system" – Mary Shaw and David Garlan, Software Architecture, 1996 The structure or organization of the software components, their interaction, and the structure of data used in the components. Diagrams are very helpful here! There are some common architectural patterns that are used in many software systems. Tiered or Layered architecture: system functionality is partitioned (or layered) so that each partition performs specific functionality, and only communicates with the adjoining layers. Frequently, each layer executes on a separate computer, although multiple layers may reside on one computer. Each layer provides service to the layer above it, and receives service from the layer below. Each layer provides an interface that is used to communicate with it. This allows layers to be changed easily - new versions only have to provide the same interface Layered architectures can also be more scalable. Often, a layer can reside on multiple computers in parallel, with each computer providing the layer's services. Requests for service can go to any of the machines. We can think of many applications as having three parts: presentation, application processing, and data management.

The thin client model is often used when large, single-tier systems are migrated to client/server systems. PCs are often used to connect to central mainframes, and they become responsible for the presentation layer. Disadvantages of thin-client model: heavy processing load on central server and on network. PCs have lots of computing power that is largely unused in this model. The Fat client model makes use of the processing power of the clients. The server acts as a transaction server for the database. An example of this might be an ATM system, where each ATM is a client and the server is a mainframe running the customer account database. The ATM hardware/software carries out a lot of the customer-related processing associated with a banking transaction. System management of fat-client architecture is more complex. Application functionality is spread across lots of computers. It can be very time-consuming and expensive to upgrade the software. A general problem with the client/server model is that it doesn't match the three layer application model very well. Either the client or the server has to support two of the layers. 3-Tier DB, business logic, presentation layer. Very common with web-based applications. For example, an on-line banking system. client(s) <-- HTTP --> Web Server <-- SQL --> Database Server Easy to expand system by adding more web servers. Reduces network traffic. Easier to change/manage application Design Principles

  • Decomposition - process of breaking down a system into smaller components or subsystems. These components can be broken down further in an iterative process. o This process results in smaller, less complex parts that are easier to understand. o Allows you to focus on one part of a system, making it easier to implement or modify In an object oriented system, these components are classes.
  • Modularity : a direct result of decomposition. It refers to dividing a system into smaller chunks or modules.
  • Cohesion - The extent to which a subsystem performs a single function. High cohesion is desirable. Cohesion implies that a class encapsulates only attributes and operations that are closely related to each other and to the class.
  • Coupling - the level of dependency between modules or subsystems. Low coupling is desirable. Obviously, components have to communicate with each other. But, you want to limit the amount of inter-component communication. As classes become more interdependent, system complexity increases, and the system becomes more difficult to implement, test, and maintain.