home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / edu / 2275 < prev    next >
Encoding:
Internet Message Format  |  1993-01-05  |  1.7 KB

  1. Xref: sparky comp.edu:2275 comp.software-eng:5212
  2. Path: sparky!uunet!news.larc.nasa.gov!grissom.larc.nasa.gov!kludge
  3. From: kludge@grissom.larc.nasa.gov (Scott Dorsey)
  4. Newsgroups: comp.edu,comp.software-eng
  5. Subject: Re: Class Project For Software Engineering Course
  6. Date: 5 Jan 1993 02:05:41 GMT
  7. Organization: NASA Langley Research Center and Reptile Farm
  8. Lines: 22
  9. Message-ID: <1iaqdlINN8ac@rave.larc.nasa.gov>
  10. References: <1ia3e0INN9m5@aludra.usc.edu> <1993Jan4.162437.19108@hemlock.cray.com> <C0CxvL.G3r@cs.uiuc.edu>
  11. NNTP-Posting-Host: grissom.larc.nasa.gov
  12.  
  13. How about a two part project:
  14.  
  15. A. Give the students a big piece of code.  Something huge and monolithic,
  16.    with lots of GOTO statements, single-letter variables, memory overlays,
  17.    and odd use of arrays (writing past array bounds to modify scalar
  18.    variables, etc.).  You know the kind of code I mean.  Everybody has some
  19.    somewhere (and if you don't, I'll be happy to give you some).  Assign
  20.    groups of two or three people their own part of the program.  Tell them
  21.    about some problems with the code, and ask them to fix them.
  22.  
  23. B. Three weeks later, when they have not accomplished anything, give them
  24.    a definition of how the program is supposed to work and ask them to
  25.    write one.  Again, each group will be in charge of a small portion, but
  26.    they don't have to be the same ones (because the program structure will
  27.    probably be completely different).
  28.  
  29. This will definitely be one of the better teaching exercises.  I see a whole
  30. lot of folks who graduate and are shocked when they enter the real world and
  31. see how bad some of the code out here is.  Let them know that it can be
  32. amazingly bad, and then show them that it doesn't have to be.  Lead the
  33. fight against cryptic code.
  34. --scott
  35.