csc 309 lecture notes week 1 introduction to the course
play

CSC 309 Lecture Notes Week 1 Introduction to the Course - PowerPoint PPT Presentation

CSC309-S15-L1 Slide 1 CSC 309 Lecture Notes Week 1 Introduction to the Course Introduction to the Design Process CSC309-S15-L1 Slide 2 I. First-day handouts A. Syllabus B. Milestone 1, including 1. SCO format 2. work breakdown format 3.


  1. CSC309-S15-L1 Slide 1 CSC 309 Lecture Notes Week 1 Introduction to the Course Introduction to the Design Process

  2. CSC309-S15-L1 Slide 2 I. First-day handouts A. Syllabus B. Milestone 1, including 1. SCO format 2. work breakdown format 3. meeting minutes format

  3. CSC309-S15-L1 Slide 3 Syllabus Review Page 1: • Instructor • Course Objectives • Class Materials • Activities

  4. CSC309-S15-L1 Slide 4 Syllabus Review, Cont’d Page 2: • Project Milestones • Evaluations

  5. CSC309-S15-L1 Slide 5 Syllabus Review, Cont’d Page 3: • Bi-Weekly Activity Reports • How to Submit Project Work • Team Work • Computer Work

  6. CSC309-S15-L1 Slide 6 Syllabus Review, Cont’d Page 4: • Lecture, Lab, Milestone & Exam Schedule

  7. CSC309-S15-L1 Slide 7 Milestone 1

  8. CSC309-S15-L1 Slide 8 Milestone 1 1. Form teams.

  9. CSC309-S15-L1 Slide 9 Milestone 1 1. Form teams. 2. Select project.

  10. CSC309-S15-L1 Slide 10 Milestone 1 1. Form teams. 2. Select project. 3. Read specs.

  11. CSC309-S15-L1 Slide 11 Milestone 1 1. Form teams. 2. Select project. 3. Read specs. 4. Write initial SCOs.

  12. CSC309-S15-L1 Slide 12 Milestone 1 1. Form teams. 2. Select project. 3. Read specs. 4. Write initial SCOs. 5. Define initial levels of completion.

  13. CSC309-S15-L1 Slide 13 Milestone 1 1. Form teams. 2. Select project. 3. Read specs. 4. Write initial SCOs. 5. Define initial levels of completion. 6. Determine initial work breakdown.

  14. CSC309-S15-L1 Slide 14 Milestone 1 1. Form teams. 2. Select project. 3. Read specs. 4. Write initial SCOs. 5. Define initial levels of completion. 6. Determine initial work breakdown. 7. Install admin templates.

  15. CSC309-S15-L1 Slide 15 Milestone 1 1. Form teams. 2. Select project. 3. Read specs. 4. Write initial SCOs. 5. Define initial levels of completion. 6. Determine initial work breakdown. 7. Install admin templates. 8. Create project repository, release.

  16. CSC309-S15-L1 Slide 16 Milestone 1 1. Form teams. 2. Select project. 3. Read specs. 4. Write initial SCOs. 5. Define initial levels of completion. 6. Determine initial work breakdown. 7. Install admin templates. 8. Create project repository, release. 9. Consider implementation platform.

  17. CSC309-S15-L1 Slide 17 M1, Task 1 -- Form Project Team • In lab today. • You may change teams & projects. • Admin tasks: a. Exchange contact info. b. Determine meeting times. c. Elect officers

  18. CSC309-S15-L1 Slide 18 M1, Task 2 -- Select a Project • EClass, Grader, Scheduler, TestTool • From last quarter, and/or before. • We’ll discuss in lab today and Wed.

  19. CSC309-S15-L1 Slide 19 M1, Task 3 -- Read the specs. • Goto 308 specs link. • Look for a. important features missing b. features not spec’d clearly c. features that could be "better" d. how to merge features, if appro e. models inconsistent with scenarios

  20. CSC309-S15-L1 Slide 20 M1, Task 4 -- Initial SCO’s • Choose a base spec. • Add features as appropriate from other specs

  21. CSC309-S15-L1 Slide 21 M1, Task 5 -- Levels of completion: • LEVEL 1: fully design and fully implement • LEVEL 2: fully design but no implementation • LEVEL 3: provide design hooks

  22. CSC309-S15-L1 Slide 22 M1, Task 6 -- Initial Work Breakdown • For high-level design phase • Will refine as quarter progresses

  23. CSC309-S15-L1 Slide 23 M1, Task 7 -- Fill in Templates • In handouts dir: ο scos-template.html ο work-breakdown-template.html ο meeting-minutes-template.html • Commit to repository when ready

  24. CSC309-S15-L1 Slide 24 M1, Task 8 -- Repository • Librarian creates repository. • Template filler inners commit. • Librarian releases by 7PM Monday 9 January.

  25. CSC309-S15-L1 Slide 25 M1, Task 9 -- Imple’n Platform? • Consider what you’d like to use. • Instructor component must be desktop app • Students can use web app • Java recommended, Python an alternative

  26. CSC309-S15-L1 Slide 26 II. Milestone 2 Discussion A. See the writeup. B. We’ll go over key points in class.

  27. CSC309-S15-L1 Slide 27 Milestone 2, cont’d C. Objectives: 1. Package design 2. Model/View class design 3. Initial implementation of model/view communication

  28. CSC309-S15-L1 Slide 28 Milestone 2, cont’d D. Deliverables 1. Package structure 2. overview.html 3. package.html s 4. Compilable model and view classes

  29. CSC309-S15-L1 Slide 29 Milestone 2, cont’d 5. Menubar or equivalent top-level UI 6. At least two model/view class integrations 7. Javadoc (pydoc) commentary for all

  30. CSC309-S15-L1 Slide 30 Milestone 2, cont’d 8. admin/m2-duties.html 9. admin/work-breakdown.html 10. HOW-TO-RUN.html 11. Generated javadoc, or equiv 12. A runnable .jar file, or equiv

  31. CSC309-S15-L1 Slide 31 III. Review of software systems life cycle. CSC 308 Analyze Problem Statement Specify CSC 309 Design Problem Solution Implement

  32. CSC309-S15-L1 Slide 32 Life Cycle, cont’d A. Requirements Analysis determines what end users want and need. B. Specification formally defines user requirements. C. Design defines and organizes operational parts. D. Implementation defines operational details.

  33. CSC309-S15-L1 Slide 33 IV. Review of requirements analysis and specification phases A. What the system does as opposed to how it works . B. The domain of CSC 308.

  34. CSC309-S15-L1 Slide 34 Review of requirements, cont’d C. In 309, we’ll work on EClass, Grader, TestTool 1. from last quarter 2. and/or from previous quarters 3. we’ll discuss in week 1 lab

  35. CSC309-S15-L1 Slide 35 Review of requirements, cont’d D. 308 specs located at: http://wwww.csc.calpoly.edu/ ˜gfisher/classes/309/specs

  36. CSC309-S15-L1 Slide 36 V. Major goals of the design process A. Adhere to the specification 1. Any deviation in a SCO 2. The spec + SCOs form binding contract 3. No changes without consulting customer

  37. CSC309-S15-L1 Slide 37 Goals of design, cont’d B. Achieve design quality goals: 1. Tr aceability 2. Modularity 3. Portability 4. Maintainability 5. Reusability

  38. CSC309-S15-L1 Slide 38 VI. 309 design process

  39. CSC309-S15-L1 Slide 39 from SCO if Requirements Spec necessary Design Design for High-Level Non-Functional Architecture Requirements Formally Specify Apply Design Design Patterns Refine Apply Model and Process Design Heuristics Design Refine Define SCOs User Interface as Necessary Design to Implementation

  40. CSC309-S15-L1 Slide 40 Derive A. Design High-Level Architecture Packaging from Modules from Requirements Spec Derive Derive Initial Model Classes Design from from Objects Specification Design High-Level Architecture Derive Design Inter-Package Model Functions Sharing and from Operations Communication Derive View Classes from User Interface ...

  41. CSC309-S15-L1 Slide 41 B. Apply Design Patterns Apply Architectural Design Patterns Apply Design Patterns Apply MVP Design Pattern ...

  42. CSC309-S15-L1 Slide 42 Associate Functions with Classes C. Refine Refine Model Class Design M & P Objectify Function Signatures Refine Model Class Design Refine Model and Process Define Design Member Visibility Design Process Packages and Classes Define Inheritance and Other Relations Design Control Flow Choose Appropriate Data Representations

  43. CSC309-S15-L1 Slide 43 Design process, cont’d D. Refine UI Design 1. The fourth step. 2. Relies heavily on libraries. 3. Commonly-used interface elements and layouts. 4. Model classes must be refined. 5. Particularly useful is "Observer/Observable".

  44. CSC309-S15-L1 Slide 44 Design process, cont’d E. Design for Non-Functional Requirements 1. Any non-functionals not yet incorporated. 2. Ensure system-related non-functionals are fully addressed.

  45. CSC309-S15-L1 Slide 45 Design process, cont’d F. Formally Specify Design 1. As detailed program design established. 2. Precise def of function signatures and pre/post. 3. Derived from pre/posts defined in ops.

  46. CSC309-S15-L1 Slide 46 Design process, cont’d G. Apply Design Heuristics 1. Applied throughout the process. 2. Minimizing coupling. 3. Maximizing cohesion. 4. Other heuristics, such as controlling size.

  47. CSC309-S15-L1 Slide 47 Design process, cont’d H. Define SCOs and Iterate Back 1. Aspects of requirements spec may need to be modified or enhanced. 2. Designer defines a specification change order . 3. In keeping with our "traditional" process.

  48. CSC309-S15-L1 Slide 48 VII. Comments on the 309 Design Process A. Employs a number of design methodologies: 1. UML 2. "Classical" structured design techniques. 3. MVP (Model-View-Process), (aka, MVC -- Model-View-Controller),

  49. CSC309-S15-L1 Slide 49 Design process comments, cont’d B. Works for systems with substantial HCIs. C. Also for types of system, with adjustments. D. Types of system without significant HCI: 1. Realtime systems 2. Utility systems 3. Embedded systems

  50. CSC309-S15-L1 Slide 50 VIII. Languages of specification and design. A. Sometimes problems in translation from spec language into imple’n language. B. Spec lang may differ from prog lang. C. Not the case in 309 this year.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend