[Skip Navigation] [CSUSB] / [CNS] / [CSE] / [R J Botting] /[CS320 Course Materials] [Text Version] lab/14.html Tue May 14 16:06:41 PDT 2013
Labs: [01] [02] [03] [04] [05] [06] [07] [08] [09] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]

Contents


    CS320 Laboratory Number 14 ADTS

      Check out New things on the Course Web Page

      [ http://cse.csusb.edu/dick/cs320/ ]

      Goal

      To get a better grip on ways of expressing abstract data types -- -- --(ADT)

      Givens -- download

    1. The specification or interface for an ADT [ istack.h ]
    2. A unit test main program [ test.stack.cpp ]
    3. A "fill in the blank" starter file [ stack.cpp ]

      Process

      Create an implementation file stack.cpp (do not use a different name) that passes the tests and fits the specification. It should #include "istack.h". Do not change the given files in any way.

      Test your stack.cpp by compiling and running test.stack.cpp.

      Use any development tools you like and any data structures you like.

      Keep it simple because you only have 50 minutes!

      Deliverables

      A page that describes the problem (include the above links), a link to your solution, and a paragraph of what you learned.

      Format -- use an HTML table of links


      Table
      PurposeLink
      Specification/interface [ istack.h ]
      Unit Test [ test.stack.cpp ]
      Implementation [ stack.cpp ]

      (Close Table)

      Reference

      [ stack.html ]

      Comments

      You can add comments to this web page.

    . . . . . . . . . ( end of section CS320 Laboratory Number 15 ADTS) <<Contents | End>>

    Check the Preparation for next class

    [ ../15.html ]

( End of document ) <<Contents | Top