Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save vladd-png/582aa604a49775e7dcd01708388961a9 to your computer and use it in GitHub Desktop.
Save vladd-png/582aa604a49775e7dcd01708388961a9 to your computer and use it in GitHub Desktop.
Mod 0 Session 4 Assignments

Session 4 Practice tasks:

The tasks listed here should take you approximately 180 minutes total.

To start this assignment:

  1. Click the button in the upper right-hand corner that says Fork. This is now your copy of this document.
  2. Click the Edit button when you're ready to start adding your answers.
  3. To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.

Assignment 1 (120 min)

Mock Mod 0 Assessment

This assignment will allow you to practice git, github, top down design and oop. It is meant to be prep for the mod 0 assessment.

To Start, create a directory called, mod0_mock_assessment. In that directory, create three files: top-down-design.txt, classes.txt, and instances.txt (you can also use markdown files, but only if you're really confident in your skills).

Initialize git, add your changes, and make your initial commit. Create a mod0_mock_assessment repository in github and link your local repository with that remote one.

Notating Top-Down Design

Inside of your top-down-design.txt file, pick one of the tasks below to divide into sub tasks. Try to make at least 20 to 30 tasks and subtasks in total. Break things down to their most basic pieces.

  • Doing Laundry
  • Making a sandwich
  • Tying your shoes

NOTE Make sure to use the same format we did in session 4. Pay attention to detail

When you are finished, add another commit, and push your changes to github.

Notating Classes

Inside of your classes.txt file, pick at least one of the classes below and define 5 attributes and 4 methods for that class. Make sure that your methods either change an attribute, or utilize attributes for calculation or display purposes.

  • Child
  • Chair
  • Plant
  • Boat
  • Dog

NOTE Make sure to use the same format we did in session 4. Pay attention to detail

When you are finished, add another commit, and push your changes to github.

Notating Instances

Inside of your instances.txt file, create at least 2 instances for each class you defined in your classes.txt file.

NOTE Make sure to use the same format we did in session 4. Pay attention to detail

When you are finished, add another commit, and push your changes to github.

  • Paste the link to your mod0_mock_assessment repo here:

https://github.com/vladd-png/mod0_mock_assessment

Task 2: How do Git and GitHub work? (60 min)

Use about half of a blank sheet of paper to draw out a diagram that shows how you understand the git workflow. Then, use the other half to show how this workflow fits with GitHub.

  • Post this diagram on the Mod 0 Slack channel.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment