Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andrewckinstler/9faa2608d2424aa6e956f81d1bdd33c9 to your computer and use it in GitHub Desktop.
Save andrewckinstler/9faa2608d2424aa6e956f81d1bdd33c9 to your computer and use it in GitHub Desktop.
Mod 0 Session 4 Readings and Responses

Session 4 Readings and Responses

The readings and responses listed here should take you approximately 50 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 (30 min)

Read David's article on Git and GitHub

  • Use the article and outside resources (Google!) to describe the general process of a collaborative git workflow in the space below. GitHub works as a central repository to store your code. In a collaborative environment it works through a series of pushes and pulls that developers can make changes to and push back into the central repositories with snapshots of previous versions. If a developer wants to change the code they will pull it from GitHub to their local machine, make their changes, add the file to Git, commit it, and then push it back into GitHub with notation of their changes.

Assignment 2: OOP and Bottles (12 min)

  • Watch this video. Then choose your own real-world class and objects of that class. In the space below, define and name the attributes and methods for your class and the associated objects. Class: Hats Instances: Cowboy, Baseball, Beanie Attributes: Color, size, material Methods: All hats can be worn, thrown, and be used to change your body tempurature.

Assignment 3 (60 min)

Skim this intro to Markdown. It's not necessary to memorize because you can always come back to it as a reference.

Next, create a new gist of your own by clicking the New Gist button in the upper right-hand corner of the screen. Create a "Beginners Guide to Git" documenting your git knowledge so far using Markdown. Incorporate each of the following features into your Gist:

  • at least two headings of different sizes

  • at least one numbered list

  • at least one bullet point list

  • at least one bold word/phrase

  • at least one italic word/phrase

  • at least one code block

  • at least one inline code block (greyed text)

  • at least one image

  • Paste the link to your gist here: My Gist

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment