Sunteți pe pagina 1din 2

ARUL ANANDAR COLLEGE (AUTONOMOUS), KARUMATHUR – 625 514

DEPARTMENT OF INFORMATION TECHNOLOGY & MANAGEMENT

Class : I IT&M Part : III Core Lab - 2


Semester : II Hours : 45
Sub code : Credits : 03

PROGRAMMING IN C++
Objective :
To understand the basic concepts of OOPs and enable them to write C++ programs using
reference variables, classes, constructors and destructors, static data members and static member
functions, function overloading and operator overloading, inheritance, polymorphism and virtual
functions.

Unit I : (18 hours)


Principles of Object Oriented Programming (OOP) – Software Evaluation – OOP Paradigm –
Basic Concepts of OOP – Benefits of OOP – Applications of OOP.

Unit II : (18 hours)


Introduction to C++ - Tokens – Keywords – Variables – Operators – Manipulators - Expressions
and Control Structures – pointers – Functions – Function prototyping - Parameters Passing in
Functions – Values Return by Functions – Inline Functions - Friend and Virtual Functions.

Unit III : (18 hours)


Classes and Objects – Constructors and Destructors – Operator overloading - Type Conversions
– Type conversions – Type of Constructors – Function Overloading.

Unit IV : (18 hours)


Inheritance – Single Inheritance – Multiple Inheritance – Multilevel Inheritance – Hybrid
Inheritance – Hierarchical Inheritance.

Unit V : (18 hours)


Virtual Functions and Polymorphism – Constructors in inheritance – Mapping Console I/O
operations.

Text Books :
1. E. Balagurusamy, “Object Oreinted Programming with C++”, III Edition, Tata McGraw Hill
Publishing Company Limited.
2. Yashavant P.Kanetkar ,”Let us C++”, BPB Publications, New Delhi.

References:
1. Robert Lafore, “ Object Oriented Programming in Microsoft C++”, Galgotia Publications.
2. Stanley Lippmann, Josee Lajoie , “C++ Primer “, Third Edition , Addision Wesley.
ARUL ANANDAR COLLEGE (AUTONOMOUS), KARUMATHUR – 625 514
DEPARTMENT OF INFORMATION TECHNOLOGY & MANAGEMENT

Class : I IT&M Part : III Core Lab -2


Semester : II Hours : 75
Sub code : Credits : 03

PROGRAMMING C++ LAB

1. Write a C++ Program to read a string and display same using Arrays.
2. Write a C++ Program to swap two numbers using Pointers.
3. Write a C++ Program using ‘call by value’ and ‘call by reference’.
4. Write a C++ Program for multiplication of two matrices.
5. Write a C++ Program using structures to maintain the student marks.
6. Write a C++ Program using structures to add and multiply of two complex numbers.
7. Write a C++ Program to implement a stack with size of 10 elements, Insert 5 elements and
delete 3 elements.
8. Write a C++ Program to evaluating Postfix expression.
9. Write a C++ Program to find factorial of a given Number using Recursion.
10. Write a C++ Program using recursion to find Fibonacci series.
11. Write a C++ Program to implement a Queue , Insertion and Deletion from the Queue.
12. Write a C++ Program for Binary search.
13. Write a C++ Program using pointers and implement Linked List.
14. Write a C++ Program to search an element Using Binary search.
15. Write a C++ Program to search an element using Sequential Search.
16. Write a C++ Program to sort a given Numbers using Insertion Sort.
17. Write a C++ Program to sort given numbers using Quick Sort.
18. Write a C++ Program to sort given numbers using Merge Sort.
19. Write a C++ Program for Binary Tree Representation.
20. Write a C++ Program for Priority Queue.
21. Write a C++ Program for Tree Traversal Algorithms.

S-ar putea să vă placă și