This new page will contain all of the materials for CS4240, Procedural and Object-Oriented Programming. It is taught in the Python and Java languages. During normal years, it will contain a unit on command-line interfaces.
Getting Started
- 19 January 2021, s0.pdf This contains instructions for installing software you need for this class. This includes any server software you might need, Python, and a Java Development Kit.
- 19 January 2021, s1.pdf If you will be programming on a linux server, you will need to know how to operate in a command-line interface. This chapter has all you need to know to get a good running start at gaining this important skill. If you run MacOSX, this chapter can give your mac new capabilities.
Python to Turing-Completeness and More We begin with Python. These chapters will bring your knowledge of Python to Turing completeness. The primary programming paradigm in this section of the courses is object-based procedural programming.
- 17 Demember 2021, s2.pdf, Beginning Python develops builit-in Python capabilities and the fundamental types in Python. This release contains minor revisions.
- 17 December 2021, s3.pdf Boss Statements will
allow you to control the flow of execution of a program. There are
two useful additions to this release: basic coverage of Python's new
match
statement and a discussion of the difference between arguments and parameters. - 16 April 2021, s4.pdf This chapter covers iteration and repetition in Python. It has a new section on comprehensions.
- 19 January 2021, s5.pdf This chapter covers algorithms and their analysis.
Introducing Java
- 19 January 2021, s6.pdf This chapter shows you
how to compile and run Java programs, introduces
jshell
, discusses the basics of classes in Java and Python, and it introduces Java variables and data types. - 19 January 2021, s7.pdf This chapter addresses the creation of classes and objects.
- 14 October 2021, s8.pdf This chapter ports your knowledge of Python constructs to Java.
Building an API Time for BigFraction in two languages!
- 19 January 2021, s9.pdf This chapter does the BigFraction case study in both Java and Python. You will also learn how to document your API to make it useful to other programmers.
Interfaces and Inheritance Here we begin to program "in the large" by studying the relationships between classes. This is where object-oriented programming begins in earnest.
- 19 January 2021, s10.pdf
Files and Exceptions This chapter begins with a discussion
of exceptions, which are needed for doing fileIO in Java. It then develops
fileIO in Java using the newer IO package java.nio.file
.
- 19 January 2021, s11.pdf
All At Once Here we have the entire book in one PDF.
- 19 January 2021, book.pdf