Kotlin
Java

Lessons

CS 124 daily lessons mix text, interactive walkthroughs, video content, and small practice and homework problems.

Each one brings you one step closer to mastering the basics of computer science and programming. And the course staff will accompany you every step of the way, to ensure that you are not alone.

Fall 2021

10/22/2021: Lists Review and Performance

Today we'll continue discussing linked lists and implement a few list methods together.

10/21/2021: Linked Lists

Now for a different take on lists, we'll examine lists that store the position of items using reference linking.

10/20/2021: Algorithms and Lists

Our lesson today starts the third half of the class, our exploration of data structures, algorithms, and algorithm analysis.

10/19/2021: Continuing MP0

Let's continue MP0 and review how to submit your work.

10/18/2021: Getting Started with MP0

Today we'll begin work together on the machine project!

10/15/2021: Lambda Expressions

This lesson explores lambda expressions, a terse way of implementing interfaces using anonymous classes.

10/14/2021: Anonymous Classes

Let's dive in to the world of anonymous classes.

10/13/2021: Practice with Interfaces

This lesson continues our practice with interfaces.

10/12/2021: Implementing Interfaces

Next we'll examine how to implement interfaces on our own classes.

10/11/2021: Using Interfaces

Let's take the first step to understanding interfaces.

10/08/2021: Working with Exceptions

This lesson continues our practice with exceptions.

10/07/2021: Throwing Exceptions

Let's continue to learn about exceptions by finding out how and when to generate our own errors.

10/06/2021: Catching Exceptions

Next we'll begin learning how to work with exceptions by understanding how to handle them when they occur.

10/05/2021: References and Polymorphism

Let's combine what we know about polymorphism and references to deepen our understanding even further.

10/04/2021: References

Our focus in this lesson is on references, both generally and specifically.

10/01/2021: Data Modeling 2

Next we'll complete another data modeling exercise that pulls together everything that we've learned.

09/30/2021: Equality and Object Copying

What does it mean for two objects to be equal? And how do we copy them? In this lesson we'll find out.

09/29/2021: Polymorphism

This lesson introduces a big new word and a big new idea: polymorphism.

09/28/2021: Inheritance

Our next lesson explores the relationships between classes established through inheritance.

09/27/2021: Data Modeling 1

This lesson puts our new abilities with objects to use modeling a real-world system.


09/24/2021

Next we'll continue understanding Kotlin objects by exploring companion objects.

Next we'll continue understanding Java objects by exploring the static keyword and its implications.


09/23/2021: Encapsulation

Today's we'll investigate how to enable encapsulation through visibility modifiers and setters and getters.

09/22/2021: Constructors

Our next lesson examines what happens when objects are created.

09/21/2021: Objects, Continued

Let's continue our discussion of objects by examining object methods.

09/20/2021: Introduction to Objects

Today we begin a new topic: objects.


09/17/2021

Let's explore a bit of programming internals, specifically your code is tranformed before it is executed in a process known as compilation.

Let's explore a bit of programming internals, specifically your code is tranformed before it is executed in a process known as compilation.


09/16/2021: Maps and Sets

Let's look at two more very useful collections: maps and sets.

09/15/2021: Lists and Type Parameters

Today we'll learn how to use lists, a linear data structure but one that is a bit more useful than the arrays that we've been working with so far.

09/14/2021: Imports and Libraries

This lesson may be the most important of the entire semester, since it shows you how to use other people's code!

09/13/2021: Multidimensional Arrays

Today's lesson expands our ability to work with sequential data into multiple dimensions!

09/10/2021: null

How many problems can nothing cause? Quite a few! We'll learn more about the nothing that is a huge problem today.

09/09/2021: Algorithms and Strings

Today's lesson is on algorithms and strings, and gives us a bit more practice with both.

09/08/2021: Strings

Today we meet a new type of data and our first example of an object.

09/07/2021: More About Functions

Today we'll continue discussing functions and introduce several common algorithm patterns.

09/03/2021: Errors and Debugging

Let's examine errors, debugging, and maintaining a healthy mindset as you learn to work with computers.

09/02/2021: Functions

As we begin writing algorithms, let's stop and discuss how to organize our code into reusable units called functions.

09/01/2021: Algorithms I

Today we'll pull together everything we've learned so far and use our new skills to start solving real problems. Or, put another way, we'll start designing algorithms.

08/31/2021: Loops

Today we'll cover our last core computer capability: the ability to repeat something multiple times, very quickly.

08/30/2021: Arrays

Let's learn about our first data structure: arrays, which put data values in order.

08/27/2021: Compound Conditionals

Today we'll examine how to make our conditional statements a bit more complex, allowing us to make more interesting decisions based on data in our programs.

08/26/2021: Conditional Expressions and Statements

One of the things that makes computers so powerful is their ability to make decisions. We'll explore that capability in our programs today.

08/25/2021: Operations on Variables

Our journey continues as we examine how we can manipulate the data stored by variables in our programs.

08/24/2021: Variables and Types

Let's begin our journey in computer science by presenting two of the basic building blocks of computer programs: variables and data types.

08/23/2021: Welcome to CS 124

Welcome to CS 124! We're excited to join you as you start your journey in computer science and programming. Today!