[Skip Navigation] [CSUSB] / [CNS] / [CSE] / [R J Botting] / [CSE201] / 16
[Text Version] [Syllabus] [Schedule] [Glossary] [Labs] [Projects] [Resources] [Grading] [Contact] [Search ]
Notes: [01] [02] [03] [04] [05] [06] [07] [08] [09] [10] [11] [12] [13] [14] [15] <16> [17] [18] [19] [20]
Labs: [01] [02] [03] [04] [05] [06] [07] [08] [09] [10]
Thu Apr 18 16:26:16 PDT 2013
Opening the PDF files on this page may require you to download Adobe Reader or an equivalent viewer (GhostScript).

Contents


    cs201/16 Unified Modeling Language

      Previous -- multifile programs

      [ 15.html ]

      First UML diagrams [ Card.uml.jpg ] [ Account2013Winter.JPG ] (from the teachers iPod).

      Project 7 Due at start of class

      [ projects.html#P7 ]

      Introduction to the Unified Modelling Language

      Key point -- engineers draw their devices and circuits before they have them built. Here [ ../EngineersSketchBookP49.gif ] is a page from a book of mechanical movements -- Appliances, Devices, Contrivances, &c., &c. by Thomas Walter Barber 1890.

      For more follow links in this page [Barber90] (bibliography).

      The UML is designed to allow software developers notations that do the same thing as Engineering Drawing does for older forms of engineering.

      Study UML Handout

      [ uml.html ] (HTML for browser) or [ uml.pdf ] (PDF for ereader).

      Review Questions

      At the end of the reading. Do as many as you can and then hand in one question and answer.

      Note on UML in the text

      The book has a whole chapter 23 on the UML and object-oriented design. It goes way beyond what we need in CS201 and has some errors. Please ignore.

      Example of a library of Classes

      [ ccc.html ]

      Exercise: how do you summarise all this into a simple diagram?

      Exercises on the UML

      Draw a class given the C++ code... [ magic.h ]

      Given the UML class diagram of a single class... write the declaration in C++.

      Quiz 7 on Classes and some UML

      TBA

      Lab 08

      [ lab08/ ]

      Next -- Vectors

      When you don't know how much data to store ahead of time...

      Guide [ 17.html ] and Handout [ vectors.html ]

    Abbreviations

  1. Algorithm::=A precise description of a series of steps to attain a goal, [ Algorithm ] (Wikipedia).
  2. Class::=A description of a type of object that includes the data it knows and the functions it can execute.
  3. Function::programming=A selfcontained and named piece of program that knows how to do something.
  4. Gnu::="Gnu's Not Unix", a long running open source project that supplies a very popular and free C++ compiler.
  5. OOP::="Object-Oriented Programming", Current paradigm for programming.
  6. Semantics::=Rules determining the meaning of correct statements in a language.
  7. SP::="Structured Programming", a previous paradigm for programming.
  8. Syntax::=The rules determining the correctness and structure of statements in a language, grammar.
  9. Q::software="A program I wrote to make software easier to develop",
  10. TBA::="To Be Announced", something I should do.
  11. TBD::="To Be Done", something you have to do.
  12. UML::="Unified Modeling Language", industry standard design and documentation diagrams.
  13. void::C++Keyword="Indicates a function that has no return value".

( End of document ) <<Contents | Top