cs2209(1)

3
 LAB PLAN Sub code:CS2209-OBJECT ORIENTED PROGRAMMING LAB  Branc: CSE Se!e"#er :III LP-CS2209 Re$%"%on No: 00 Da#e:29-0&-2009 Pa'e 0( o) 02 Ob*ec#%$e: To learn the concepts of Object oriented programming and to write  programs using C++, Se""%on No Eerc%"e No Eerc%"e" T%!e A..oca#%on 1 1  a) Income Tax Calculation using default arguments.  b) Categorizing Emploees using static members  c) !ddition of two pri"ate members using friend function 1#$m % % /r%end )unc#%on and /r%end C.a"" &esign matrix and "ector classes with static allocation' and a friend function to do matrix("ector multiplicatio n 1#$m Oera#or o$er.oad%n' Impl ement com pl ex number cl ass wi th ne cessar oper ator o"erl oadin gs and tp e con" ersi ons such as inte ger to comp lex' double to complex' complex to double etc. 1#$m *'# * D1na!%c !e!or1 a..oca#%on   Con"#ruc#or" a)Implement +atri x class with dnamic memo r allo catio n and neces sar met hods. ,i"e prop er const ructo r' destru ctor' cop constructor' and o"erloading of assignment operator.  b) O"erload the new and d elete operators to pro" ide custom dnamic allocation of memor. 1#$m -''/ # Te!.a#e a) &e"elop a template of lin0ed(list class and its methods.  b) &e" elo p templa tes of sta ndard sor tin g alg ori thms suc h as  bubble sort and merg e sort. c) &e"elop templates of standard sorting algorithms such as insertion sort and uic0 sort. 1#$m 2'1$ - Ece#%on and.%n' a) &esign stac0 classes with necessar exception handling.  b) &esign ueue classes with necessar exception handling. 1#$m

Upload: saravanan-sar

Post on 02-Mar-2016

3 views

Category:

Documents


0 download

DESCRIPTION

lab

TRANSCRIPT

Page 1: CS2209(1)

7/18/2019 CS2209(1)

http://slidepdf.com/reader/full/cs22091 1/3

Page 2: CS2209(1)

7/18/2019 CS2209(1)

http://slidepdf.com/reader/full/cs22091 2/3

Page 3: CS2209(1)

7/18/2019 CS2209(1)

http://slidepdf.com/reader/full/cs22091 3/3