Tuesday, September 22, 2009

Assignment 1

I have uploaded the first assignment on this location. This is to be submitted by noon, 05/10/2009. Any problems related with the assignment can be discussed in class or in my free time.

Wednesday, September 9, 2009

Marks Allocation

Quizes

10%

Assignments

10%

Mid Term

20%

Final

50%

Project

10%

Recommended Books

§ Paul M. Chirlian, Programming in C++, Merrill Pub Co, (April 1989).

§ Lucy Garnett, Building Business Applications Using C++, Addison Wesley Pub Co, (October 1, 1996).

§ Greg Perry and Marcus Johnson, TURBO C++ By Example, National Book Foundation, (1997).

§ Paul M. Chirlian, Programming in C++, Merrill Pub Co,( April 1989).

§ Lucy Garnett, Building Business Applications Using C++, Addison Wesley Pub Co, (October 1, 1996).

§ Greg Perry and Marcus Johnson, TURBO C++ By Example, National Book Foundation, (1997).

H. M. Dietel and P. J. Dietel, C++ How to Program, Prentice Hall International, Inc., (1994).

Course Contents

Programming Basics (week 01/02)

Program structure of C++,

Input & Output functions, (cin, cout)

Preprocessor directives, (iostream, conio)

Data Types (int, float, char, etc)

Variables and Constants,

Arithmetic operators, (+, - , *, /, %)

Relational operators, (<, >, <=, >=, ==, !=)

Bit-wise operators,

Comments. (//)

Decision Statements (week 02)

Algorithms

Pseudocode

Increment and Decrement Operators (--, ++)

if – else statement,

Logical operators, (&&, ||)

switch-case statement

Loops (week 03/04)

for loop

while loop,

do-while loop,

break statement,

continue statement,

Functions (week 05/06)

Function declaration,

Function Prototype;

calling a function,

passing arguments,

returning values,

function overloading,

recursive functions

creating your own header files

Arrays (week 07/08)

Array initialization

Initialization with for loop

Summing the elements of an array

Uni-Dimensional Arrays

Multi-Dimensional Arrays

Passing arrays to functions

Searching arrays

Sorting arrays

Using characters to store and manipulate strings

MID TERM

Pointers (week 09/10/11)

Declaring a pointer

Lvalue & Rvalue

Dynamic Memory Allocation

Pointer to an array

Memory leaks

Pointer to a pointer

Passing arguments by value, by pointers, by reference

Sizeof operator

Pointer arithmatics

Array of pointers

Using const with pointer

Structures & Classes (week 12/13/14)

Keeping records with structures

Difference between a Structure and a Class

Data Abstraction

Objects

Pointers to Structures

Basic Data Structures (week 15/16)

Stack

Queue