Notice that:
- IP (in C) course is held on Mondays and Wednesdays, 4:30 to 5:45 pm, in Wonchun Hall (11), room 540.
- For practical reason, the most essential information covered during our lectures is summarised in these
lecture notes. Thus, these lecture notes are true reflection of everything that was presented, discussed, or
practically exercised during our lectures. In order to run or to download any notes made available here, simply
click on the underlined part
(in green)
of the title of these notes!
- These lecture notes strictly follow the course textbook [1] by Behrouz A. Forouzan and Richard F. Gilberg,
"Computer Science, A Structured Programming Approach Using C", Second Edition,
Brooks/Cole,
2001, ISBN 0-534-37482-4, pb.
In each subsequent lecture note, as well as in each subsequent week, a next chapter from this textbook is learned.
- The web site pajak.110mb.com,
which previously hosted
a mirror of this web page, was sabotaged (hacked) by someone,
and needed to be deleted on Friday, 16 March 2007. It was replaced
by the site pajak.fateback.com - thank you for using this other one from now on.
- For further instructions see the end of this web page.
Course Outline for Sem. 1/2007:
Course Outline (in "Word" .doc format).
Course participants during Sem. 1/2007:
Fig. #1: Here is a photograph of participants of the IP course in
semester 1, 2007. (Click on this photograph to enlarge it.)
Captured on this photo in order of the visibility of their faces,
from left to right, are as follows: JYS (front row), KJS (back row),
KSR (temporary absent), KYS (front row), LJM (back row), LSK (front row),
CBC (back row), PWC (front row).
Fig. #2: Here is a photograph of some IP course participants
taken together with their Professor by the front of EE Hall
near the end of semester 1, 2007. (Click on this photograph
if you wish to to enlarge it.)
Captured on this photo in order of the visibility of their faces,
from left to right, are as follows: Prof., KYS, LJM, KSR, CBC, LSK, JYS.
Part 1: Lecture Notes (in "*.doc" format for the "WORD XP"):
Week 1 & lecture 1 (Introduction to computers.)
Week 2 & lecture 2 (Introduction to the C language.)
Week 3 & lecture 3 (Structure of a C program.)
Week 4 & lecture 4 (Functions in a C program.)
Week 5 & lecture 5 (Selection/decisions in a C program.)
Week 6 & lecture 6 (Repetition/iteration in a C program.)
Week 7 & lecture 7 (Files and file handling in a C program.)
Week 8 (midterm break - no lectures): here it comes - the time for your midterm exam (for details see parts 3 and 4 below)!
Week 9 & lecture 8 (Arrays in a C program.)
Week 10 & lecture 9 (Pointers in a C program.)
Week 11 & lecture 10 (Pointer applications in C programs.)
Week 12 & lecture 11 (Strings in C programs.)
Week 13 & lecture 12 (Derived types in C programs - enumerated, structure, and union.)
Week 14 & lecture 13 (Binary files in C programs.)
Still in the development stage:
Week 15 & lecture 14 (Bitwise operators in C programs.)
Week 16 (final examinations break - no lectures): our final exam is on Wednesday, 20 June 2007, at 4:30 pm, in the same venue as our normal classes! For sample problems see "Part 5" below.
Part 2: Lecture Presentations (in "*.ppt" format for the "Power Point"):
Week 1 & lecture 1 (Introduction to computers.)
Week 2 & lecture 2 (Introduction to the C language.)
Week 3 & lecture 3 (Structure of a C program.)
Week 4 & lecture 4 (Functions in a C program.)
Week 5 & lecture 5 (Selection/decisions in a C program.)
Week 6 & lecture 6 (Repetition/iteration in a C program.)
Week 7 & lecture 7 (Files and file handling in a C program.)
Week 8: midterm break - no lectures.
Week 9 & lecture 8 (Arrays in a C program.)
Week 10 & lecture 9 (Pointers in a C program.)
Week 11 & lecture 10 (Pointer applications in C programs.)
Week 12 & lecture 11 (Strings in C programs.)
Week 13 & lecture 12 (Derived types in C programs - enumerated, structure, and union.)
Week 14 & lecture 13 (Binary files in C programs.)
Still in the development stage:
Week 15 & lecture 14 (Bitwise operators in C programs.)
Week 16: final examination break - no lectures (our final exam is on Wednesday, 20 June 2007, at 4:30 pm).
Part 3: Preparations for the midterm exam (in WORD.DOC format for the WORD XP):
Please notice, that after 6 weeks of study this semester, a midterm exam will be held
during our normal class hours. The exact date and time of this exam is to be negotiated
and announced during our lectures (and then displayed here). During this exam students
will be asked to propare a program in C, and then post it for confirmation of their
marking. An example of exam paper and a question type is provided below (of course,
during the exam a program to write will be different - this example shows only how
the question is to look like, what level of difficulty it is going to be, and how
it is going to be marked). The question for this midterm exam will be simlar to
one of the "midterm exam problems" provided below. Therefore, if you are able to
solve each of the "midterm exam problems" provided below within the lecture time,
you should have no difficulty with passing this exam. Therefore, for your preparation
to the midterm exam, I would advice you to learn how to solve each "midterm exam problems"
listed below.
Example of the midterm exam paper and the formulation of exam question (including a marking schedule.)
Midterm exam problems (to be solved by students as their preparation to this exam.)
Please note how the problem used in the above "example of midterm exam peper"
compares to the first problem #Q_1_1 from the "midterm exam problems". In a
similar manner the problem used in the real midterm exam is to compare to
a problem listed above amongst other "midterm exam problems".
Part 4: Midterm exam (in WORD.DOC format for the WORD XP):
Midterm exam question (students are to download the exam question from here, complete it, and then post it for marking, within the duration of the midterm exam.)
Part 5: Preparations for the final exam (in WORD.DOC format for the WORD XP):
Still in the development stage:
Final exam problems (to be solved by students during their preparation to the final exam.)
Part 6: The final exam - held on Wednesday, 20 June 2007, at 4:30 pm (the exam paper revealed below for duration of the exam is prepared in the WORD.DOC format):
The final exam question (students are to download the final exam question from here, complete it, and then post it for marking, within the duration of the final exam.)
Part 7: Instructions on how to use this web page:
(1) Each C program is provided here as a source code (*.htm),
which is preperad for execution by the MS Visual Studio, version 6.0.
Many of these programs were previously working on Borland C as well.
(2) In order to download any source code (e.g. in *.cpp, in *.c, etc.) to your computer,
simply click on this code,
and then follow the procedure of downloading source code of a web page.
(3) Office room: 440; office tel. ext.: 1742.
(4) Email contact:
pajakjan@gmail.com.
Date of starting this web page: 1 March 2007.
Date of the latest update of this page: 17 August 2007.
Counts of visits to this page:
|