Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save johnktravers/eb2e5a45ee82d8f229b6847d2f7ef11c to your computer and use it in GitHub Desktop.

Select an option

Save johnktravers/eb2e5a45ee82d8f229b6847d2f7ef11c to your computer and use it in GitHub Desktop.

Revisions

  1. johnktravers revised this gist Jul 22, 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
    @@ -168,7 +168,7 @@ end</td>

    ### 5. 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:
    - [x] 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
  2. johnktravers revised this gist Jul 22, 2019. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -139,12 +139,12 @@ end</td>
    <tr>
    <td>log(2, (1022 * ((score - min(score) over ()) / ((max(score) over ()) - (min(score) over ()))) + 2)::numeric)</td>
    <td>log(2, (1022 * ((score - min(score) over ()) / ((min(score) over ()) - (min(score) over ()))) + 2)::numeric)</td>
    <td>The problem is that the first term in the denominator reads min(score) instead of max(score). This would result in the same number being subtracted from itself, or `0`, in the denominator, leading to an error.</td>
    <td>The problem is that the first term in the denominator reads min(score) instead of max(score). This would result in the same number being subtracted from itself, or "0", in the denominator, leading to an error.</td>
    </tr>
    <tr>
    <td>arr.product(arr).reject { |a,b| a == b }.any? { |a,b| a + b == n }</td>
    <td>arr.product(arr).reject { |a,b| b == b }.any? { |a,b| a + b == n }</td>
    <td>The problem is that the reject method's condition that `a == b` is replaced by `b == b`, which would always trigger the rejection since `b == b` is always true.</td>
    <td>The problem is that the reject method's condition that "a == b" is replaced by "b == b", which would always trigger the rejection since "b == b" is always true.</td>
    </tr>
    <tr>
    <td>class Cat<br>
    @@ -161,7 +161,7 @@ end</td>
    &nbsp;&nbsp;&nbsp;&nbsp;@color = data[:color]<br>
    &nbsp;&nbsp;end<br>
    end</td>
    <td>The problem is that `initialize` is spelled wrong in the class declaration. This would lead to an error message.</td>
    <td>The problem is that "initialize" is spelled wrong in the class declaration. This would lead to an error message.</td>
    </tr>
    </tbody>
    </table>
  3. johnktravers revised this gist Jul 22, 2019. 1 changed file with 5 additions and 5 deletions.
    10 changes: 5 additions & 5 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -97,9 +97,9 @@ Imagine that you're taking your favorite board game and turning it into a comput
    - Planting seeds in a garden. This is iteration because the actions of digging a small hole, placing the seed inside, and burying the seed are repeated for each seed.

    - [x] 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.
    - Normalizing strings of names that users have input to have the first letter capitalized and the rest lowercase. This is iteration because the actions of downcasing and capitalizing the first letter are repeated for each name in the collection.
    -
    -
    - Normalizing an array of name strings that users have input to have the first letter capitalized and the rest lowercase. This is iteration because the actions of downcasing and capitalizing the first letter are repeated for each name in the collection.
    - Calculating and storing the maximum heart rate of an individual from an array of ages. This is iteration because the actions of plugging the age into the maximum heart rate equation and storing the result in the new array are repeated for each age in the collection.
    - Changing the background of a web page every 1 second through an array of hex color codes. This is iteration because the actions of changing the background to the hex color and waiting for 1 second are repeated for each hex color in the collection.

    ### 4. Identifying Mistakes (15 min)

    @@ -121,7 +121,7 @@ end</td>
    <td>students.each do |student|<br>
    &nbsp;&nbsp;puts "Welcome, #(student)"<br>
    end</td>
    <td>The problem is that parentheses are used instead of curly braces for string interpolation. Ruby would not recognize that interpolation is the intended result and would literally print out "Welcome, #(student)" instead of replacing with strudent names.</td>
    <td>The problem is that parentheses are used instead of curly braces for string interpolation. Ruby would not recognize that interpolation is the intended result and would literally print out "Welcome, #(student)" instead of replacing it with student names.</td>
    </tr>
    <tr>
    <td>.main-content { <br>
    @@ -134,7 +134,7 @@ end</td>
    &nbsp;&nbsp;border: 3px solid black;<br>
    &nbsp;&nbsp;font-family: sans serif;<br>
    }</td>
    <td>The problem is that the font specified in the CSS font- familyproperty is not hyphenated.</td>
    <td>The problem is that the font specified in the CSS font-family property is not hyphenated.</td>
    </tr>
    <tr>
    <td>log(2, (1022 * ((score - min(score) over ()) / ((max(score) over ()) - (min(score) over ()))) + 2)::numeric)</td>
  4. johnktravers revised this gist Jul 22, 2019. 1 changed file with 19 additions and 19 deletions.
    38 changes: 19 additions & 19 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -10,7 +10,7 @@ Documentation of a language, 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:
    - [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. Your answer:

    The drop method is a ruby array method that is used to drop the first `n` elements of an array. It returns the remaining elements of the array. If `0` is given, no elements are dropped. If `n` is greater than or equal to the number of elements of in the array, an empty array is returned. For example:

    @@ -20,11 +20,11 @@ Documentation of a language, framework, or tool is the information that describe
    => [6, 0, 4]
    ```

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

    I googled "drop method ruby". The results that came up included apidock.com, rubycuts.com, and the Ruby documentation. I opened all three to see the differences and formed an explanation off the most straight-forward one, the Ruby documentation.

    - [ ] 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:
    - [x] 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 split method is used to divide strings based on the input delimiter and create an array with the results. This method has two optional inputs:
    1) A pattern, which is used to divide the string into array elements. It can be a string or regular expression (regexp). Every time an instance of the input pattern is found in the string, the array element is terminated and the next element is created. If nothing is input for the pattern, the string is separated by whitespace, " ".
    @@ -50,11 +50,11 @@ Documentation of a language, framework, or tool is the information that describe
    => ["1", "", "2", "3", "", "4", "", ""]
    ```

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

    I googled "ruby split method", which returned the Ruby documentation, apidock.com, and a number of blog articles. I looked through a few before focusing on the documentation, which was the most straight-forward. The examples used in the blog articles were helpful though. I also googled "ruby regexp" and used the Ruby documentation to find out what the regular expression class is in Ruby.

    - [ ] 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:
    - [x] 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 slice method is similar to the Ruby drop method, where elements from the input array are removed and the new resulting array is returned. However, the slice method has two integer input values, `begin` and `end`, between which the indexed elements are included in the output array. It is important to note that the `end` index is not included in the resulting array. If no `end` value is input, the remainder of the array is included in the ouput array.

    @@ -70,7 +70,7 @@ Documentation of a language, framework, or tool is the information that describe
    // expected output: Array ["grape", "pear", "kiwi"]
    ```

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

    I googled "javascript slice method", which returned the JavaScript documentation, w3schools.com, and freecodecamp.org results. After hearing that w3schools can be outdated, I looked into freecodecamp.org, which was helpful at clarifying the questions I had from looking at the documentation.

    @@ -79,9 +79,9 @@ Documentation of a language, framework, or tool is the information that describe

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

    - [ ] Name of board game: Ticket to Ride
    - [x] Name of board game: Ticket to Ride

    - [ ] 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.
    - [x] 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: route_name, player_name
    1. Integer and/or float data: route_length, num_cards, player_score
    @@ -91,13 +91,13 @@ 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.
    -
    -
    -
    - [x] 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.
    - Putting away clean laundry. This is iteration because the actions of picking up, folding, and putting away are repeated for each clean article of clothing.
    - Making meatballs. This is iteration because the actions of rolling into a ball and placing into a pan are repeated for each small portion of meat.
    - Planting seeds in a garden. This is iteration because the actions of digging a small hole, placing the seed inside, and burying the seed are repeated for each seed.

    - [ ] 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.
    -
    - [x] 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.
    - Normalizing strings of names that users have input to have the first letter capitalized and the rest lowercase. This is iteration because the actions of downcasing and capitalizing the first letter are repeated for each name in the collection.
    -
    -

    @@ -121,7 +121,7 @@ end</td>
    <td>students.each do |student|<br>
    &nbsp;&nbsp;puts "Welcome, #(student)"<br>
    end</td>
    <td>The problem is...</td>
    <td>The problem is that parentheses are used instead of curly braces for string interpolation. Ruby would not recognize that interpolation is the intended result and would literally print out "Welcome, #(student)" instead of replacing with strudent names.</td>
    </tr>
    <tr>
    <td>.main-content { <br>
    @@ -134,17 +134,17 @@ end</td>
    &nbsp;&nbsp;border: 3px solid black;<br>
    &nbsp;&nbsp;font-family: sans serif;<br>
    }</td>
    <td>The problem is...</td>
    <td>The problem is that the font specified in the CSS font- familyproperty is not hyphenated.</td>
    </tr>
    <tr>
    <td>log(2, (1022 * ((score - min(score) over ()) / ((max(score) over ()) - (min(score) over ()))) + 2)::numeric)</td>
    <td>log(2, (1022 * ((score - min(score) over ()) / ((min(score) over ()) - (min(score) over ()))) + 2)::numeric)</td>
    <td>The problem is...</td>
    <td>The problem is that the first term in the denominator reads min(score) instead of max(score). This would result in the same number being subtracted from itself, or `0`, in the denominator, leading to an error.</td>
    </tr>
    <tr>
    <td>arr.product(arr).reject { |a,b| a == b }.any? { |a,b| a + b == n }</td>
    <td>arr.product(arr).reject { |a,b| b == b }.any? { |a,b| a + b == n }</td>
    <td>The problem is...</td>
    <td>The problem is that the reject method's condition that `a == b` is replaced by `b == b`, which would always trigger the rejection since `b == b` is always true.</td>
    </tr>
    <tr>
    <td>class Cat<br>
    @@ -161,7 +161,7 @@ end</td>
    &nbsp;&nbsp;&nbsp;&nbsp;@color = data[:color]<br>
    &nbsp;&nbsp;end<br>
    end</td>
    <td>The problem is...</td>
    <td>The problem is that `initialize` is spelled wrong in the class declaration. This would lead to an error message.</td>
    </tr>
    </tbody>
    </table>
  5. johnktravers revised this gist Jul 22, 2019. 1 changed file with 59 additions and 7 deletions.
    66 changes: 59 additions & 7 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -6,36 +6,88 @@ To start this assignment, click the button in the upper right-hand corner that s

    ### 1. Documentation and Googling (60 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 and other reference material.
    Documentation of a language, 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.

    - [ ] 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 drop method is a ruby array method that is used to drop the first `n` elements of an array. It returns the remaining elements of the array. If `0` is given, no elements are dropped. If `n` is greater than or equal to the number of elements of in the array, an empty array is returned. For example:

    ```ruby
    arr = [12, 4, 2, 6, 0, 4]
    arr.drop(3)
    => [6, 0, 4]
    ```

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

    I googled "drop method ruby". The results that came up included apidock.com, rubycuts.com, and the Ruby documentation. I opened all three to see the differences and formed an explanation off the most straight-forward one, the Ruby documentation.

    - [ ] 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 split method is used to divide strings based on the input delimiter and create an array with the results. This method has two optional inputs:
    1) A pattern, which is used to divide the string into array elements. It can be a string or regular expression (regexp). Every time an instance of the input pattern is found in the string, the array element is terminated and the next element is created. If nothing is input for the pattern, the string is separated by whitespace, " ".
    2) A limit, or integer of any sign that is used to stop the splitting of the string. If only four array elements are desired, the limit is input as `4` and the fourth array element contains the remainder of the string, even if more instances of the delimiter exist within it. If no limit is input, trailing `null` fields are omitted from the created array. If the limit is a negative integer, there is no limit to the number of array elements created and trailing `null` fields are included in the output array.

    ```ruby
    # With no input pattern or limit
    str = "hey there sunshine"
    str.split
    => ["hey", "there", "sunshine"]

    # Input pattern but no limit
    nums = "1,,2,3,,4,,"
    nums.split(",")
    => ["1", "", "2", "3", "", "4"]

    # Input pattern and limit
    nums.split(",", 4)
    => ["1", "", "2", "3,,4,,"]

    # Input pattern and negative limit
    nums.split(",", -1)
    => ["1", "", "2", "3", "", "4", "", ""]
    ```

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

    I googled "ruby split method", which returned the Ruby documentation, apidock.com, and a number of blog articles. I looked through a few before focusing on the documentation, which was the most straight-forward. The examples used in the blog articles were helpful though. I also googled "ruby regexp" and used the Ruby documentation to find out what the regular expression class is in Ruby.

    - [ ] 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 slice method is similar to the Ruby drop method, where elements from the input array are removed and the new resulting array is returned. However, the slice method has two integer input values, `begin` and `end`, between which the indexed elements are included in the output array. It is important to note that the `end` index is not included in the resulting array. If no `end` value is input, the remainder of the array is included in the ouput array.

    ```javascript
    var fruits = ["apple", "banana", "grape", "pear", "kiwi", "orange"]

    // With begin input but not end
    console.log(fruits.slice(3))
    // expected output: Array ["pear", "kiwi", "orange"]

    // With begin and end input
    console.log(fruits.slice(2, 5))
    // expected output: Array ["grape", "pear", "kiwi"]
    ```

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

    I googled "javascript slice method", which returned the JavaScript documentation, w3schools.com, and freecodecamp.org results. After hearing that w3schools can be outdated, I looked into freecodecamp.org, which was helpful at clarifying the questions I had from looking at the documentation.


    ### 2. Data Types (15 min)

    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: Ticket to Ride

    - [ ] 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: route_name, player_name
    1. Integer and/or float data: route_length, num_cards, player_score
    1. Boolean data: route_complete?, has_longest_train?
    1. Array data: routes_completed, routes_to_finish
    1. Hash or Object data: cards_in_hand (`{ "pink": 2, "blue": 1, "black": 5, "wild": 1, "red": 2 }`), player_scores (`{ "eric": 47, "josh": 72, "amy": 82, "michelle": 59 }`)

    ### 3. Iteration (30 min)

  6. @rwarbelow rwarbelow revised this gist May 22, 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
    @@ -51,7 +51,7 @@ Imagine that you're taking your favorite board game and turning it into a comput

    ### 4. Identifying Mistakes (15 min)

    The following code examples each contain a mistake (that is, a missing, changed, or additional character). Describe the problem for each.
    The following code examples each contain a mistake. Describe the problem for each.

    <table>
    <thead>
  7. @rwarbelow rwarbelow revised this gist May 22, 2019. 1 changed file with 2 additions and 0 deletions.
    2 changes: 2 additions & 0 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -51,6 +51,8 @@ Imagine that you're taking your favorite board game and turning it into a comput

    ### 4. Identifying Mistakes (15 min)

    The following code examples each contain a mistake (that is, a missing, changed, or additional character). Describe the problem for each.

    <table>
    <thead>
    <tr>
  8. @rwarbelow rwarbelow revised this gist May 22, 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
    -
    -

    ### 4. Identifying Mistakes (10 min)
    ### 4. Identifying Mistakes (15 min)

    <table>
    <thead>
  9. @rwarbelow rwarbelow revised this gist May 22, 2019. 1 changed file with 6 additions and 0 deletions.
    6 changes: 6 additions & 0 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -56,6 +56,7 @@ Imagine that you're taking your favorite board game and turning it into a comput
    <tr>
    <th>Original</th>
    <th>Mistakes</th>
    <th>Problem</th>
    </tr>
    </thead>
    <tbody>
    @@ -66,6 +67,7 @@ end</td>
    <td>students.each do |student|<br>
    &nbsp;&nbsp;puts "Welcome, #(student)"<br>
    end</td>
    <td>The problem is...</td>
    </tr>
    <tr>
    <td>.main-content { <br>
    @@ -78,14 +80,17 @@ end</td>
    &nbsp;&nbsp;border: 3px solid black;<br>
    &nbsp;&nbsp;font-family: sans serif;<br>
    }</td>
    <td>The problem is...</td>
    </tr>
    <tr>
    <td>log(2, (1022 * ((score - min(score) over ()) / ((max(score) over ()) - (min(score) over ()))) + 2)::numeric)</td>
    <td>log(2, (1022 * ((score - min(score) over ()) / ((min(score) over ()) - (min(score) over ()))) + 2)::numeric)</td>
    <td>The problem is...</td>
    </tr>
    <tr>
    <td>arr.product(arr).reject { |a,b| a == b }.any? { |a,b| a + b == n }</td>
    <td>arr.product(arr).reject { |a,b| b == b }.any? { |a,b| a + b == n }</td>
    <td>The problem is...</td>
    </tr>
    <tr>
    <td>class Cat<br>
    @@ -102,6 +107,7 @@ end</td>
    &nbsp;&nbsp;&nbsp;&nbsp;@color = data[:color]<br>
    &nbsp;&nbsp;end<br>
    end</td>
    <td>The problem is...</td>
    </tr>
    </tbody>
    </table>
  10. @rwarbelow rwarbelow revised this gist May 22, 2019. 1 changed file with 59 additions and 10 deletions.
    69 changes: 59 additions & 10 deletions mod_0_session_2_practice_tasks.md
    Original file line number Diff line number Diff line change
    @@ -4,7 +4,7 @@ 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.

    ### 1. Documentation and Googling (75 min)
    ### 1. Documentation and Googling (60 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 and other reference material.

    @@ -14,10 +14,6 @@ Documentation of a langauge, framework, or tool is the information that describe

    - [ ] 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?
    @@ -26,10 +22,6 @@ Documentation of a langauge, framework, or tool is the information that describe

    - [ ] 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?


    ### 2. Data Types (15 min)

    @@ -57,7 +49,64 @@ Imagine that you're taking your favorite board game and turning it into a comput
    -
    -

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

    <table>
    <thead>
    <tr>
    <th>Original</th>
    <th>Mistakes</th>
    </tr>
    </thead>
    <tbody>
    <tr>
    <td>students.each do |student|<br>
    &nbsp;&nbsp;puts "Welcome, #{student}"<br>
    end</td>
    <td>students.each do |student|<br>
    &nbsp;&nbsp;puts "Welcome, #(student)"<br>
    end</td>
    </tr>
    <tr>
    <td>.main-content { <br>
    &nbsp;&nbsp;font-size: 12px;<br>
    &nbsp;&nbsp;border: 3px solid black;<br>
    &nbsp;&nbsp;font-family: sans-serif;<br>
    }</td>
    <td>.main-content { <br>
    &nbsp;&nbsp;font-size: 12px;<br>
    &nbsp;&nbsp;border: 3px solid black;<br>
    &nbsp;&nbsp;font-family: sans serif;<br>
    }</td>
    </tr>
    <tr>
    <td>log(2, (1022 * ((score - min(score) over ()) / ((max(score) over ()) - (min(score) over ()))) + 2)::numeric)</td>
    <td>log(2, (1022 * ((score - min(score) over ()) / ((min(score) over ()) - (min(score) over ()))) + 2)::numeric)</td>
    </tr>
    <tr>
    <td>arr.product(arr).reject { |a,b| a == b }.any? { |a,b| a + b == n }</td>
    <td>arr.product(arr).reject { |a,b| b == b }.any? { |a,b| a + b == n }</td>
    </tr>
    <tr>
    <td>class Cat<br>
    &nbsp;&nbsp;attr_reader :color, :name<br>
    &nbsp;&nbsp;def initialize(data)<br>
    &nbsp;&nbsp;&nbsp;&nbsp;@name = data[:name]<br>
    &nbsp;&nbsp;&nbsp;&nbsp;@color = data[:color]<br>
    &nbsp;&nbsp;end<br>
    end</td>
    <td>class Cat<br>
    &nbsp;&nbsp;attr_reader :color, :name<br>
    &nbsp;&nbsp;def intialize(data)<br>
    &nbsp;&nbsp;&nbsp;&nbsp;@name = data[:name]<br>
    &nbsp;&nbsp;&nbsp;&nbsp;@color = data[:color]<br>
    &nbsp;&nbsp;end<br>
    end</td>
    </tr>
    </tbody>
    </table>

    ### 5. 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:

  11. @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.
    -
    -
  12. @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
  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 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:

  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
    @@ -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
  16. @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

  17. @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

  18. @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.
  19. @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.
    -
  20. @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.

  21. @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)_

  22. @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)_

  23. @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)_

  24. @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.
    -
  25. @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:
  26. @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:
  27. @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

  28. @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

  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
    @@ -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:

  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!**

    - [ ] 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.
    - [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.

    Your answer: