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
- 27 November 2020, 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.
- 15 November 2020, s1.pdf If you will be programming on a 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.
Python to Turing-Completeness 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.
- 15 November 2020, s2.pdf This chapter develops builit-in Python capabilities and the fundamental types in Python.
- 15 November 2020, s3.pdf This chapter develops boss statements, which control the flow of execution of a program.
- 15 November 2020, s4.pdf This chapter covers iteration and repetition in Python.
Introducing Java
- 16 November 2020, s5.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. - 27 November 2020, s6.pdf This chapter addresses the creation of classes and objects.
- 27 November 2020, s7.pdf This chapter ports your knowledge of Python constructs to Java.
Building an API Time for BigFraction in two languages!
- 20 November 2020, s8.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.
- 26 December 2020, s9.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
.
- 26 December 2020, s10.pdf