SE5220 (Sem. 1, 2004): Object Oriented Programming (C++)

Click refresh if this page shows incomplete



Menu 1:

(This web site:)

(Introduction to this web site:)

Homepage

About Me


(2004 lecture notes:)

SE5120 (C)

SE5220 (C++)

IT6212 Sem. 1 (JavaScript)

IT6212 Sem. 2 (JavaScript)


(2004 program samples:)

2004 Calculators


(2005 lecture notes:)

IT6212 Sem.1 (JavaScript)

IT6212 Sem.2 (JavaScript)


(2005 program samples:)

2005 Calculators




Menu 2:

(Other web sites about:)


(Seismograph:)

alarm.gq.nu

alert.1hwy.com

capsule.20m.com

magnocraft.20fr.com

totalizm.fanspace.com

jp.7h.com

pajak.orcon.net.nz

earthquake.ownsthis.com

pajak.ownsthis.com


(Magnocraft:)

magnocraft.20fr.com

capsule.20m.com

jp.7h.com

totalizm.fanspace.com

alarm.gq.nu

alert.1hwy.com

pajak.orcon.net.nz

earthquake.ownsthis.com

pajak.ownsthis.com


(Oscillatory Chamber:)

capsule.20m.com

magnocraft.20fr.com

jp.7h.com

totalizm.fanspace.com

alarm.gq.nu

alert.1hwy.com

pajak.orcon.net.nz

earthquake.ownsthis.com

pajak.ownsthis.com


(Totalizm:)

totalizm.fanspace.com

jp.7h.com

magnocraft.20fr.com

capsule.20m.com

alarm.gq.nu

alert.1hwy.com

pajak.orcon.net.nz

earthquake.ownsthis.com

pajak.ownsthis.com


(Computing:)

(Web sites with latest lecturing notes 2004-2005:)

pajak.orcon.net.nz

pajak.ownsthis.com

hostdepartment.com

free.7host03.com/Pajak


(Web sites with lecturing notes 1999-2003:)

Pajak.20m.com

Pajak.20fr.com


(Program samples 1999-2003:)

Search engines

1999-2003 Calculators


(My web site on web tutorials:)

Websitemaker.20m.com


(My research:)

Computing

Search Engine


(All-in-one
prototypes:)

totalizm.fanspace.com

jp.7h.com

magnocraft.20fr.com

capsule.20m.com

alarm.gq.nu

alert.1hwy.com

Pajak.20m.com

Pajak.20fr.com

Websitemaker.20m.com




Notes for SE5220, by Dr Jan Pajak


SE5220 course carries 15 credits, or 150 learning hours. It extends for two terms, or one semester, means for 16 weeks in total. It represents stage 2 of programming course, based on C++ language. It is composed of two parts, namely procedural programming in C++ (first 8 weeks), and object-oriented programming part (final 8 weeks). The lecture notes and example programs that I am presenting here are prepared for the Borland C++ Builder, version 6 (utilised as C++ language compiler).
Notice that:
- In order to run or to download any of these items, simply click on the underlined part of the description of this item!
- For further instructions see the end of this web page.
- Click the button BACK (from the browser) to return to the previous web page.

Course outline:

Course Outline (for block 1 and 2 of 2004).

Theory Content:

Theory content of this course is based on the materials handed out to students. However, the use of following textbook would be helpful:
[1] Deitel and Deitel: C++ How to Program, 4th Edition, Prentice Hall, ISBN 0-13-111881-1.

Practical laboratory content:

(2004 - part 1) Notes for the "PP" part of SE5220 (i.e. first 8 weeks):

Exercise PP1 (Typing in, compiling, and running your first C++ program. Keyboard input and screen output statements. Pointers.)

Exercise PP2 (Date and time in C++; system commands; string functions _strdate & _strtime and their parameters).

Exercise PP3 (Control structures; selection and iteration statements in C++).

Exercise PP4 (C++ functions. Pass-by-value, pass-by-reference, pass-by-pointer. Modular programming in C++. Menu program).

Exercise PP5 (Array handling in C++, arrays of characters).

Exercise PP6 (Sequential file handling in C++: .open, .getline, .write, .close functions; backups).



(2004 - part 2) Notes for the "OO" part of SE5220 (i.e. final 8 weeks):

Lecture L1 (Classes and objects in "console" OO C++).

Lecture L2 (Inheritance in "console" OO C++).

Lecture L3 (Polymorphism in "console" OO C++).

Exercise OO1 (Typing in, compiling, and running your first GUI Borland C++ OO program; screen output methods).

Exercise OO2 (Random number generator).

Exercise OO3 (Date and time retrieval from the system in OO C+).

Exercise OO4 (Array handling, string handling, and looping statements in OO C+; Arabic to Roman conversion).

2004 Assessments:

(2003 - PP Assessment) Examples of assessment for the "Procedural Programming" part of SE5220 (i.e. first 7 weeks):

Assignment PP1 for PP C++. (Day number.)

Assignment PP2 for PP C++. (Date "n" days later.)

Assignment PP3 for PP C++. (Temperature and fuel conversion.)

Assignment PP4 for PP C++. (Translate weekday names.)

Sample problems for the final test from PP C++. (Four problems.)


(2004 - OO Assessment) Examples of assessment topics for the "Object Oriented Programming" part of SE5220 (i.e. another 8 weeks):

Assignment OO1 for OO C++. (Class "cylinder").

Assignment OO2 for OO C++. (Inheritance in console calculators).

Assignment OO3 for OO C++. (Polymorphism in numbers conversion).

Sample problems for final test from OO C++. (Four problems)



Instructions on how to use this web page:

(1) Each C++ program is provided here in two versions, namely (a) as a source code (*.cpp), which is prepered for the Borland C++ Builder 5 or 6 (but in most of cases it also works on Microsoft Visual Studio 6 C++), and (b) as an executable version of a given C program (*.exe). Each one of these two versions needs to be downloaded separately.
(2) In order to download to your computer any of these two versions (*.cpp or/and *.exe) of a given C solution, click on this version, and then follow the instructions that appear in the downloading window.
(3) To return to this web page, click on the Back button on the tool palette of your browser.
(4) Some solutions are compressed into standard zip files. Therefore, you need to unzip them first before they are executed or compiled.
(5) If you wish to see any other related web pages - see the Links Page (e.g. the so-called "Blue Book" with prescriptions for PR621 (former PR21n) courses addressed here, are available at the web page http://www.naccq.ac.nz/bb_view/bbpre.html).
(6) Address for correspondence (May 2004): Dr Jan Pajak, P.O. Box 33250, Petone 6340, New Zealand.



Counts of visits to this page: