TWiki> CS211 Web>CS211F18>LabsF18 (2018-12-03, Main.troy)EditAttach

CS 211 - Fall 2018

Lab Exercises Page

Lab 14

Lab 13

  • Do to the Weather Conditions, you can do this lab outside of Lab Time and submit it via Gradescope
    • labexercise13v2.pdf
    • Gradescope is accepting submissions until Wednesday at 11:59pm
      • Actually until 2am on Thursday for those that procrastinate and need 2 more hours
  • This lab will use the Unit Testing Framework called TinyTest which can be found at:
  • Discussion of the Unit Testing Framework and Intro to the Lab
  • lab13.zip - Contains all of the files needed for the lab in one zip file
  • The individual files
    • Point2d.cpp - The source code file for the class being tested
    • Point2d.h - The header file for the class being tested
    • tinytest.h - The KEY FILE that contains the Testing Framework
    • Point2dTest.cpp - The "Testing Code" that does the testing on the Point2d class
    • makefileLab13 - The makefile to compile the testing code
      • Should be renamed to: makefile
      • The important target is Point2dTest. Created by typing either of the following:
    • lab13.cpp - The "Production Code" that uses the uses the Point2d class (very unimportant to this lab and nearly the duplicate of lab10.cpp)

Lab 12

Lab 11

Lab10

  • lab10a.cpp - Code for Q 2, 3 and 4
  • Code to show Class Composition/Aggregation/has-a relationship (reusing the Point2d class from lab 8)

Lab 9

Lab 8

Lab 7

Lab 6

Lab 5

Lab 4

  • lab4a.c - Code for Questions 1 - 2
  • lab4b.c - Code for Questions 3 - 5
  • lab4c.c - Code for Questions 6 - 10

Lab 3

Lab 2
  • lab2a.c - Code for Questions 1 - 5
  • lab2b.c - Code for Questions 6 - 10

Lab 1

  • lab1a.c - Code for Questions 1 - 5
  • lab1b.c - Code for Questions 6 - 10
