Computer Science: Programming with a Purpose

  • Free
  • No certificate
  • Beginner
Provider
Princeton
Cost
Free
Certificate
No certificate
Level
Beginner
Format
Self-paced
Language
English
Subjects
Programming, Computer Science
Source
Princeton Online
Last verified
14 Sep 2026

Computer Science: Programming with a Purpose is Robert Sedgewick and Kevin Wayne's introductory programming course, built on the first half of their book Computer Science: An Interdisciplinary Approach. It takes the view that programming is now as basic a skill as reading, writing and arithmetic, and teaches Java through ten modules: basic programming concepts, conditionals and loops, arrays, input and output, functions and libraries, recursion, performance, abstract data types, creating data types, and programming languages. Coursera labels it beginner level with a flexible schedule and estimates about two months at ten hours a week.

The course page states that all features are available for free and that, as per Princeton University policy, no certificates, credentials or reports are awarded. The textbook is optional. Its sequel, Computer Science: Algorithms, Theory, and Machines, covers the second half of the book and is also free.

Advertisement

What you’ll learn

  • Write Java programs using variables, conditionals, loops and arrays
  • Handle input and output and organise code into functions and libraries
  • Use recursion and reason about program performance
  • Define and create abstract data types
  • Place Java among other programming languages

Who it’s for

Beginners who want a serious first programming course in Java with graded assignments, and do not need a certificate.

Source: Princeton Online (opens in a new tab) · Verified · Report a change

Advertisement
FreeOpens coursera.org Go to course (opens in a new tab)