The tasks listed here should take you approximately 180 minutes total.
To start this assignment:
- Click the button in the upper right-hand corner that says Fork. This is now your copy of this document.
- Click the Edit button when you're ready to start adding your answers.
- To save your work, click the green button in the bottom right-hand corner. You can always come back and re-edit your gist.
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.
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.
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.
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
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.