Вы находитесь на странице: 1из 12

Lovely Professional University, Punjab

Course Code Course Title Course Planner Lectures Tutorials Practicals Credits
CSE202 OBJECT ORIENTED PROGRAMMING 14307::Raj Karan Singh 3.0 0.0 0.0 3.0
Course Category Courses with numerical and conceptual focus

TextBooks
Sr No Title Author Edition Year Publisher Name
T-1 OBJECT ORIENTED ROBERT LAFORE 4th PEARSON
PROGRAMMING IN C++
Reference Books
Sr No Title Author Edition Year Publisher Name
R-1 A STRUCTURED APPROACH BEHROUZ A. 2nd CENGAGE LEARNING
USING C++ FOROUZAN AND
RICHARD F. GILBERG
R-2 PROGRAMMING WITH C++ D RAVICHANDRAN 3rd MC GRAW HILL
R-3 OBJECT ORIENTED E BALAGURUSAMY 5th TATA MCGRAW HILL
PROGRAMMING IN C++

Relevant Websites
Sr No (Web address) (only if relevant to the course) Salient Features
RW-1 http://cplus.about.com/ About C, C++ and C# brings the latest programming
tutorials,programming challenges, C++ for beginners
RW-2 http://www.learncpp.com/ learncpp.com is a totally free website devoted to teaching you to program
in C++.
RW-3 http://www.cplusplus.com/doc/tutorial/pointers/ Basic concepts of pointers. Referencing and dereferencing a variable.

RW-4 http://www.cprogramming.com/tutorial/c++-tutorial.html A complete step by step guide for beginners to learn C++

RW-5 http://www.yolinux.com/TUTORIALS/C++MemoryCorruptionAndMemoryLeaks.html Memory Leak

RW-6 http://www.sourcetricks.com/2008/05/c-object-slicing.html Object Slicing

RW-7 http://www.cpp-home.com/archives/206.html OOPs features in detail

RW-8 http://www.dailyfreecode.com/Code/perform-array-operations-append-2646.aspx Array operations

RW-9 http://www.questionscompiled.com/answer/cpp/41/pointer-types-dangling-pointer-null- Dangling pointer, null pointer, void pointer, wild pointer
pointer-void-pointer-wild-pointer/#.UoWXXiS6Zdg
RW-10 http://wps.aw.com/wps/media/objects/1935/1982372/ppt/sav_ch15.ppt Polymorphism and virtual functions

RW-11 http://cse202lpu.blogspot.in/ Object oriented programming C++ concepts


Audio Visual Aids
Sr No (AV aids) (only if relevant to the course) Salient Features
AV-1 http://nptel.iitm.ac.in/video.php?subjectId=106102067 To give the students an exposure to learn through high level visual aids

Software/Equipments/Databases

Sr No (S/E/D) (only if relevant to the course) Salient Features


SW-1 http://www.codeblocks.org/home To download Code Blocks Compiler for the successful execution of C
plus plus programs
SW-2 http://www.bloodshed.net/dev/devcpp.html To download DEV- Cpp for the successful execution of C plus plus
programs
Virtual Labs
Sr No (VL) (only if relevant to the course) Salient Features
VL-1 http://deploy.virtual-labs.ac.in/labs/cse02/index.php?section=Introduction The interactive experiments in this lab will give the students an
opportunity for learning and better understanding of the basic concepts
and constructs of computer programming
VL-2 http://iitkgp.vlab.co.in/?sub=38 It provides a suitable environment to improve and refine the effectiveness
of scientific research and widening the use scarce equipments
VL-3 http://sourceforge.net/projects/vle/ Students need to download the system and study the slightly complex
programming environment

LTP week distribution: (LTP Weeks)


Weeks before MTE 7
Weeks After MTE 7
Spill Over 7

Detailed Plan For Lectures


Week Lecture Broad Topic(Sub Topic) Chapters/Sections of Other Readings, Lecture Description Learning Outcomes Pedagogical Tool Live Examples
Number Number Text/reference Relevant Websites, Demonstration/
books Audio Visual Aids, Case Study /
software and Virtual Images /
Labs animation / ppt
etc. Planned
Week 1 Lecture 1 Concepts and Basics of C++ RW-4 Lecture Students will come to Power point A person
Programming(Introduction zero,introduction to know about the presentation, Live entering and
to concepts of OOP and oops concept different concepts of demonstration on leaving a room
OOP Languages) object oriented compiler could be treated
programming as an example of
languages. Students cin and cout. A
will also know about capsule can also
the basics of C plus be used to
plus. explain
encapsulation.
Week 1 Lecture 1 Concepts and Basics of C++ T-1:2 RW-1 Prerequisites of C plus Students will come to Power point A person
Programming(Reading and R-2:3 plus know about the presentation, Live entering and
writing data using cin and different concepts of demonstration leaving a room
cout, Operators and their object oriented could be treated
precedence with programming as an example of
associativity, Expressions, languages. Students cin and cout. A
Statements) will also know about capsule can also
the basics of C plus be used to
plus. explain
encapsulation.
Lecture 2 Concepts and Basics of C++ T-1:2 RW-2 Basics of C plus plus Students will come to Power point The desk can be
Programming(Elements and know about the presentation, Live used as an
Structure of C++ program different data types demonstration on example of a
(Constants, Data Types, and operations compiler constant as its
Storage Classes, Variables, possible in C plus shape doesn't
Identifiers)) plus change. At the
same time the
contents which
can be placed on
the desk can be
treated as a
variables
because many
things can be
placed on it.
Lecture 3 Concepts and Basics of C++ T-1:4 RW-1 Description of user Students will learn as Power point An example of
Programming defined data types how to group presentation, Live student where
(Structures,Unions,Enumerat multiple data as a demonstration on name, cgpa and
ions and Classes) single entity compiler roll number are
different data
types but related
to a student can
be taken as an
example of a
structure
Week 2 Lecture 4 Functions and Input/output T-1:5 RW-1 Description of user Students will Power point Calling some
Streams(Creating User R-1:4 defined function with understand as how to presentation, Live person on your
Defined functions, Functions different categories. call the functions demonstration on behalf to do a
with Default with inline feature compiler task can be used
parameters/arguments, and default features as an example of
Inline Functions) a function
Week 2 Lecture 5 Functions and Input/output T-1:12 and 5 RW-2 Advantages of input and Students will learn as Power point Same news
Streams(Features of output streams and their how to arrange the presentation, Live appearing in
Input/output functions along with input,output data with demonstration on different
Streams,Manipulators Details about proper format compiler newspapers can
Functions) overloading. and understand the serve as an
advantages of using example of
function overloading. manipulators
where the
information is
same but is
displayed in
different
formats.
Similarly
drawing can be
considered as an
example of
overloading
where different
shapes can be
drawn.
Functions and Input/output T-1:12 and 5 RW-11 Advantages of using Students will learn as Power point Same news
Streams(Function R-2:13 same function name how to arrange the presentation, Live appearing in
overloading and Scope with different input,output data with demonstration on different
rules) arguments. proper format compiler newspapers can
and understand the serve as an
advantages of using example of
function overloading manipulators
along with recursion. where the
information is
same but is
displayed in
different
formats.
Similarly
drawing can be
considered as an
example of
overloading
where different
shapes can be
drawn.
Week 2 Lecture 5 Functions and Input/output T-1:12 and 5 RW-4 Advantages and Students will learn as Power point Same news
Streams(Recursion) disadvantages of using how to arrange the presentation, Live appearing in
recursive function. input,output data with demonstration on different
proper format compiler newspapers can
and understand the serve as an
advantages of using example of
function overloading manipulators
along with recursion. where the
information is
same but is
displayed in
different
formats.
Similarly
drawing can be
considered as an
example of
overloading
where different
shapes can be
drawn.
Lecture 6 Array(Array declaration and T-1:7 RW-8 Details about basic Students will learn to Power point A list of the
processing of array with R-1:8 operations on an implement the basic presentation, Live marks of various
insert operations, Update array operations of an array demonstration on students in a
operations, Delete in C plus plus compiler class can be
operations, Search used to explain
operations) an array
Week 3 Lecture 7 Pointers, Reference T-1:5 and 10 RW-3 Detail of pointer type is Students will learn Power point An example of
Variables and String to be discussed. about the advantages presentation, Live students
Concepts(Use of pointer and of using pointers in demonstration on standing for a
reference variables, Void the program compiler morning prayer
pointer) in a school with
a line monitor
pointing to
various students
in the line can
be used as an
example
Lecture 8 Pointers, Reference T-1:10 RW-9 Arithmetic operations The students will Power point
Variables and String on pointer and specific learn about the presentation, Live
Concepts(Pointer arithmetic, type of pointers various arithmetic demonstration on
Pointer to pointer, Possible operations on compiler
problems with the use of pointers and the types
pointers - Dangling pointer, of pointers
Wild pointer, Null pointer
assignment)
Lecture 9 Pointers, Reference T-1:5 RW-2 Use of various function Students will learn Power point
Variables and String calls along with about the difference presentation, Live
Concepts(Call by value, Call differences between between call by value demonstration on
by address and call by them and call by reference compiler
reference)
Week 4 Lecture 10 Pointers, Reference T-1:7 RW-11 Use of String class and Students will learn Power point Name, address
Variables and String its objects about the string class presentation, Live of a person can
Concepts(The Standard C++ and its objects in real demonstration on be used as an
string class-defining and programming compiler example to
assigning string objects) explain strings
Lecture 11 Structured Data Types and T-1:6 RW-11 Description of data Students will learn Power point The example of
Classes(Creating classes, members about the classes and presentation, Live cars can be
Class objects, Accessing and member functions in the various access demonstration on treated as a class
class members) the specifiers compiler and a particular
class model of a car
can be used as
an object of the
class cars
Lecture 12 Structured Data Types and T-1:6 RW-2 Usage of various Students will learn Power point
Classes(Dynamic member functions and about the various presentation, Live
constructors , Inline and their definitions type of member demonstration on
Non-inline member functions and their compiler
functions,Static data advantages
members and static member
functions, Initializer lists)
Week 5 Lecture 13 Quiz,Test1
Lecture 14 Structured Data Types and T-1:7 and 10 RW-2 Creating an Students will learn to Power point If car is treated
Classes(Array of objects, array of objects, pointers work on a number of presentation, Live as a class, then a
Classes containing pointers, and objects objects demonstration on showroom
Pointer to objects, this compiler having various
pointer) models of cars
can be used as
an example of
an array of
objects
Lecture 15 Structured Data Types and T-1:6 and 10 RW-11 L15: Usage of pointers Students will learn Power point
Classes(Pointers and classes, and classes the advantages of presentation, Live
Pointer to L16: constructor defining a member demonstration on
an object, Pointer to a member functions function in line with compiler
member) the object oriented
concepts as well as
pointers
Structured Data Types and T-1:6 and 10 RW-2 L15: Usage of pointers Students will learn Power point
Classes(Manager functions RW-11 and classes the advantages of presentation, Live
(constructors and L16: constructor defining a member demonstration on
destructor), Default member functions function in line with compiler
constructor,Parametrized the object oriented
constructor,Copy concepts as well as
constructor,Constructor with pointers
default arguments)
Week 6 Lecture 16 Structured Data Types and T-1:6 and 10 RW-2 L15: Usage of pointers Students will learn Power point
Classes(Manager functions RW-11 and classes the advantages of presentation, Live
(constructors and L16: constructor defining a member demonstration on
destructor), Default member functions function in line with compiler
constructor,Parametrized the object oriented
constructor,Copy concepts as well as
constructor,Constructor with pointers
default arguments)
Structured Data Types and T-1:6 and 10 RW-11 L15: Usage of pointers Students will learn Power point
Classes(Pointers and classes, and classes the advantages of presentation, Live
Pointer to L16: constructor defining a member demonstration on
an object, Pointer to a member functions function in line with compiler
member) the object oriented
concepts as well as
pointers
Lecture 17 Structured Data Types and T-1:6 and 11 RW-11 Destructor member Students will come to Power point A friend has
Classes(Destructors) functions of a class and know as how to presentation, Live access to some
use of friend function in deallocate memory demonstration on of our things.
OOPS allocated by a compiler This can be
program constructor and taken as an
know about the usage example to
of private data explain the
members of one class friend function.
into another

Structured Data Types and T-1:6 and 11 RW-2 Destructor member Students will come to Power point A friend has
Classes(Friend of a class functions of a class and know as how to presentation, Live access to some
(friend function and friend use of friend function in deallocate memory demonstration on of our things.
class)) OOPS program allocated by a compiler This can be
constructor and taken as an
know about the usage example to
of private data explain the
members of one class friend function.
into another

Lecture 18 Operator Overloading and T-1:8 RW-7 Using operators Students will learn Power point The operator '+'
Type Conversion(Operator R-3:7 with user defined data about using the class presentation, Live performs
Overloading (unary type. objects as operands demonstration on addition on
operator, binary operator compiler integers and
overloading)) concatenates
two strings. This
can be used as
an example of
operator
overloading.
Week 7 Lecture 19 Operator Overloading and T-1:8 RW-2 Process of conversion in Students will learn as Power point
Type Conversion(Type R-3:7 SW-1 the case of user defined to how can objects of presentation, Live
conversions - basic type to data types one class can be demonstration on
class type, class type to converted into basic compiler
basic type) data types, basic data
types into class
objects and one class
object into another
class object
Operator Overloading and T-1:8 RW-4 Process of inter Students will learn as Power point
Type Conversion(Type conversion in the case of to how can objects of presentation, Live
conversions - Class type to user defined data types one class can be demonstration on
another class type) converted into basic compiler
data types, basic data
types into class
objects and one class
object into another
class object

