Professional Documents
Culture Documents
COURSE CODE" COURSE TIT%E" UNITS" SE(ESTER" COURSE %ECTURER*S+" CSC ##$ Comp ter &rogramming II ' O(E)A Dr, Ol -ag.emi O, O/(r, Eme.o Onye0a/(r,Od !ote,
A, COURSE DESCRI&TION This is an introductory course to object-oriented programming that adopts the fundamentals of C#, proceeding at a steady pace through all the necessary and important basic concepts, then moving to using the object-oriented approach to build interesting applications. It reinforces object-oriented programming by demonstrating how procedural solutions already learnt in C++ can be improved using the object-oriented approach. 1, COURSE O12ECTIVES t the end of this course, students are e!pected to" #earn principles of good programming and structured programming concepts. pplied the fundamental concepts of C# programming. $rogram in C# using the concepts of classes and objects. Implement the features of object-oriented programming which include inheritance and polymorphism. C, (ET3OD O4 TEAC3IN)/TEAC3IN) AIDS %uiding instruction Interaction classroom session &tudent group assignments Transparencies #ecture notes 'verhead projection (ultimedia projection. D, COURSE OUT%INE (od le $" Introd ction 5ee0 $" Introduction to the .)et *ramewor+, The .)et *ramewor+ and the Common #anguage ,untime, 'verview of the .)-T *ramewor+ The Common language runtime. *undamentals of object oriented design. *eatures of object-oriented programming. Dr, Ol -ag.emi
5ee0 #6'" The &tructure of the .)-T application, Compilation and e!ecution of the .)-T application. ,unning your first C# programming language. .sing the /isual C# Integrated 0evelopment -nvironment, Command line compilation and e!ecution. %raphical .ser Interfaces, .ser Interface 0esign $rinciples, *orms Controls and (enus, 0esign consideration in .ser Interfaces, dding new forms to a $roject Dr, Ol -ag.emi (od le #" C7 4 ndamental! 5ee0 8" 1eywords, data types, standard I2' streams, function prototypes, inline functions, overloaded functions, reference variables comparison between pointers and references. C# types, ,eference types, /alue types, 3o!ing and unbo!ing, 3asic C# features, rrays, '' features, *unction parameters, Iterators Dr, Ol -ag.emi T torial! .y (r, Od !ote *5ee0 $98+ (od le '" Cla!!e! 5ee0 8" Creating new data type in C#, class declaration, members, constructors and destructors, access functions, constant objects, member objects, static members, friend classes, arrays of class objects. Dr, Ol -ag.emi/(r,Eme.o (od le 8" Dynamic memory allocation in C7 5ee0 :6; -ssential operators, class with pointer members, this pointer assignment, initiali4ation, copy constructor, passing and returning objects, advanced free store techni5ues, e!ception handling in C#. Dr, Ol -ag.emi/(r, Eme.o 5ee0 < String &roce!!ing in C7 &orting, &earching in C# (r, Eme.o
(ID SE(ESTER E=A(INATION 6ee+ 7 ,ecursion in C# Dr, Ol -ag.emi/(r, Od !ote Tutorials by (r. 'dusote 86ee+ 9-7: (od le :" Inheritance and &olymorphi!m" 6ee+ ;-<=" 'perator overloading, handling related types in C#, derived class, conversion between base and derived classes, virtual functions, dynamic binding, pure virtual functions, protected members, public and private base classes, new, delete operators overloading, inheritance applications, Dr, Ol -ag.emi/(r, Eme.o
(od le ;" Ad>anced C7 concept! and Application" 6ee+ <<-<>" *ile handling, templates, container classes, class library, stac+, 5ueue and lin+ed list applications, simple database applications. Dr, Ol -ag.emi/(r, Eme.o E, STRUCTURE O4 T3E &RO)RA((E/(ET3OD O4 )RADIN) <. Continuous ssessment ?= mar+s a. Class test >= mar+s b. (id semester test <= mar+s >. -!amination @= mar+s 4, E=&ECTED C%ASS 1E3AVIOUR A ,ecords over ;=B average class attendance. A &tudents to be display a good sense of responsibility and decorum A Class assignments are to be ta+en seriously. A &tudents are to engage in all class activities. A $unctuality to class is e!pected of all students. ), TO&ICS 4OR TER( &A&ERS/ ASSI)N(ENTS 'bject-oriented design and &imulation of real world problems in science, engineering, commerce and technology RECO((ENDED READIN) Vi! al C7 #?$# 1y I>orton *undamentals of Computing with C++, &chaumCs 'utlines by Dohn ,. Eubbard, $h.0, >==>. $rogramming in C++, #essons F pplications by Timothy 3. 0C'ra4id 0ata structures F 'ther 'bject using c++, $earson $ublications- (icheal (ain, 6alter &avitch, >==G. $rogramming in C++ by (aria #itvin, %ary #itvin, >==>.
Public # allows all functions to be accessible within the whole programming area Protected # these specifiers are accessible to member function of the same class or the derived class Private # these specifiers are accessible through member function of the same class
Other definitions you need to now when getting started with C++ includes the following Constructor # these are special ind of member function called automatically when a new Instance of a class is created estructor # are also special member function that is called automatically when an object of a particular class goes out of a scope Members # refers to a variable or a function declared within a class Parameter # elements use to communicate to the functions !tructure # in C++ a structure is a collection of a data items with different data types "ncapsulation # is the ability to group all data elements and functions that act on them as a single entity called class%
#unction overloading # &sing the same name for different functions in a program In$eritance # in C++ inheritance is when a class ac'uires properties of another class