Skip to content

Instantly share code, notes, and snippets.

@bgveenstra
Last active April 7, 2017 14:33
Show Gist options
  • Save bgveenstra/20697a708ccddace4605b9c96543f8f3 to your computer and use it in GitHub Desktop.
Save bgveenstra/20697a708ccddace4605b9c96543f8f3 to your computer and use it in GitHub Desktop.

Week 8 Learning Objectives

Asset Pipeline

  • Explain benefits of using the Rails asset pipeline.
  • Require custom and third-party assets in Rails.

Rspec with Rails

  • Identify aspects of Rails apps that we might want to test.
  • Differentiate between integration testing and unit testing.
  • List tools that are used to test Rails applications.
  • Test model methods using rspec-rails.
  • Test controller actions using rspec-rails.

Bubble Sort

  • Describe bubble sort algorithm and identify its advantages and disadvantages.
  • Write a pseudocode version of bubble sort and a ruby version of bubble sort.
  • Determine the runtime (in big-O() notation) for bubble sort.

Merge

  • Pseudocode an algorithm to merge two sorted arrays, and implement the algorihtm in ruby.

Recursion & Merge Sort

  • Explain three steps to create a recursive algorithm.
  • Describe the merge sort algorithm.
  • Write a pseudocode version of merge sort and a ruby version of merge sort.
  • Determine the runtime (in big-O() notation) for merge sort.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment