We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 169
New Approach To
CBSE
(With C++)
GUSPublished by :
‘LAXMI PUBLICATIONS (P) LTD
22, Golden House, Daryaganj,
New Delhi-110002,
011-2326 23 68
011-28 262370
‘Faxes: 011-23 252572
* | 01128 262279
Branches:
‘+ 129/1, Ulrd Main Road, IX Cross Chamrajpet, Bangalore (Phone : 080-26 61 15 61)
* 26, Damodaran Street, T. Nagar, Chennai (Phone : 044-24 34 47 26)
St, Benedict’s Road, Cochin (Phone : 0484-239 70 04)
Pan Bazar, Rani Bari, Guwahati (Phones : 0361-254 36 69, 251 38 81)
4-2-453, Ist Floor, Ramkote, Hyderabad (Phone : 040-24 75 02 47)
Adda Tanda Chowk, ND. 365, Jalandhar City (Phone : 0181-222 12 72)
106A, Ist Floor, S.N. Banerjee Road, Kolkata (Phones : 033-22 27 37 73, 22 27 52 47)
18, Madan Mohan Malviya Marg, Lucknow (Phone : 0522-220 95 78)
128A, Block 3, First Floor, Noorani Building, Ld. Road, Mumbai (Phone : 022-24 46 39 98)
Radha Govind Street, Tharpagna, Ranchi (Phone-: 0651-230 77 64)
ee eeeeene
EMAIL: [email protected]
WEBSITE: www.laxmipublications.com
T12-8932-280-NEW APPR TO COMPUTER SC XII
Edited by : Sangeeta Dixit
@ All Rights Reserved with the Author and the Publishers.
First Edition
Price : Rs. 280.00 Only
C—10390/05/04
Laser Typesetted at : Goswami Printers, Delhi-110083 Printed at : Ajit Printers, Maujpur, DelhiCLASS XII (Theory)
3. DATABASE ANDSQL 8
4. BOOLEAN ALGEBRA 8
&,_____ COMMUNICATION AND NETWORK CONCEPTS __8
UNIT 1: PROGRAMMING IN C++
REVIEW ; C++ covered in Class-XI,
Defining a symbol name using type def keyword and defining a macro using #define direc-
tive:
Need for User_defined data type; Structures: Defining a Structure, Declaring structure
variables Accessing structure elements, Passing structure to Functions as value and reference
argument/parameter, Function returning structure, Array of structures, passing an array of'struc-
ture as an argument/a parameter to a function;
Object Oriented Programming
Concept of Object Oriented Programming—Data hiding, Data encapsulation, Class and
Object, Abstract class and Concrete class, Polymorphism (Implementation of polymorphism using
Function over loading as an example in C++); Inheritance, Advantages of Object Oriented Pro-
gramming over earlier programming methodologies.
Implementation of Object Oriented Programming Concepts in C++
Definition of'a class, Members ofa class—Data Members and Member Functions (methods),
ity mode (private); Member funetion defi-
nition: inside class definition and outside class definition using seope resolution operator (::); Dee-
laration of objects as instances of a class; accessing members from abject(s), Array of type class,
‘Objects as function arguments—pass by value and pass by reference;
Constructor and Destructor
Constructor: Special Characteristics, Declaration and Definition of a constructor, Default
Constructor, Overloaded Constructors, Copy Constructor, Constructor with default arguments;
Destructor: Special Characteristics, Declaration and definition of destructor;
Inheritance (Extending Classes): Concept of Inheritance, Base Class, Derived Class, Defin-
ing derived classes, Protected visibility mode; Single level inheritance, Multilevel inheritance and