Mid-list operations

Individual Post-Class Exercises
  1. Lesson Setup

    1. Start-of-lecture Slides   (Required)
    2. Midterm Study Guide (Technically not required, but I'd highly recommend that you read it :)  )
    3. Please use this link to access the repo with the 'Starter' project for lesson 05 PCEs (VS 2017/2019)

    4. Watch the online videos for this lesson and demonstrate your knowledge (Hand-In)
      You can download a .ZIP of all the videos for this lesson from Microsoft's OneDrive website by opening the folder (click this link to open the folder), then clicking on the "Folder Actions" menu, then clicking on the "Download Folder" menu item.

      • Starter File for outlining this lesson's videos

      • Viewing Quiz

      • WHICHEVER FILE YOU CHOOSE MAKE SURE THAT YOU ADD IT TO YOUR GIT REPO!!!
        Since you're handing in all your work through git/GitHub this week you'll need to add your Viewing Quiz/Video Outline to your GitHub repo.
        You can do this through Visual Studio or through GitHub.com directly - as long as it gets handed in either way is fine

  2. Linked Lists: A Pattern For Interacting With The Entire List

    1. VIDEO:
      OneDrive: Linked List Schema: Traversal
      DropBox:
      Linked List Schema: Traversal 
    2. Exercise: Strategies for LL: Traversing A Linked List (Print, Find, PrintAllMatching)
      (Note: Several of these methods have been modified to use exception handling.  Please ask for help ASAP if you think that you've found something wrong with these modifications)
  3. Linked Lists: Interacting With A Specific Node(s) In The List

    1. VIDEO:  
      OneDrive: Linked Lists: InsertAt
      DropBox: Linked Lists: InsertAt
    2. Exercise: LL: Insert At Location (Hand-In)
    3. VIDEO:
      OneDrive: Linked Lists: RemoveAt
      DropBox: Linked Lists: RemoveAt
    4. Exercise: LL: Remove At Location (Hand-In)
    5. Exercise: LL: Running time (Hand-In)
    6. Exercise: LL: Insert by value, in order
    7. Exercise: LL: Remove by value, in order
  4. Linked Lists: Clone

    1. VIDEO:
      OneDrive: Linked Lists: Notes on Clone
      DropBox: Linked Lists: Notes on Clone
    2. Exercise: Strategies for LL: Clone
      (Read this over and think about it - we'll go through it in class together) 
  5. Last Steps

    1. Hand in your work:
      Starting with this lesson you must hand in your work via GitHub.

      1. Don't forget to commit your Viewing Quiz/Video Outline to your repo on GitHub.com
        Since you're handing in all your work through git/GitHub this week you'll need to add your Viewing Quiz/Video Outline to your GitHub repo.
        You can do this through Visual Studio (and then push it) or through GitHub.com directly - as long as it gets handed in either way is fine

      2. Create and commit a file which tells me your name
        Please create a text file in Visual Studio (or NotePad/Text Editor/etc) and please name the file LASTNAME, FIRSTNAME.txt, where LASTNAME is replaced with your last name and FIRSTNAME is replaced with your first name (based on how you registered at Cascadia).
        This will enable me to know who you are even if it's not clear from your GitHub username.

      3. You do NOT need to hand in an INSTRUCTORFEEDBACK.docx file when handing in work via GitHub.
        It doesn't hurt if you do so feel free to do so if you'd like to.
        I'm going to ignore any that are there.

    2. How to get your feedback from GitHub:

      For the weekly exercises that you submit through GitHub you'll need to open an .HTML file to see your feedback.
      We can't do this directly in GitHub so you'll need to download it first, and then open it on your local computer.

      • You should see a file a name similar to  "<YourName>, -, PCE 05, 2020-05-07_06-11-28.html" in your repo.
        Click on this to open it in GitHub.
      • Once you're on the page for the .HTML file find the 'Download' button (on the right side, near-ish to the top)
      • Download it and open it in a browser you should be able to see the feedback.
    3. 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.
    4. 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

Videos recorded during class (of the In-Class Exercises):