Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save eoneill23/a851e660952b25f16daed548f97de038 to your computer and use it in GitHub Desktop.

Select an option

Save eoneill23/a851e660952b25f16daed548f97de038 to your computer and use it in GitHub Desktop.

Revisions

  1. eoneill23 revised this gist Apr 8, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -118,4 +118,4 @@ export PS1="\u\w\`parse_git_branch\`$ "

    If you have any questions, comments, or confusions from the any of the readings that you would an instructor to address, list them below:

    1.
    1. All of these terms and concepts are brand new to me, so I am glad that I am gaining exposure to them now. I have some previous limited experience with HTML and CSS, but none with JavaScript, so it will take time and effort to become more comfortable with it.
  2. eoneill23 revised this gist Apr 8, 2019. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -50,14 +50,14 @@ Imagine that you're taking your favorite board game and turning it into a comput
    ### 3. Iteration (30 min)

    - [ ] Create a list below of **three real-life situations** where iteration is used. For each situation, explain why it would be an example of iteration.
    -
    -
    -
    - Choosing a pair of shoes to wear for the day. Choose the pair of shoes from the options, wear them, and then return them to your closet at the end of the day.
    - Performing chores around the house. Choose from the list of chores, complete them, and then return them until the next time they need to be completed.
    - Choosing a movie to watch. Select from the available titles, watch it, then return it.

    - [ ] Create a list below of **three programming situations** where iteration would be used. For each situation, explain why it would be an example of iteration.
    -
    -
    -
    - Paying employees. ["Mark", "Rachel", "Steve"] $10 for the x number of hours they worked.
    - Calculating the total cost of a shopping cart online shopping. Add the cost of each item in the cart and then return them.
    - Sending an automated thank you email. Pull the recipient's email address, name, and the pre-drafted text to populate the email and then send.

    ### 4. Modify your Bash Profile (10 min)

  3. eoneill23 revised this gist Apr 7, 2019. 1 changed file with 6 additions and 6 deletions.
    12 changes: 6 additions & 6 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -37,15 +37,15 @@ For example, if I have the following array for colors = ["desk","tree","purple",

    Imagine that you're taking your favorite board game and turning it into a computer-based game.

    - [ ] Name of board game: ______
    - [ ] Name of board game: Monopoly

    - [ ] Use the space below to categorize game data into each of the following data types. You should have a **minimum of two** pieces of data for each category.

    1. String data:
    1. Integer and/or float data:
    1. Boolean data:
    1. Array data:
    1. Hash or Object data:
    1. String data: Names of players, names of game pieces, names of properties
    1. Integer and/or float data: Money possessed by each player, money in the bank, dice numbers
    1. Boolean data: Player x's turn? Go to jail? Pass go? Collect $200?
    1. Array data: Order of turns, properties owned, number of each type of bill left in the bank
    1. Hash or Object data: {"property name": property value} {"hotel": property value x2}

    ### 3. Iteration (30 min)

  4. eoneill23 revised this gist Apr 7, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -28,9 +28,9 @@ For example, if I have the following array for colors = ["desk","tree","purple",

    - [ ] What did you Google to help you with this task, and how did you pick your results? I googled "Javascript array slice method" and searched through a few different results before settling on a result from javascripttutorial.net, which was published recently and had good information.

    - [ ] In your own words, what does the JavaScript object [values](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values) method do? As you're explaining, be sure to provide an example. Your answer:
    - [ ] In your own words, what does the JavaScript object [values](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values) method do? As you're explaining, be sure to provide an example. Your answer: The JavaScript object values method creates an array based on the object's values. For example, var colors = {0: "desk", 1: "tree" 2: "purple" 3: "green"}; console.log(Object.values(colors));//["desk","tree","purple","green"]

    - [ ] What did you Google to help you with this task, and how did you pick your results?
    - [ ] What did you Google to help you with this task, and how did you pick your results? Much like the other questions, I googled JavaScript object values method and filtered my results based on the publish date and the source, and wound up on the developer.mozilla.org page on object.values().


    ### 2. Data Types (15 min)
  5. eoneill23 revised this gist Apr 7, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -24,9 +24,9 @@ For example, if I have the following array for colors = ["desk","tree","purple",

    - [ ] What did you Google to help you with this task, and how did you pick your results? I Googled "Ruby string split method" and filtered results based on the publish date as well as the reliability of the source, ending up with a stackoverflow result.

    - [ ] In your own words, what does the JavaScript array [slice](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice) method do? As you're explaining, be sure to provide an example. Your answer:
    - [ ] In your own words, what does the JavaScript array [slice](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice) method do? As you're explaining, be sure to provide an example. Your answer: The JavaScript array slice method allows you to create a new array from an existing array without altering the original array. For example, ["desk","tree","purple","green"].slice(2) would return ["purple", "green"]

    - [ ] What did you Google to help you with this task, and how did you pick your results?
    - [ ] What did you Google to help you with this task, and how did you pick your results? I googled "Javascript array slice method" and searched through a few different results before settling on a result from javascripttutorial.net, which was published recently and had good information.

    - [ ] In your own words, what does the JavaScript object [values](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values) method do? As you're explaining, be sure to provide an example. Your answer:

  6. eoneill23 revised this gist Apr 7, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -22,7 +22,7 @@ For example, if I have the following array for colors = ["desk","tree","purple",

    - [ ] In your own words, what does the Ruby string [split](https://ruby-doc.org/core-2.4.0/String.html#method-i-split) method do? As you're explaining, be sure to provide an example. Your answer: The Ruby string split method cuts a string into pieces in a pre-determined method. For example, "desk tree purple green".split becomes ["desk","tree","purple","green"]

    - [ ] What did you Google to help you with this task, and how did you pick your results?
    - [ ] What did you Google to help you with this task, and how did you pick your results? I Googled "Ruby string split method" and filtered results based on the publish date as well as the reliability of the source, ending up with a stackoverflow result.

    - [ ] In your own words, what does the JavaScript array [slice](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice) method do? As you're explaining, be sure to provide an example. Your answer:

  7. eoneill23 revised this gist Apr 5, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -20,7 +20,7 @@ For example, if I have the following array for colors = ["desk","tree","purple",

    - [ ] What did you Google to help you with this task, and how did you pick your results? Like the first question, I searched "Ruby push method" and selected sources based on publish date and quality of the source.

    - [ ] In your own words, what does the Ruby string [split](https://ruby-doc.org/core-2.4.0/String.html#method-i-split) method do? As you're explaining, be sure to provide an example. Your answer:
    - [ ] In your own words, what does the Ruby string [split](https://ruby-doc.org/core-2.4.0/String.html#method-i-split) method do? As you're explaining, be sure to provide an example. Your answer: The Ruby string split method cuts a string into pieces in a pre-determined method. For example, "desk tree purple green".split becomes ["desk","tree","purple","green"]

    - [ ] What did you Google to help you with this task, and how did you pick your results?

  8. eoneill23 revised this gist Apr 5, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -16,9 +16,9 @@ For example, if I have the following array for colors = ["desk","tree","purple",

    - [ ] What did you Google to help you with this task, and how did you pick your results? I Googled a number of things, but what got me the most helpful results was "Ruby Array Drop Method." I picked my results based on publish date, reliability of the source (i.e. StackOverflow), etc.

    - [ ] In your own words, what does the Ruby array [push](https://ruby-doc.org/core-2.4.0/Array.html#method-i-push) method do? As you're explaining, be sure to provide an example. Your answer:
    - [ ] In your own words, what does the Ruby array [push](https://ruby-doc.org/core-2.4.0/Array.html#method-i-push) method do? As you're explaining, be sure to provide an example. Your answer: Essentially, the Ruby array push method allows an item to be added to the end of an array. For example, if I wanted to add a color to my array, I could write colors.push("Yellow") to add it to the end of my array.

    - [ ] What did you Google to help you with this task, and how did you pick your results?
    - [ ] What did you Google to help you with this task, and how did you pick your results? Like the first question, I searched "Ruby push method" and selected sources based on publish date and quality of the source.

    - [ ] In your own words, what does the Ruby string [split](https://ruby-doc.org/core-2.4.0/String.html#method-i-split) method do? As you're explaining, be sure to provide an example. Your answer:

  9. eoneill23 revised this gist Apr 4, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -14,7 +14,7 @@ Documentation of a langauge, framework, or tool is the information that describe

    For example, if I have the following array for colors = ["desk","tree","purple","green"], using colors.drop(2) would remove desk and tree from the array and return purple and green.

    - [ ] What did you Google to help you with this task, and how did you pick your results?
    - [ ] What did you Google to help you with this task, and how did you pick your results? I Googled a number of things, but what got me the most helpful results was "Ruby Array Drop Method." I picked my results based on publish date, reliability of the source (i.e. StackOverflow), etc.

    - [ ] In your own words, what does the Ruby array [push](https://ruby-doc.org/core-2.4.0/Array.html#method-i-push) method do? As you're explaining, be sure to provide an example. Your answer:

  10. eoneill23 revised this gist Apr 4, 2019. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,9 @@ Documentation of a langauge, framework, or tool is the information that describe

    **NOTE:** The linked documentation for each question below is a good starting place, but you should also be practicing your Googling skills and sifting through the results to find relevant and helpful sites.

    - [ ] In your own words, what does the Ruby array [drop](https://ruby-doc.org/core-2.4.0/Array.html#method-i-drop) method do? As you're explaining, be sure to provide an example. Your answer: The Ruby array drop method is used to remove a specified number of items from an array. It then returns the remaining elements in an array.
    - [ ] In your own words, what does the Ruby array [drop](https://ruby-doc.org/core-2.4.0/Array.html#method-i-drop) method do? As you're explaining, be sure to provide an example. Your answer: The Ruby array drop method is used to remove a specified number of items from an array and returns everything to the array other than the first n elements from the drop.

    For example, if I have the following array for colors = ["desk","tree","purple","green"], using colors.drop(2) would remove desk and tree from the array and return purple and green.

    - [ ] What did you Google to help you with this task, and how did you pick your results?

  11. eoneill23 revised this gist Apr 4, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ Documentation of a langauge, framework, or tool is the information that describe

    **NOTE:** The linked documentation for each question below is a good starting place, but you should also be practicing your Googling skills and sifting through the results to find relevant and helpful sites.

    - [ ] In your own words, what does the Ruby array [drop](https://ruby-doc.org/core-2.4.0/Array.html#method-i-drop) method do? As you're explaining, be sure to provide an example. Your answer:
    - [ ] In your own words, what does the Ruby array [drop](https://ruby-doc.org/core-2.4.0/Array.html#method-i-drop) method do? As you're explaining, be sure to provide an example. Your answer: The Ruby array drop method is used to remove a specified number of items from an array. It then returns the remaining elements in an array.

    - [ ] What did you Google to help you with this task, and how did you pick your results?

  12. @rwarbelow rwarbelow revised this gist Feb 18, 2019. 1 changed file with 0 additions and 2 deletions.
    2 changes: 0 additions & 2 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -47,8 +47,6 @@ Imagine that you're taking your favorite board game and turning it into a comput

    ### 3. Iteration (30 min)

    - [ ] On a blank sheet of paper, create a diagram that shows how you understand iteration working. Be detailed and get creative! When you're done, take a photo of your diagram and post it in the Mod 0 channel on Slack. Your instructor(s) will provide feedback in a thread. _(If you're feeling extra fancy, feel free to create your diagram using software instead of pencil and paper)_

    - [ ] Create a list below of **three real-life situations** where iteration is used. For each situation, explain why it would be an example of iteration.
    -
    -
  13. @rwarbelow rwarbelow revised this gist Feb 15, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -111,7 +111,7 @@ function parse_git_dirty {
    fi
    }
    export PS1="\u\w\`parse_git_branch\` $ "
    export PS1="\u\w\`parse_git_branch\`$ "
    ```

    ### 5. Questions/Comments/Confusions
  14. @rwarbelow rwarbelow revised this gist Feb 15, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -111,7 +111,7 @@ function parse_git_dirty {
    fi
    }
    export PS1="\u\w\`parse_git_branch\` "
    export PS1="\u\w\`parse_git_branch\` $ "
    ```

    ### 5. Questions/Comments/Confusions
  15. @rwarbelow rwarbelow revised this gist Feb 14, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -59,7 +59,7 @@ Imagine that you're taking your favorite board game and turning it into a comput
    -
    -

    ### 4. Modify your Bash Profile (15 min)
    ### 4. Modify your Bash Profile (10 min)

    - [ ] Watch [this video](https://drive.google.com/file/d/1s_CDBnxHSA0HDWldjosulthAvBi-C-d5/view?usp=sharing) and follow each step to modify your own bash profile. As mentioned in the video, you will need this snippet below:

  16. @rwarbelow rwarbelow revised this gist Feb 14, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -61,7 +61,7 @@ Imagine that you're taking your favorite board game and turning it into a comput

    ### 4. Modify your Bash Profile (15 min)

    - [ ] Watch [this video]() and follow each step to modify your own bash profile. As mentioned in the video, you will need this snippet below:
    - [ ] Watch [this video](https://drive.google.com/file/d/1s_CDBnxHSA0HDWldjosulthAvBi-C-d5/view?usp=sharing) and follow each step to modify your own bash profile. As mentioned in the video, you will need this snippet below:

    ```
    # get current branch in git repo
  17. @rwarbelow rwarbelow revised this gist Feb 14, 2019. 1 changed file with 52 additions and 1 deletion.
    53 changes: 52 additions & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -61,7 +61,58 @@ Imagine that you're taking your favorite board game and turning it into a comput

    ### 4. Modify your Bash Profile (15 min)

    - [ ] Watch [this video]() and follow each step to modify your own bash profile.
    - [ ] Watch [this video]() and follow each step to modify your own bash profile. As mentioned in the video, you will need this snippet below:

    ```
    # get current branch in git repo
    function parse_git_branch() {
    BRANCH=`git branch 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/'`
    if [ ! "${BRANCH}" == "" ]
    then
    STAT=`parse_git_dirty`
    echo "[${BRANCH}${STAT}]"
    else
    echo ""
    fi
    }
    # get current status of git repo
    function parse_git_dirty {
    status=`git status 2>&1 | tee`
    dirty=`echo -n "${status}" 2> /dev/null | grep "modified:" &> /dev/null; echo "$?"`
    untracked=`echo -n "${status}" 2> /dev/null | grep "Untracked files" &> /dev/null; echo "$?"`
    ahead=`echo -n "${status}" 2> /dev/null | grep "Your branch is ahead of" &> /dev/null; echo "$?"`
    newfile=`echo -n "${status}" 2> /dev/null | grep "new file:" &> /dev/null; echo "$?"`
    renamed=`echo -n "${status}" 2> /dev/null | grep "renamed:" &> /dev/null; echo "$?"`
    deleted=`echo -n "${status}" 2> /dev/null | grep "deleted:" &> /dev/null; echo "$?"`
    bits=''
    if [ "${renamed}" == "0" ]; then
    bits=">${bits}"
    fi
    if [ "${ahead}" == "0" ]; then
    bits="*${bits}"
    fi
    if [ "${newfile}" == "0" ]; then
    bits="+${bits}"
    fi
    if [ "${untracked}" == "0" ]; then
    bits="?${bits}"
    fi
    if [ "${deleted}" == "0" ]; then
    bits="x${bits}"
    fi
    if [ "${dirty}" == "0" ]; then
    bits="!${bits}"
    fi
    if [ ! "${bits}" == "" ]; then
    echo " ${bits}"
    else
    echo ""
    fi
    }
    export PS1="\u\w\`parse_git_branch\` "
    ```

    ### 5. Questions/Comments/Confusions

  18. @rwarbelow rwarbelow revised this gist Feb 14, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -61,7 +61,7 @@ Imagine that you're taking your favorite board game and turning it into a comput

    ### 4. Modify your Bash Profile (15 min)

    Watch [this video]() and follow each step to modify your own bash profile.
    - [ ] Watch [this video]() and follow each step to modify your own bash profile.

    ### 5. Questions/Comments/Confusions

  19. @rwarbelow rwarbelow revised this gist Feb 14, 2019. 1 changed file with 9 additions and 0 deletions.
    9 changes: 9 additions & 0 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -59,3 +59,12 @@ Imagine that you're taking your favorite board game and turning it into a comput
    -
    -

    ### 4. Modify your Bash Profile (15 min)

    Watch [this video]() and follow each step to modify your own bash profile.

    ### 5. Questions/Comments/Confusions

    If you have any questions, comments, or confusions from the any of the readings that you would an instructor to address, list them below:

    1.
  20. @rwarbelow rwarbelow revised this gist Feb 14, 2019. 1 changed file with 11 additions and 21 deletions.
    32 changes: 11 additions & 21 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -10,35 +10,25 @@ Documentation of a langauge, framework, or tool is the information that describe

    **NOTE:** The linked documentation for each question below is a good starting place, but you should also be practicing your Googling skills and sifting through the results to find relevant and helpful sites.

    - [ ] In your own words, what does the Ruby array [drop](https://ruby-doc.org/core-2.4.0/Array.html#method-i-drop) method do? As you're explaining, be sure to provide an example.
    - [ ] In your own words, what does the Ruby array [drop](https://ruby-doc.org/core-2.4.0/Array.html#method-i-drop) method do? As you're explaining, be sure to provide an example. Your answer:

    Your answer:
    - [ ] What did you Google to help you with this task, and how did you pick your results?

    What did you Google to help you with this task, and how did you pick your results?
    - [ ] In your own words, what does the Ruby array [push](https://ruby-doc.org/core-2.4.0/Array.html#method-i-push) method do? As you're explaining, be sure to provide an example. Your answer:

    - [ ] In your own words, what does the Ruby array [push](https://ruby-doc.org/core-2.4.0/Array.html#method-i-push) method do? As you're explaining, be sure to provide an example.
    - [ ] What did you Google to help you with this task, and how did you pick your results?

    Your answer:
    - [ ] In your own words, what does the Ruby string [split](https://ruby-doc.org/core-2.4.0/String.html#method-i-split) method do? As you're explaining, be sure to provide an example. Your answer:

    What did you Google to help you with this task, and how did you pick your results?
    - [ ] What did you Google to help you with this task, and how did you pick your results?

    - [ ] In your own words, what does the Ruby string [split](https://ruby-doc.org/core-2.4.0/String.html#method-i-split) method do? As you're explaining, be sure to provide an example.
    - [ ] In your own words, what does the JavaScript array [slice](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice) method do? As you're explaining, be sure to provide an example. Your answer:

    Your answer:
    - [ ] What did you Google to help you with this task, and how did you pick your results?

    What did you Google to help you with this task, and how did you pick your results?
    - [ ] In your own words, what does the JavaScript object [values](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values) method do? As you're explaining, be sure to provide an example. Your answer:

    - [ ] In your own words, what does the JavaScript array [slice](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice) method do? As you're explaining, be sure to provide an example.

    Your answer:

    What did you Google to help you with this task, and how did you pick your results?

    - [ ] In your own words, what does the JavaScript object [values](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values) method do? As you're explaining, be sure to provide an example.

    Your answer:

    What did you Google to help you with this task, and how did you pick your results?
    - [ ] What did you Google to help you with this task, and how did you pick your results?


    ### 2. Data Types (15 min)
    @@ -57,7 +47,7 @@ Imagine that you're taking your favorite board game and turning it into a comput

    ### 3. Iteration (30 min)

    - [ ] On a blank sheet of paper, create a diagram that shows how you understand iteration working. Be detailed and get creative! This should *not* be the simple table that we used during the lesson. When you're done, take a photo of your diagram and send it to Rachel and Tim on Slack. _(If you're feeling extra fancy, feel free to create your diagram using software instead of pencil and paper)_
    - [ ] On a blank sheet of paper, create a diagram that shows how you understand iteration working. Be detailed and get creative! When you're done, take a photo of your diagram and post it in the Mod 0 channel on Slack. Your instructor(s) will provide feedback in a thread. _(If you're feeling extra fancy, feel free to create your diagram using software instead of pencil and paper)_

    - [ ] Create a list below of **three real-life situations** where iteration is used. For each situation, explain why it would be an example of iteration.
    -
  21. @rwarbelow rwarbelow revised this gist Jan 21, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -1,6 +1,6 @@
    # Session 2 Practice Tasks

    The assignments listed here should take you approximately ___ total minutes.
    The assignments listed here should take you approximately 2 hours.

    To start this assignment, click the button in the upper right-hand corner that says **Fork**. This is now your copy of the 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.

  22. @rwarbelow rwarbelow revised this gist Jan 21, 2019. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -4,9 +4,9 @@ The assignments listed here should take you approximately ___ total minutes.

    To start this assignment, click the button in the upper right-hand corner that says **Fork**. This is now your copy of the 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.

    ### 1. Documentation
    ### 1. Documentation and Googling (75 min)

    Documentation of a langauge, framework, or tool is the information that describes its functionality. For this part of the practice tasks, you're going to practice digging into documentation.
    Documentation of a langauge, framework, or tool is the information that describes its functionality. For this part of the practice tasks, you're going to practice digging into documentation and other reference material.

    **NOTE:** The linked documentation for each question below is a good starting place, but you should also be practicing your Googling skills and sifting through the results to find relevant and helpful sites.

    @@ -41,7 +41,7 @@ Your answer:
    What did you Google to help you with this task, and how did you pick your results?


    ### 2. Data Types
    ### 2. Data Types (15 min)

    Imagine that you're taking your favorite board game and turning it into a computer-based game.

    @@ -55,7 +55,7 @@ Imagine that you're taking your favorite board game and turning it into a comput
    1. Array data:
    1. Hash or Object data:

    ### 3. Iteration
    ### 3. Iteration (30 min)

    - [ ] On a blank sheet of paper, create a diagram that shows how you understand iteration working. Be detailed and get creative! This should *not* be the simple table that we used during the lesson. When you're done, take a photo of your diagram and send it to Rachel and Tim on Slack. _(If you're feeling extra fancy, feel free to create your diagram using software instead of pencil and paper)_

  23. @rwarbelow rwarbelow revised this gist Jan 21, 2019. 1 changed file with 15 additions and 7 deletions.
    22 changes: 15 additions & 7 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -4,36 +4,44 @@ The assignments listed here should take you approximately ___ total minutes.

    To start this assignment, click the button in the upper right-hand corner that says **Fork**. This is now your copy of the 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.

    ### 1. Googling
    ### 1. Documentation

    [Need ideas]
    Documentation of a langauge, framework, or tool is the information that describes its functionality. For this part of the practice tasks, you're going to practice digging into documentation.

    ### 2. Documentation

    Documentation of a langauge, framework, or tool is the information that describes its functionality. For this part of the practice tasks, you're going to practice digging into documentation. **If you're reading the documentation and come across terminology or examples that don't make sense, Google!**
    **NOTE:** The linked documentation for each question below is a good starting place, but you should also be practicing your Googling skills and sifting through the results to find relevant and helpful sites.

    - [ ] In your own words, what does the Ruby array [drop](https://ruby-doc.org/core-2.4.0/Array.html#method-i-drop) method do? As you're explaining, be sure to provide an example.

    Your answer:

    What did you Google to help you with this task, and how did you pick your results?

    - [ ] In your own words, what does the Ruby array [push](https://ruby-doc.org/core-2.4.0/Array.html#method-i-push) method do? As you're explaining, be sure to provide an example.

    Your answer:

    What did you Google to help you with this task, and how did you pick your results?

    - [ ] In your own words, what does the Ruby string [split](https://ruby-doc.org/core-2.4.0/String.html#method-i-split) method do? As you're explaining, be sure to provide an example.

    Your answer:

    What did you Google to help you with this task, and how did you pick your results?

    - [ ] In your own words, what does the JavaScript array [slice](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/slice) method do? As you're explaining, be sure to provide an example.

    Your answer:

    What did you Google to help you with this task, and how did you pick your results?

    - [ ] In your own words, what does the JavaScript object [values](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/values) method do? As you're explaining, be sure to provide an example.

    Your answer:

    What did you Google to help you with this task, and how did you pick your results?


    ### 3. Data Types
    ### 2. Data Types

    Imagine that you're taking your favorite board game and turning it into a computer-based game.

    @@ -47,7 +55,7 @@ Imagine that you're taking your favorite board game and turning it into a comput
    1. Array data:
    1. Hash or Object data:

    ### 4. Iteration
    ### 3. Iteration

    - [ ] On a blank sheet of paper, create a diagram that shows how you understand iteration working. Be detailed and get creative! This should *not* be the simple table that we used during the lesson. When you're done, take a photo of your diagram and send it to Rachel and Tim on Slack. _(If you're feeling extra fancy, feel free to create your diagram using software instead of pencil and paper)_

  24. @rwarbelow rwarbelow revised this gist Jan 21, 2019. 1 changed file with 4 additions and 4 deletions.
    8 changes: 4 additions & 4 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -4,11 +4,11 @@ The assignments listed here should take you approximately ___ total minutes.

    To start this assignment, click the button in the upper right-hand corner that says **Fork**. This is now your copy of the 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.

    ### Googling
    ### 1. Googling

    [Need ideas]

    ### Documentation
    ### 2. Documentation

    Documentation of a langauge, framework, or tool is the information that describes its functionality. For this part of the practice tasks, you're going to practice digging into documentation. **If you're reading the documentation and come across terminology or examples that don't make sense, Google!**

    @@ -33,7 +33,7 @@ Your answer:
    Your answer:


    ### Data Types
    ### 3. Data Types

    Imagine that you're taking your favorite board game and turning it into a computer-based game.

    @@ -47,7 +47,7 @@ Imagine that you're taking your favorite board game and turning it into a comput
    1. Array data:
    1. Hash or Object data:

    ### Iteration
    ### 4. Iteration

    - [ ] On a blank sheet of paper, create a diagram that shows how you understand iteration working. Be detailed and get creative! This should *not* be the simple table that we used during the lesson. When you're done, take a photo of your diagram and send it to Rachel and Tim on Slack. _(If you're feeling extra fancy, feel free to create your diagram using software instead of pencil and paper)_

  25. @rwarbelow rwarbelow revised this gist Jan 21, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -49,7 +49,7 @@ Imagine that you're taking your favorite board game and turning it into a comput

    ### Iteration

    - [ ] On a blank sheet of paper, create a diagram that shows how you understand iteration working. Be detailed and get creative! This should *not* be the simple table that we used during the lesson. When you're done, take a photo of your diagram and send it to Rachel and Tim on Slack.
    - [ ] On a blank sheet of paper, create a diagram that shows how you understand iteration working. Be detailed and get creative! This should *not* be the simple table that we used during the lesson. When you're done, take a photo of your diagram and send it to Rachel and Tim on Slack. _(If you're feeling extra fancy, feel free to create your diagram using software instead of pencil and paper)_

    - [ ] Create a list below of **three real-life situations** where iteration is used. For each situation, explain why it would be an example of iteration.
    -
  26. @rwarbelow rwarbelow revised this gist Jan 21, 2019. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -37,9 +37,9 @@ Your answer:

    Imagine that you're taking your favorite board game and turning it into a computer-based game.

    Name of board game: ______
    - [ ] Name of board game: ______

    Use the space below to categorize game data into each of the following data types. You should have a **minimum of two** pieces of data for each category.
    - [ ] Use the space below to categorize game data into each of the following data types. You should have a **minimum of two** pieces of data for each category.

    1. String data:
    1. Integer and/or float data:
  27. @rwarbelow rwarbelow revised this gist Jan 21, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -39,7 +39,7 @@ Imagine that you're taking your favorite board game and turning it into a comput

    Name of board game: ______

    Use the space below to categorize game data into each of the following data types:
    Use the space below to categorize game data into each of the following data types. You should have a **minimum of two** pieces of data for each category.

    1. String data:
    1. Integer and/or float data:
  28. @rwarbelow rwarbelow revised this gist Jan 21, 2019. 1 changed file with 10 additions and 0 deletions.
    10 changes: 10 additions & 0 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -35,7 +35,17 @@ Your answer:

    ### Data Types

    Imagine that you're taking your favorite board game and turning it into a computer-based game.

    Name of board game: ______

    Use the space below to categorize game data into each of the following data types:

    1. String data:
    1. Integer and/or float data:
    1. Boolean data:
    1. Array data:
    1. Hash or Object data:

    ### Iteration

  29. @rwarbelow rwarbelow revised this gist Jan 21, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -6,7 +6,7 @@ To start this assignment, click the button in the upper right-hand corner that s

    ### Googling


    [Need ideas]

    ### Documentation

  30. @rwarbelow rwarbelow revised this gist Jan 21, 2019. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -12,7 +12,7 @@ To start this assignment, click the button in the upper right-hand corner that s

    Documentation of a langauge, framework, or tool is the information that describes its functionality. For this part of the practice tasks, you're going to practice digging into documentation. **If you're reading the documentation and come across terminology or examples that don't make sense, Google!**

    - [x] In your own words, what does the Ruby array [drop](https://ruby-doc.org/core-2.4.0/Array.html#method-i-drop) method do? As you're explaining, be sure to provide an example.
    - [ ] In your own words, what does the Ruby array [drop](https://ruby-doc.org/core-2.4.0/Array.html#method-i-drop) method do? As you're explaining, be sure to provide an example.

    Your answer: