Introduction to Computers and Object-Oriented Programming.

Reading: Ch. 1.1, 1.4

If I were trying to summarize the entire field of computing I would say it is centered around two distinct aspects: data and instructions.

data

instructions

Object-Oriented Programming

In this course, we have explicitly chosen to teach in a particular programming paradigm known as object-oriented programming, using one such language known as C++.

Though a particular programming language already has built-in support for a variety of data types and a variety of behaviors, it is often nice to design new classes of objects which share a great deal of commonality. In particular we will define and use so called "objects" which bring together the aspects of data and instructions. Each object will have a certain amount of its own data to reflects its internal state information, and will also have a set of available "behaviors" (sometimes refered to as "commands" or "messages").

Chapter 1.4 of the text gives a preliminary example of this pardigm; we will see more of it as the course progresses.


Last modified: Wednesday, 12 January 2005