SPILL OVER
Week 7 Lecture 20 Spill Over
Lecture 21 Spill Over

MID-TERM
Week 8 Lecture 22 Inheritance and Aggregation T-1:6 and 9 RW-11 The usage of const Students will learn as Power point
(Aggregation concepts, The keyword to which parts can be presentation, Live
const keyword) accessed and which demonstration on
all cannot be compiler
accessed in
inheritance
Lecture 23 Inheritance and Aggregation T-1:9 RW-11 Different types of Students will Power point
(Inheritance Basics, Types R-1:12 inheritance and their understand the presentation, Live
(simple, multi-level, usage importance of demonstration on
multiple and hierarchical)) inheritance and the compiler
reusability concepts
in various scenarios
Lecture 24 Inheritance and Aggregation T-1:9 RW-11 The various access Students will learn Power point A best friend
(Modes (private, protected, specifiers which also about the different presentation, Live can access many
public inheritance)) help us in hiding or modes of inheritance demonstration on belongings as
restricting the data compiler compared to
other friends.
This can be used
as an example of
access specifiers
Week 9 Lecture 25 Quiz,Test2
Lecture 26 Inheritance and Aggregation T-1:9 RW-6 Assigning the values of Students will learn Power point
(Object slicing, Object one type of object to about some of the presentation, Live
composition and delegation) another based on features of objects demonstration on
inheritance based on inheritance compiler
Week 9 Lecture 27 Inheritance and Aggregation T-1:9 RW-2 Usage of overriding Students will learn Power point
(Overriding member RW-11 within base and derived about the role of presentation, Live
functions, Order of class based on overriding in the case demonstration
execution of constructors inheritance of inheritance using compiler
and destructors)
Week 10 Lecture 28 Inheritance and Aggregation T-1:9 and 11 RW-11 Ambiguity finding and Students will learn Power point
(Resolving ambiguities in resolution in inheritance about the advantages presentation, Live
inheritance, Virtual base of virtual base class demonstration on
class) and scope resolution compiler
operator to resolve
ambiguities
Lecture 29 Dynamic Memory T-1:10 RW-5 Allocation of memory at Students will learn as Power point
Management(Dynamic the run time and how to allocate presentation, Live
memory allocation using memory leak problem memory at run time demonstration on
new and delete operators) encountered due to as per the compiler
improper usage. learning requirements and
of programming how to deallocate or
concepts with data delete the allocated
structures memory. They will
also learn to avoid
the problems which
are associated with
improper usage and
about the
implementation
of linked list.
Dynamic Memory T-1:10 RW-5 Allocation of memory at Students will learn as Power point
Management(Memory leak the run time and how to allocate presentation, Live
and allocation failures) memory leak problem memory at run time demonstration on
encountered due to as per the compiler
improper usage. learning requirements and
of programming how to deallocate or
concepts with data delete the allocated
structure memory. They will
also learn to avoid
the problems which
are associated with
improper usage and
about the
implementation
of linked list.
Week 10 Lecture 29 Dynamic Memory T-1:10 RW-5 Allocation of memory at Students will learn as Power point Students sitting
Management(Self-referential the run time and how to allocate presentation, Live in chairs at
classes) memory leak problem memory at run time demonstration on empty rows in a
encountered due to as per the compiler hall where each
improper usage. requirements and student knows
Students will also learn how to deallocate or where his/her
to delete the allocated classmate is
combine programming memory. They will sitting can be
concepts with data also learn to avoid used as an
structures the problems which example of
are associated with linked list
improper usage and
about the
implementation
of linked list.
Lecture 30 Polymorphism and Data File T-1:11 RW-10 Polymorphism feature of Students will learn Power point
Operations(Virtual about the difference presentation, Live
destructors, Compile and run OOPS, Difference between late binding demonstration on
time polymorphism) between compile time and early binding, compiler
and runtime virtual destructor and
polymorphism, Role of its usage
virtual functions and
abstract classes

Polymorphism and Data File T-1:11 RW-10 Polymorphism feature of Students will learn Power point
Operations(Virtual about the difference presentation, Live
functions, Pure virtual OOPS, Difference between late binding demonstration on
functions, Abstract classes) between compile time and early binding, compiler
and runtime virtual destructor and
polymorphism, Role of its usage
virtual functions and
abstract classes

Polymorphism and Data File T-1:11 RW-10 Polymorphism feature of Students will learn Power point
Operations(Early binding about the difference presentation, Live
and late binding) OOPS, Difference between late binding demonstration on
between compile time and early binding, compiler
and runtime virtual destructor and
polymorphism, Role of its usage
virtual functions and
abstract classes

