Skip to content

akueisara/javaproblemswithsoftware

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Programming: Solving Problems with Software

The assignments from Java Programming: Solving Problems with Software on Coursera

Solving Programming Problems: A Seven Step Approach

  1. Work Example By Hand
  • Solve small instance by hand
  • Unclear problem?
  • Need domain knowledge?
  1. Write Down What You Did
  • Write down exact steps
  • Just that instance
  • Tricky: do without thinking
  1. Find Patterns
  • Algorithm for any instance
  • Find patterns
  • Repetition, conditions, values
  • Difficulties?
    • Try step 1 + 2 again
    • Different inputs
  1. Check By Hand
  • Incorrect pattern? Find now
  • Check with different inputs
  1. Translating To Code
  • Programming language
  1. Run Test Cases
  • Run test cases on code
  • Check anwser
  1. Debug Failed Test Cases
  • Test failed? Debug
    • Use scientific method
    • Understand problem + fix
  • Algorithm problem?
    • Return to step 3 and fix the algorithm
  • Implementation problem?
    • Return to step 5 and correct the translation of the algorithm to code

Assignments:

Week 1: Iterables in Java

Assignment 1: Batch Grayscale
Assignment 2: Image Inversion

Week 2: Strings in Java

Assignment 3: Finding a Gene
Assignment 4: Finding Web Links
Assignment 5: Finding All Genes
Assignemnt 6: Storing All Genes / Processing DNA Strings
Assignment 7: Find All URLs

Week 3: CSV Files and Basic Statistics in Java

Assignment 8: Parsing Export Data
Assignment 9: Parsing Weather Data

The mini project helps find out what name this year has the same popularity rank as your name did the year you were born based on processing the CSV data files of the popularity of baby names from the United States.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages