Skip to content

Princeton University — Robert Sedgewick

Computer Science: Programming with a Purpose

Explore Princeton’s free computer-science course on programming with Java, functions, recursion, data types and performance; no certificate is awarded.

FreeBeginner10+ hoursEnglishComputer Science Foundations
Go to course

Opens on the provider’s site. Check current access and certificate terms there.

Course overview

Princeton uses Java to teach programming ideas that transfer beyond one language. Variables and loops lead into arrays, functions, recursion and object-oriented data types. It suits learners ready to spend substantial time on programming assignments, with the emphasis on understanding a program rather than merely reproducing its output.

What you will learn

  • Write programs using control flow and arrays.
  • Organize reusable functions and recursive solutions.
  • Develop data types and investigate program performance.

Who this suits

Learners with little or no programming experience, and programmers from other languages who want these foundations.

Before you enroll

Allow time to solve exercises independently rather than only following explanations. Software versions and setup instructions can change; compare them with current documentation. Mathematical and programming foundations develop through repeated practice, and completing an introductory course does not demonstrate expertise in every computing field.

Princeton states that the videos, exercises and programming assignments are available free. The course does not award a completion certificate. Optional textbooks and other external materials may have separate costs; review current enrollment conditions on the provider page.

Put it into practice

Write a small simulation, test it with known inputs, and explain how its functions and data types divide the problem into manageable parts.

Source and review

This overview is based on the provider's published information, checked on . It is an editorial assessment, not a claim that we completed the resource. Time filters are approximate study ranges; projects and exercises can take longer.

View the curriculum and current access options at Coursera.

How YellowCourse describes and checks learning resources.

At a glance

Provider
Coursera
Learning format
Course
Price
Free
Level
Beginner
Study time (approx.)
10+ hours
Language
English
Certificate
Not listed
Created by
Princeton University — Robert Sedgewick
Page updated
12 Oct 2026