Lesson 08

File I/O

Individual Post-Class Exercises
  1. Lesson Setup

    1. Start-of-lecture Slides   (Required)

    2. Starter' project for Visual Studio 2015

    3. Watch the online videos for this lesson and demonstrate your knowledge (Hand-In)
      There is no way to download all the videos at once for this lesson.  You may follow each of the VIDEO links below and download each video individually, if you'd like.

  2. File I/O: Input

    1. VIDEO: File I/O (Input) In C#

      1. Direct link to the 'Input' PowerPoint slides (without all the video, etc)

    2. Exercise: Averaging numbers in a file

    3. Exercise: Finding a word in a file of textual tokens (Hand-In)

    4. Exercise: Searching for a name (Hand-In)  

  3. File I/O: Output

    1. VIDEO: File I/O (Output) In C#

      1. Direct link to the 'Output' PowerPoint slides (without all the video, etc)

    2. Exercise: Printing a range of numbers into a file (Hand-In)

    3. Exercise: Finding maximums within a file (Hand-In)

  4. Final Steps

    1. Web Hand-In for post-class exercises and for homework:
      Go to the StudentTracker  web app, and create an account for yourself, and then "enroll" in the course.
      Please submit a .ZIP (and ONLY a .ZIP - not a .RAR, .7z, etc) that contains the Program.cs file, the video outline/viewing quiz .DOCX (or .PDF), any other files you wish to include, and leaves out every thing else (as much as possible).

    2. Make sure that you're working on the next homework assignment. 
      Details are listed on the
      homework assignment page
      The due date is listed on the main page.
    3. Practice what you've learned
      Remember that in order to really learn this stuff you're going to need to practice it.  Go back and redo the exercises from this lesson until you've really got it down.  Go back to the prior lesson(s) and review and redo that.  Make sure that you've really got this stuff in your head (and remember that it gets easier each time you redo the work)!
 
In-Class Materials:

These materials are used by students in the hybrid class during leture time.  Online students can safely ignore everything in this 'In Class Materials' box.

In-Class Materials:

Instructor's Materials:

  • Notes

  • Slides

After-class Materials: