Software Lifecycle and Team Programming
Arun Chauhan COMP 314
Lecture 2 January 21, 2003
Software Lifecycle and Team Programming Arun Chauhan COMP 314 - - PowerPoint PPT Presentation
Software Lifecycle and Team Programming Arun Chauhan COMP 314 Lecture 2 January 21, 2003 Recap of the Last Lecture Lecture 2: Software Lifecycle and Team Programming January 21, 2003 BFS 1 for each vertex v in V 2 color[v] = white 3
Lecture 2 January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
1 for each vertex v in V 2 color[v] = white 3 d[v] = INFINITY 4 p[v] = NULL 5 color[s] = gray 6 d[s] = 0 7 Queue.clear() 8 Queue.put(s) 9 while (!Queue.empty()) 10 v = Queue.get() 11 for each u adjacent to v 12 if (color[u] == white) 13 color[u] = gray 14 d[u] = d[v] + 1 15 p[u] = v 16 Queue.put(u) 17 color[v] = black
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
If software were an office building, it would be built by a thousand carpenters, electricians and plumbers. Without architects. Or blueprints. It would look spectacular, but inside, the elevators would fail regularly. Thieves would have unfettered access through open vents at street level. Tenants would need consultants to move in. They would discover that the doors unlock whenever someone brews a pot of coffee. The builders would provide a repair kit and promise that such idiosyncrasies would not exist in the next skyscraper they build (which, by the way, tenants will be forced to move into). Strangely, the tenants would be OK with all this. They’d tolerate the costs and the
someone asked, “Why do we put up with this building?” shoulders would be shrugged, hands tossed and sighs heaved. “That’s just how it is. Basically, buildings suck.” from an online article on idg.net
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
ReadTime SetTime ChangeBattery SimpleWatch WatchRepairPerson WatchUser
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Authenticate Authenticate WithPassword Authenticate WithCard
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
DepressClutch <<include>> <<include>> ChangeGearToReverse ChangeGearToFirst
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
EngineStalled <<extend>> ChangeGearToReverse ChangeGearToFirst <<extend>>
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Battery SimpleWatch 1 1 1 2 1 2 1 1 PushButton Display Time
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
State PoliceStation PoliceOfficer County Township File Directory
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Watch CalculatorWatch calculatorState EnterCalcMode() InputNumber(n) SetDate(d) date time
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
cW15:CalculatorWatch <<instanceOf>> <<instanceOf>> Watch CalculatorWatch sW1291:Watch
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
:WatchUser :SimpleWatch :Time :TimeZone pressButton2() getTime() GMTTime() GMTTime() getTimeDelta()
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
BlinkHours Increment Hours Increment Minutes Increment Seconds
button1&2pressed button1&2pressed button2pressed button2pressed button2pressed
button1pressed
button1pressed
StopBlinking BlinkSeconds BlinkMinutes
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Administrator End User Client <<include>> <<include>> Software development Problem definition System development System operation Project Manager Developer
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
definition activity System development activity System
activity Problem
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
System specification Software Development document document Executable system document Lessons learned Market survey
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Software life cycle Process group Phase Work Product Task Resource Participant Time Money * * * * * *
consumes produces
Process Activity
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Process Project Exploration Allocation Design Process Validation installation Processs Operation & Initiation Process Concept Process System Process Requirements Process Process Implementation Verification & Processs Support
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Operation Requirement Software Preliminary Design Detailed Design System Analysis System Elicitation Requirements Analysis Requirements Implementation Test Unit & Test Component Integration & Test Integration Acceptance Client
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Composite * leaves Leaf Component
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Compiler Optimizer create() generateParseTree() Parser compile(s) CodeGenerator create() ParseTree create() Compiler getToken() Lexer
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003
Lecture 2: Software Lifecycle and Team Programming January 21, 2003