Java Programming: Principles of Software Design

Product type

Java Programming: Principles of Software Design

Coursera (CC)
Logo Coursera (CC)
Provider rating: starstarstarstar_halfstar_border 7.2 Coursera (CC) has an average rating of 7.2 (out of 6 reviews)

Need more information? Get more details on the site of the provider.

Description

When you enroll for courses through Coursera you get to choose for a paid plan or for a free plan

  • Free plan: No certicification and/or audit only. You will have access to all course materials except graded items.
  • Paid plan: Commit to earning a Certificate—it's a trusted, shareable way to showcase your new skills.

About this course: Solve real world problems with Java using multiple classes. Learn how to create programming solutions that scale using Java interfaces. Recognize that software engineering is more than writing code - it also involves logical thinking and design. By the end of this course you will have written a program that analyzes and sorts earthquake data, and developed a predictive text generator. After completing this course, you will be able to: 1. Use sorting appropriately in solving problems; 2. Develop classes that implement the Comparable interface; 3. Use timing data to analyze empirical performance; 4. Break problems into multiple classes, each with their own methods; 5. D…

Read the complete description

Frequently asked questions

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.

When you enroll for courses through Coursera you get to choose for a paid plan or for a free plan

  • Free plan: No certicification and/or audit only. You will have access to all course materials except graded items.
  • Paid plan: Commit to earning a Certificate—it's a trusted, shareable way to showcase your new skills.

About this course: Solve real world problems with Java using multiple classes. Learn how to create programming solutions that scale using Java interfaces. Recognize that software engineering is more than writing code - it also involves logical thinking and design. By the end of this course you will have written a program that analyzes and sorts earthquake data, and developed a predictive text generator. After completing this course, you will be able to: 1. Use sorting appropriately in solving problems; 2. Develop classes that implement the Comparable interface; 3. Use timing data to analyze empirical performance; 4. Break problems into multiple classes, each with their own methods; 5. Determine if a class from the Java API can be used in solving a particular problem; 6. Implement programming solutions using multiple approaches and recognize tradeoffs; 7. Use object-oriented concepts including interfaces and abstract classes when developing programs; 8. Appropriately hide implementation decisions so they are not visible in public methods; and 9. Recognize the limitations of algorithms and Java programs in solving problems. 10. Recognize standard Java classes and idioms including exception-handling, static methods, java.net, and java.io packages.

Who is this class for: This course is for anyone who has taken the first three courses in the Java Programming and Software Engineering Fundamentals Specialization, “Programming Foundations with JavaScript, HTML and CSS,” “Java Programming: Solving Problems with Software,” and “Java Programming: Arrays, Lists, and Structured Data.” To succeed in this course, before starting you should have a good understanding of the following: variables, conditionals, loops, methods, Strings, arrays, lists, maps, Java classes, and the edu.duke custom libraries.

Created by:  Duke University
  • Taught by:  Robert Duvall, Lecturer

    Computer Science
  • Taught by:  Owen Astrachan, Professor of the Practice

    Computer Science
  • Taught by:  Andrew D. Hilton, Assistant Professor of the Practice

    Electrical and Computer Engineering
  • Taught by:  Susan H. Rodger, Professor of the Practice

    Computer Science
Basic Info Course 4 of 5 in the Java Programming and Software Engineering Fundamentals Specialization Level Beginner Commitment 4 weeks of study, 4-8 hours/week Language English How To Pass Pass all graded assignments to complete the course. User Ratings 4.6 stars Average User Rating 4.6See what learners said Coursework

Each course is like an interactive textbook, featuring pre-recorded videos, quizzes and projects.

Help from your peers

Connect with thousands of other learners and debate ideas, discuss course material, and get help mastering concepts.

Certificates

Earn official recognition for your work, and share your success with friends, colleagues, and employers.

Duke University Duke University has about 13,000 undergraduate and graduate students and a world-class faculty helping to expand the frontiers of knowledge. The university has a strong commitment to applying knowledge in service to society, both near its North Carolina campus and around the world.

Syllabus


WEEK 1


Welcome to the Course



Welcome to “Java Programming: Principles of Software Design”! We are excited that you are starting our course to learn how to write programs in Java, one of the most popular programming languages in the world. In this introductory module, you will hear an overview of this course and be introduced to the supporting resources available.


1 video, 1 reading expand


  1. Video: Welcome!
  2. Reading: Programming Resources


Earthquakes: Programming and Interfaces



In this module, we will introduce a data set containing details about earthquakes around the world. You will learn how to pull this data into a program, search through the data, and filter the data based on desired criteria. By the end of this module, you will be able to (1) write programs that include multiple classes and ArrayLists of class types, (2) find the maximum value in an ArrayList, (3) use a Filter interface to search through data, (4) implement interfaces with method signatures, and (5) combine several filters together.


11 videos, 5 readings, 2 practice quizzes expand


  1. Reading: Module Learning Outcomes / Resources
  2. Video: Introduction
  3. Video: Relationships Between Classes
  4. Video: Licensing and APIs
  5. Reading: Location class documentation and license resources
  6. Video: Coding a Magnitude Filter
  7. Video: Coding the Closest Quakes
  8. Video: Summary
  9. Reading: Programming Exercise: Searching Earthquake Data
  10. Practice Quiz: Searching Earthquake Data
  11. Video: Introduction
  12. Video: Interfaces to Avoid Duplication
  13. Video: Interfaces in Depth
  14. Video: MatchAll
  15. Video: Summary
  16. Reading: Programming Exercise: Filtering Data
  17. Practice Quiz: Filtering Data
  18. Reading: End of Module Survey

Graded: Earthquakes: Programming and Interfaces

WEEK 2


Earthquakes: Sorting Algorithms



In this module, you will continue using real earthquake data to explore several sorting algorithms. You will learn how to implement a selection sort and a bubble sort, then be introduced to a Java method Collections.sort, which sorts with much greater efficiency. By the end of this module, you will be able to (1) implement several sorting algorithms from scratch, (2) use efficient pre-existing sorting classes, (3) modify a class’s compareTo method to choose the criteria by which objects of that type are ordered, and (4) write classes that implement the Comparator interface to create interchangeable sorting criteria.


12 videos, 4 readings, 2 practice quizzes expand


  1. Reading: Module Learning Outcomes / Resources
  2. Video: Introduction
  3. Video: Developing an Algorithm
  4. Video: Translating to Code
  5. Video: In Place
  6. Video: Efficiency
  7. Video: Summary
  8. Reading: Programming Exercise: Implementing Selection Sort
  9. Practice Quiz: Implementing Selection Sort
  10. Video: Introduction
  11. Video: Comparable
  12. Video: Ordering Quakes by Magnitude
  13. Video: Comparator
  14. Video: Comparator for Distance from a Location
  15. Video: Summary
  16. Reading: Programming Exercise: Sorting at Scale
  17. Practice Quiz: Sorting at Scale
  18. Reading: End of Module Survey

Graded: Earthquakes: Sorting Algorithms

WEEK 3


N-Grams: Predictive Text



In this module, you will explore some of the underlying concepts of predictive text. The first lesson will introduce random character generation and then how to train the character selection based on an input text. The second lesson will extend this concept to complete words. By the end of this module, you will be able to: (1) base random text generation on the frequency of characters in a training text, (2) collect a set of characters that occur in a text after randomly chosen initial character(s) to create a semi-random text, (3) extend the predictive text generation to use whole words, and (4) implement your own .equals method to compare complex data types.


15 videos, 6 readings, 4 practice quizzes expand


  1. Reading: Module Learning Outcomes / Resources
  2. Video: Introduction
  3. Video: Order-Zero, Order-One
  4. Video: Finding Follow Set
  5. Video: Implementing Order-Two
  6. Video: Testing and Debugging
  7. Reading: Programming Exercise: Generating Random Text
  8. Practice Quiz: Generating Random Text
  9. Video: Interfaces and Abstract Classes
  10. Video: Summary
  11. Reading: Programming Exercise: Interface and Abstract Class
  12. Practice Quiz: Interface and Abstract Class
  13. Video: Introduction
  14. Video: Order-One Concepts
  15. Video: Order-One Helper Functions
  16. Reading: Programming Exercise: Word N-Grams
  17. Practice Quiz: Word N-Grams
  18. Video: WordGram Class
  19. Video: WordGram Class Implementation
  20. Video: Equals and HashCode Methods
  21. Video: Equals Method Implementation
  22. Video: Summary
  23. Reading: Programming Exercise: WordGram Class
  24. Practice Quiz: WordGram Class
  25. Reading: End of Module Survey

Graded: N-Grams: Predictive Text

WEEK 4


Java: Tools and Libraries for Everyone



As you reach the end of this series, you may wish to extend your Java experience to tools beyond those provided here. This module will cover some of the Java basic information that is needed to program without BlueJ or the edu.duke library. After completing this module, you will be able to: (1) write a main method to start a Java program in any programming environment, (2) use the “static” keyword to modify fields, (3) find alternative editors to use with Java, (4) use exceptions to debug your program and make it more robust, and (5) reference Java libraries that are necessary to read files without the edu.duke library.


13 videos, 3 readings expand


  1. Reading: Module Learning Outcomes / Resources
  2. Video: Miscellaneous Java
  3. Video: Main Method
  4. Video: Static
  5. Video: Editors
  6. Video: Summary
  7. Video: Introduction
  8. Video: Understanding Exceptions
  9. Video: Handling Exceptions
  10. Video: Declaring Exceptions
  11. Video: Throwing Exceptions
  12. Video: Reading Files with Java.nio
  13. Video: Hello Around the World with Eclipse
  14. Video: Summary
  15. Reading: Where To Go From Here
  16. Reading: End of Module Survey

Graded: Java: Tools and Libraries for Everyone
There are no reviews yet.

Share your review

Do you have experience with this course? Submit your review and help other people make the right choice. As a thank you for your effort we will donate £1.- to Stichting Edukans.

There are no frequently asked questions yet. If you have any more questions or need help, contact our customer service.