CS 145 – Introduction to Object-oriented Programming

Course Information Syllabus Enrollment: ~120 Lectures Homework Labs Exams

Subtracting Subtraction, Part 1

Some things are easier than others. The elevator is easier than the stairs. Criticizing others’ ideas is easier than originating one’s own. Addition is easier than subtraction. Let’s focus on the last of these. Why is subtraction more difficult than addition? Borrowing. When a digit in the subtrahend (the second number) is greater than the […]

CS 145 Homework 0, Part 2

In part 1, you created your homework repository on Bitbucket, cloned it on your local machine, and pushed local changes back up to Bitbucket. In this installment, you will learn how to pull changes down from Bitbucket to your local mirror. Pulling Suppose your home on for the weekend, and you get the craving to […]

CS 145 Homework 0, Part 1

Follow these steps to create your class homework repository and get homework 0 up and running. 1. Create a Bitbucket account In this class, all your code will be stored with the Bitbucket webservice. Using this third-party service has some nice benefits: they maintain a complete history of your source code using some software called […]