Week 11 Lecture 31 Polymorphism and Data File T-1:12 RW-11 Usage of files to store Students will learn Power point
Operations(Opening and R-2:16 and retrieve data about opening and presentation, Live
closing of files, Modes of closing files and the demonstration on
file, File stream functions) various modes in compiler
which they can be
opened
Lecture 32 Polymorphism and Data File T-1:12 RW-11 Reading and writing Students will learn to Power point
Operations(Reading/Writing from and to the files read data from and presentation, Live
of files) write data to files demonstration on
compiler
Week 11 Lecture 33 Polymorphism and Data File T-1:12 RW-11 Accessing the files Students will learn Power point
Operations(Sequential sequentially and about random and presentation, Live
access and random access randomly. sequential access in demonstration on
file processing) files. compiler
Polymorphism and Data File T-1:12 RW-11 Performing data Student will learn Power point
Operations(Binary file operations in a binary how to read and write presentation, Live
operations) file into binary files demonstration on
compiler
Week 12 Lecture 34 Quiz,Test3
Lecture 35 Polymorphism and Data File T-1:12 and 15 RW-11 Reading and writing an Students will learn Power point
Operations(Classes and file entire object in a file, about reading and presentation, Live
operations, Structures and use of Standard template writing an object into demonstration on
file operations) library a file and will come compiler
to know about the
features of Standard
template library
Lecture 36 Templates and Exception T-1:14 RW-2 Use of generic Students will learn Power point
Handling(Function template programming to solve about the generic presentation, Live
and class template,Class programming problems functions and generic demonstration on
template with inheritance) classes which work at compiler
run time
Week 13 Lecture 37 Templates and Exception T-1:14 RW-2 Use of exception Students will Power point
Handling(Basics of R-3:13 handling to handle run understand about the presentation, Live
exception handling, time methods of error demonstration on
Exception handling errors handling compiler
mechanism)
Lecture 38 Templates and Exception T-1:14 RW-2 Dealing with multiple Students will learn to Power point
Handling(Throwing run time errors build exception presentation, Live
mechanism, Catching handling concepts as demonstration on
mechanism) well as catching compiler
multiple runtime
errors
Templates and Exception T-1:14 RW-2 Dealing with multiple Students will learn to Power point
Handling(Rethrowing an RW-11 run time errors build exception presentation, Live
exception) handling concepts as demonstration on
well as catching compiler
multiple runtime
errors
Lecture 39 The Standard Template T-1:15 RW-2 Advanced features of C Students will come Power point
Library(Introduction to STL- plus plus namely to know about the presentation, Live
Containers, Algorithms and Standard template features of Standard demonstration on
iterators) library template library compiler
Week 14 Lecture 40 The Standard Template T-1:15 RW-2 Use of vector and list Students will learn Power point
Library(Container - Vector R-3:14 containers in programs about the usage of presentation, Live
and List) vector and list demonstration on
containers compiler

SPILL OVER
Week 14 Lecture 41 Spill Over
Week 14 Lecture 42 Spill Over
Week 15 Lecture 43 Spill Over
Lecture 44 Spill Over
Lecture 45 Spill Over

Scheme for CA:


Component Frequency Out Of Each Marks Total Marks
Quiz,Test 2 3 10 20
Total :- 10 20

Details of Academic Task(s)


AT No. Objective Topic of the Academic Task Nature of Academic Task Evaluation Mode Allottment /
(group/individuals/field submission Week
work
Test1 To test the Test will be purely analytical based on the topics covered upto Individual Depends on the 4/5
performance of the week 4 and duration of test is 45 minutes.Question should be questions attempted
student multiple of 5 marks and answers given
by the students
Quiz1 To encourage the In a quiz (MCQ based Test) the questions must be so framed that Individual Based on the 7/9
students to do an student is not able to answer through sheer guess work. Each performance of
indepth study of the question must require some sought of analysis. The time limit individual students
concepts should be decided carefully according to the complexity of
questions and number of questions per test.Negative marking
should be done to avoid guess work. The topics of quiz 1 are the
topics covered from week 5 to week 8
Quiz2 To encourage the In a quiz (MCQ based Test) the questions must be so framed that Individual Based on the 11 / 12
students to do an student is not able to answer through sheer guess work. Each performance of an
extensive study of question must require some sought of analysis. The time limit individual student
the topics taught as should be decided carefully according to the complexity of
part of the course questions and number of questions per test.Negative marking
should be done to avoid guess work.the topics of quiz 2 which are
covered from week 9 to week 11

Вам также может понравиться