Topic attachments
I Attachment Action Size Date Who Comment
PDFpdf CS_211_-_Lab_13.pdf manage 135.3 K 2018-11-26 - 05:55 UnknownUser  
C source code filecpp MyDate.cpp manage 1.1 K 2018-10-26 - 18:45 UnknownUser  
Header fileh MyDate.h manage 0.3 K 2018-10-26 - 18:45 UnknownUser  
C source code filecpp MyDateMain.cpp manage 1.9 K 2018-10-28 - 15:32 UnknownUser  
C source code filecpp Point2d.cpp manage 2.0 K 2018-11-26 - 05:31 UnknownUser  
Header fileh Point2d.h manage 1.6 K 2018-11-26 - 05:32 UnknownUser  
C source code filecpp Point2dTest.cpp manage 2.8 K 2018-11-26 - 05:32 UnknownUser  
C source code filecpp Point3d.cpp manage 1.1 K 2018-11-15 - 23:35 UnknownUser  
Header fileh Point3d.h manage 0.8 K 2018-11-16 - 21:48 UnknownUser  
C source code filec bjOriginal.c manage 5.0 K 2018-10-11 - 21:46 UnknownUser  
PDFpdf gdb_walkthrough_lab6.pdf manage 204.5 K 2018-10-08 - 03:04 UnknownUser  
C source code filecpp lab10a.cpp manage 1.3 K 2018-11-04 - 02:18 UnknownUser  
C source code filecpp lab10b.cpp manage 3.8 K 2018-11-05 - 17:02 UnknownUser  
C source code filecpp lab11.cpp manage 3.6 K 2018-11-12 - 16:25 UnknownUser  
C source code filecpp lab11List.cpp manage 0.9 K 2018-11-10 - 17:20 UnknownUser  
Header fileh lab11List.h manage 0.7 K 2018-11-10 - 17:20 UnknownUser  
C source code filecpp lab11Main.cpp manage 2.1 K 2018-11-12 - 16:25 UnknownUser  
C source code filecpp lab12a.cpp manage 0.8 K 2018-11-15 - 23:34 UnknownUser  
C source code filecpp lab12b.cpp manage 7.2 K 2018-11-16 - 21:48 UnknownUser  
C source code filecpp lab13.cpp manage 3.2 K 2018-11-26 - 05:31 UnknownUser  
Compressed Zip archivezip lab13.zip manage 5.9 K 2018-11-26 - 05:31 UnknownUser  
C source code filecpp lab14.cpp manage 3.1 K 2018-12-03 - 17:36 UnknownUser  
C source code filec lab1a.c manage 1.0 K 2018-08-31 - 03:42 UnknownUser  
C source code filec lab1b.c manage 0.6 K 2018-08-31 - 03:42 UnknownUser  
C source code filec lab2a.c manage 1.1 K 2018-09-07 - 02:51 UnknownUser  
C source code filec lab2b.c manage 2.4 K 2018-09-07 - 02:51 UnknownUser  
C source code filec lab3.c manage 3.2 K 2018-09-14 - 01:10 UnknownUser  
C source code filec lab4a.c manage 0.9 K 2018-09-20 - 20:32 UnknownUser  
C source code filec lab4b.c manage 0.9 K 2018-09-20 - 20:32 UnknownUser  
C source code filec lab4c.c manage 1.3 K 2018-09-20 - 20:32 UnknownUser  
C source code filec lab5.c manage 6.1 K 2018-09-27 - 12:09 UnknownUser  
C source code filec lab6.c manage 6.2 K 2018-10-04 - 19:31 UnknownUser  
C source code filec lab7.c manage 3.9 K 2018-10-11 - 21:46 UnknownUser  
C source code filecpp lab8a.cpp manage 4.3 K 2018-10-22 - 14:32 UnknownUser  
C source code filecpp lab8b.cpp manage 2.5 K 2018-10-22 - 14:32 UnknownUser  
C source code filec lab9a.c manage 0.9 K 2018-10-26 - 18:44 UnknownUser  
C source code filecpp lab9a.cpp manage 0.9 K 2018-10-26 - 18:45 UnknownUser  
C source code filecpp lab9b.cpp manage 3.0 K 2018-10-28 - 15:32 UnknownUser  
C source code filecpp lab9c.cpp manage 4.6 K 2018-10-26 - 18:45 UnknownUser  
PDFpdf labexercise1.pdf manage 21.8 K 2018-08-31 - 03:42 UnknownUser  
PDFpdf labexercise13v2.pdf manage 32.3 K 2018-11-26 - 06:42 UnknownUser  
PDFpdf labexercise3memoryPicture.pdf manage 25.6 K 2018-09-17 - 03:07 UnknownUser  
PDFpdf labexercise7makeInfo.pdf manage 22.6 K 2018-10-11 - 21:43 UnknownUser  
C source code filec linkedflawed.c manage 1.2 K 2018-10-04 - 19:31 UnknownUser  
PDFpdf make_discussion.pdf manage 393.7 K 2018-10-12 - 14:45 UnknownUser  
Unknown file formatEXT makefileLab10b manage 0.2 K 2018-11-04 - 02:18 UnknownUser  
Unknown file formatEXT makefileLab11 manage 0.2 K 2018-11-10 - 17:20 UnknownUser  
Unknown file formatEXT makefileLab12a manage 0.3 K 2018-11-15 - 23:34 UnknownUser  
Unknown file formatEXT makefileLab13 manage 1.6 K 2018-11-26 - 05:31 UnknownUser  
Unknown file formatEXT makefileLog manage 0.7 K 2018-10-15 - 16:28 UnknownUser  
Unknown file formatEXT makefileMyDate manage 0.2 K 2018-10-26 - 18:45 UnknownUser  
Texttxt mazedata1.txt manage 0.1 K 2018-10-04 - 19:31 UnknownUser  
C source code filec mazeflawed.c manage 2.1 K 2018-10-04 - 19:31 UnknownUser  
Header fileh tinytest.h manage 3.2 K 2018-11-26 - 05:32 UnknownUser  
Topic revision: r27 - 2018-12-03 - 17:36:36 - Main.troy
 
Copyright 2016 The Board of Trustees
of the University of Illinois.webmaster@cs.uic.edu
WISEST
Helping Women Faculty Advance
Funded by NSF