Object Oriented Programming through C++

 


LESSON PLAN

Subject : OBJECT ORIENTED PROGRAMMING THROUGH C++

Year : II B-Tech

Semester : I

Branch : IT       

Faculty : G. Durvasi

Reg : R19

Academic Year : 2020-21

 

 COURSE OBJECTIVES:

·         Describe the procedural and object oriented paradigm with concepts of streams, classes, functions, data and objects

·         Understand dynamic memory management techniques using pointers, constructors, destructors, etc

·         Describe the concept of function overloading, operator overloading, virtual functions and polymorphism

·         Classify inheritance with the understanding of early and late binding, usage of exception handling, generic programming

·         Demonstrate the use of various OOPs concepts with the help of programs

 

 

COURSE OUTCOMES :

 

1.

Factual

CO1: Able to Classify object oriented programming and procedural programming

 

2.

Conceptual

CO2: Able to Identify the role of Classes &Objects, constructors &destructors in program design

 

3.

Procedural

CO3: Able to Apply C++ features such as composition of objects, operator overloads, dynamic memory allocation, inheritance and polymorphism, file I/O, exception handling

 

4.

Applied

CO4: Able to Design & implement various forms of inheritance and analyze how base class constructors are called.

CO5 : Able to Build C++ classes using appropriate encapsulation and design principles

CO6: Apply object oriented or non-object oriented techniques to solve bigger computing problems

 

 

 

 

TEXT BOOKS:

1. A First Book of C++, Gary Bronson, Cengage Learning.

2. The Complete Reference C++, Herbert Schildt, TMH.

 

 

REFERENCE BOOKS:

1. Object Oriented Programming C++, Joyce Farrell, Cengage.

2. C++ Programming: from problem analysis to program design, DS Malik, Cengage Learning.

3.  Programming in C++, Ashok N Kamthane, Pearson 2nd Edition.

 

 

e- Resources:

1.      https://nptel.ac.in/courses/106/105/106105151/

2.       https://github.com/topics/object-oriented-programming

 

 

SOFTWARE LINKS:

 

TurboC++ for

1.      Windows: http://www.developerinsider.in/turbocpp

2.      Ubuntu: http://www.turboc8.com/2013/11/turbo-c-for-ubuntulinux-using-dosbox.html

 

 

 

 

UNIT – 1  :  Introduction to C++                                                                [Total Classes : 08]

 

Activity:

 

 

 

1

 

 

Factual

 

Reading Prerequisite concepts- programming paradigms, Basics of C

Videos of C programming model

Videos of object oriented programming models

Referring the content on the Internet

 

 

2

 

 

Conceptual

Video Lectures related to structure of various programming models, key concepts in oops

NPTEL Videos

Links from the Internet

Examples

 

3

 

Procedural

Refer to text book content

 

 

4

 

 

Applied

 

             Solving Exercises

Implementing Programs

Assignments

Quiz etc…

 

 

 

Activity / Schedule of UNIT-1 :

 

Pre-Class : Videos, E-books, Web links, Case Studies etc…

In-Class : Explanation on concept, discussion, Poll, doubts clarification, PPT, Demo etc..

Post-Class : Discussion Forum, Review on topic, Assessment, Quiz, Notes etc….

 

 

 

 

CLASS

SL NO

 

CONCEPT

 

OBJECTIVES

PRE-CLASS

 

IN-CLASS

 

POST-CLASS

 

1.

 

Difference between C and C++

 

 

 

To understand the difference between C and C++

Video Link : https://www.youtube.com/watch?v=KJgsSFOSQv0

 

Text Book : Pdf (e-book) Upload

 

Web Link : https://beginnersbook.com/2014/01/c-tutorial-for-beginners-with-examples/

 

Discussion on pre-requisites (10 Min)

 PPT  presentation

         (30 Min)

Discussion or

Poll activity

         (5 min)

Summery (5min)

Doubts clari-fication (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

2.

 

Evaluation of C++

 

To understand how C++ is implemented 

 

 

Video Link :

Structured Programming: https://www.youtube.com/watch?v=qpUQpxpeixA

 

Text Book : Pdf (e-book) Upload

 

Web Link : https://www.codeavail.com/Structured-Programming-Language

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (20 min)

Example (10 min)

Doubts clarification

        (10 min)

.

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

3

 

The Object Oriented Technology, Disadvantage of Conventional Programming

To understand difference between object oriented technology and conventional programming language

 

Video Link :

Programming Paradigms:

https://www.youtube.com/watch?v=cgVVZMfLjEI

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://cs.lmu.edu/~ray/notes/paradigms/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (20 min)

Example (15 min)

 

Doubts clarification

        (10 min)

.

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

4.

 

Key Concepts of Object Oriented Programming

(Classes, Objects)

 

To Understand the concepts of object oriented programming

Video Link :

C Structures:

https://www.youtube.com/watch?v=zmRxC7gYw-g&list=PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR&index=149

Structure Variables :

https://www.youtube.com/watch?v=3pFSbSVIwKU&list=PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR&index=150

Text Book : Pdf (e-book) Upload

 

Web Link : https://www.programiz.com/c-programming/c-structures

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (20 min)

Example (15 min)

 

Doubts clarification

        (10 min)

.

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

5.

 

Key Concepts of Object Oriented Programming

(Data Abstraction , Encapsulation)

 

 

To Understand the concepts of object oriented programming

Video Link :

C-Scope Rules

https://www.youtube.com/watch?v=Rj6v_BWpsFs

 

 

Text Book : Pdf (e-book) Upload

 

Web Link : https://www.tutorialspoint.com/cprogramming/c_scope_rules.htm

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (20 min)

Example (15 min)

 

Doubts clarification

        (10 min)

.

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

6.

 

Key Concepts of Object Oriented Programming

(Polymorphism, inheritance, Dynamic binding)

 

To Understand the concept of  Object oriented programming

Video Link :

C Functions:

https://www.youtube.com/watch?v=3lqgdqoY83o&list=PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR&index=60

 

Text Book : Pdf (e-book) Upload

 

Web Link : https://www.tutorialspoint.com/cprogramming/c_functions.htm

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (20 min)

Example (15 min)

 

Doubts clarification

        (10 min)

.

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

Exercises to solve

 

 

7.

Key Concepts of Object Oriented Programming

( Dynamic binding, Message Passing)

 

 

To Understand the concept of  Generic Methods

Video Link : https://www.youtube.com/results?search_query=function+parameters+in+c

 

 

Text Book : Pdf (e-book) Upload

 

Web Link : https://www.tutorialspoint.com/cprogramming/c_functions.htm

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (20 min)

Example (15 min)

 

Doubts clarification

        (10 min)

.

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

Exercises to solve

 

 

8.

 

Advantage of OOP

 

 Object Oriented Language

 

 

Able to solve Examples on Generic Methods

Video Link :

Programming Paradigm:

https://www.youtube.com/watch?v=Ps8jOj7diA0

 

Text Book : Pdf (e-book) Upload

 

Web Link : https://cs.lmu.edu/~ray/notes/paradigms/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (20 min)

Example (15 min)

 

Doubts clarification

        (10 min)

.

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

Exercises to solve

 

 

 

 

UNIT – 2  :  Classes and Objects &Constructors and Destructor            [Total Classes : 14]

 

Activity:

 

 

 

1

 

 

Factual

 

Reading Prerequisite  concepts- oops concepts

Videos related to oops concepts

Referring the content on the Internet

 

 

2

 

 

Conceptual

Video Lectures related to classes, inheritance, polymorphism, dynamic binding

NPTEL Videos

Links from the Internet

Explained Examples from Internet

 

3

 

Procedural

Refer to text book content

Understanding the class strctures

Installation of software and Procedure to run programs

Syntax with examples(simple to complex)

 

 

4

 

 

Applied

 

              Installation demo / Video demo

Implementing Programs

Assignments

Quiz etc…

 

 

Activity / Schedule of UNIT-2 :

 

Pre-Class : Videos, E-books, Web links, Case Studies etc…

In-Class : Explanation on concept, discussion, Poll, doubts clarification, PPT, Demo etc..

Post-Class : Discussion Forum, Review on topic, Assessment, Quiz, Notes etc….

 

 

CLASS

SL NO

 

CONCEPT

 

OBJECTIVES

PRE-CLASS

 

IN-CLASS

 

POST-CLASS

1.

Programming examples using C

 

 

To revise the structure of a C program.

Video Link :

C basics:

https://www.youtube.com/watch?v=zmRxC7gYw-g&list=PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR&index=149

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.programiz.com/c-programming

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

Practicing Some Problems (35 min)

 

 

Doubts clarification

        (5 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

2.

 

Introduction to C++ program structure

 

Classes in C++- Declaring Objects

To understand the structure of a C++ program

 

To understand structure of a class in C++

 

To learn how to define a class and class variables in C++

 

 

Video Link :

C Structures:

https://www.youtube.com/watch?v=zmRxC7gYw-g&list=PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR&index=149

Structure Variables :

https://www.youtube.com/watch?v=3pFSbSVIwKU&list=PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR&index=150

Text Book : Pdf (e-book) Upload

 

Web Link : https://www.programiz.com/c-programming/c-structures

Discussion on pre-requisites (10 Min)

 PPT  presentation

         (30 Min)

Discussion or

Poll activity

         (5 min)

Summery (5min)

Doubts clari-fication (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

3.

 

Access Specifiers and their Scope

 

To learn how to access class members in c++

 

Video Link :

Classes in C++:

https://www.youtube.com/watch?v=dkxaeZFswPM

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_classes.asp

 

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

4.

 

Defining Member Function

 

To understand the syntax of a member function

 

To learn how to define and invoke a member function in a class.

Video Link :

C Functions:

https://www.youtube.com/watch?v=3lqgdqoY83o&list=PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR&index=60

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cprogramming/c_functions.htm

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

5.

Programming with classes and objects

To apply the concepts of classes and objects in C++

Video Link :

Classes in C++:

https://www.youtube.com/watch?v=dkxaeZFswPM

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_classes.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

Practicing Some Problems (35 min)

 

 

Doubts clarification

        (5 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

6.

Programming with classes and objects

To apply the concepts of classes and objects in C++

Video Link :

Classes in C++:

https://www.youtube.com/watch?v=dkxaeZFswPM

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_classes.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

Practicing Some Problems (35 min)

 

 

Doubts clarification

        (5 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

7.

Overloading Member Function,

To understand to syntax of a overloaded function

 

To learn how to overload a function in cpp

 

 

Video Link :

C Functions:

https://www.youtube.com/watch?v=3lqgdqoY83o&list=PLBlnK6fEyqRggZZgYpPMUxdY1CYkZtARR&index=60

C++ Function:

https://www.youtube.com/watch?v=p8ehAjZWjPw

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cprogramming/c_functions.htm

 

https://www.w3schools.com/cpp/cpp_functions.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

8.

Nested class

To learn how to create a class with in another class

Video Link :

Classes in C++:

https://www.youtube.com/watch?v=dkxaeZFswPM

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_classes.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

9.

Introduction to Constructors and Destructor

 

 

To learn how to create a class with the constructors and Destructors

 

Video Link :

Classes in C++:

https://www.youtube.com/watch?v=dkxaeZFswPM

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_classes.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

10.

Characteristics of Constructor and Destructor

To understand properties of the constructors and destructors

Video Link :

Classes in C++:

https://www.youtube.com/watch?v=dkxaeZFswPM

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_classes.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

11.

Application with Constructor

To learn the usage  of constructor and destructors

Video Link :

Constructors:

https://www.youtube.com/watch?v=FXhALMsHwEY

 

Destructors:

https://www.youtube.com/watch?v=D8cWquReFqw

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cplusplus/cpp_constructor_destructor.htm

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

12.

Constructor with Arguments

To understand the syntax of a constructor with arguments

 

To learn how to define a constructor in a class with arguments

Video Link :

Constructors:

https://www.youtube.com/watch?v=FXhALMsHwEY

 

Destructors:

https://www.youtube.com/watch?v=D8cWquReFqw

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cplusplus/cpp_constructor_destructor.htm

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

13.

Programming with constructors and destructors

To apply the concept of constructors and destructors in programs

Video Link :

Constructors:

https://www.youtube.com/watch?v=FXhALMsHwEY

 

Destructors:

https://www.youtube.com/watch?v=D8cWquReFqw

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cplusplus/cpp_constructor_destructor.htm

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

Practicing Some Problems (35 min)

 

 

Doubts clarification

        (5 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

14.

Anonymous Objects

To understand anonymous objects

Video Link :

Constructors:

https://www.youtube.com/watch?v=FXhALMsHwEY

 

Destructors:

https://www.youtube.com/watch?v=D8cWquReFqw

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cplusplus/cpp_constructor_destructor.htm

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

 

UNIT – 3  :  Operator Overloading and Type Conversion & Inheritance [Total Classes : 15]

 

 

Activity:

 

 

 

1

 

 

Factual

 

Reading Prerequisite  concepts- list operators, function definitions

Videos related to operators and functions

Referring the content on the Internet

 

 

2

 

 

Conceptual

Video Lectures related to operators and overloading

NPTEL Videos

Links from the Internet

Explained Examples from Internet

 

3

 

Procedural

Refer to text book content

Understanding the concept by implementation

Syntax with examples(simple to complex)

 

 

4

 

 

Applied

 

            Implementing Programs,

Configuration of files etc

Assignments

Quiz etc…

 

 

Activity / Schedule of UNIT-3 :

 

Pre-Class : Videos, E-books, Web links, Case Studies etc…

In-Class : Explanation on concept, discussion, Poll, doubts clarification, PPT, Demo etc..

Post-Class : Discussion Forum, Review on topic, Assessment, Quiz, Notes etc….

 

 

 

 

CLASS

SL NO

 

CONCEPT

 

OBJECTIVES

PRE-CLASS

 

IN-CLASS

 

POST-CLASS

 

1.

Operator overloading

Basics

To understand the concept of operator overloading

 

To learn the syntax of overloading an operator

Video Link :

Operators:

https://www.youtube.com/watch?v=AZvKbSdvoRU

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_operators.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

2.

Operator overloading

Unary

To apply the concept of operator overloading on unary operators

Video Link :

Unary Operators:

https://www.youtube.com/watch?v=AZvKbSdvoRU

 

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/Unary-operator-in-Cplusplus

 

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

3

Operator overloading

Assignment

To apply the concept of operator overloading on binary operators

Video Link :

Assignment Operators:

https://www.youtube.com/watch?v=AZvKbSdvoRU

 

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cplusplus/cpp_assignment_operators.htm

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

4

Rules for Overloading

 operators

To understand the rules to be followed to  overload operator

Video Link :

Operator overloading:

https://www.youtube.com/watch?v=BO2KagRMS3M

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cplusplus/cpp_overloading.htm

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

5

 

Operator Return Type

To learn how to return a data  in operator overloading

Video Link :

Operator overloading:

https://www.youtube.com/watch?v=BO2KagRMS3M

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cplusplus/cpp_overloading.htm

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

6

 

Programming examples – Operator Overloading

 

To apply the concept of operator overloading on various operators

Video Link :

Operator overloading:

https://www.youtube.com/watch?v=BO2KagRMS3M

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cplusplus/cpp_overloading.htm

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

7

Inheritance

 

Reusability

To understand the concept inheritance

 

To understand the advantages of inheritance

Video Link :

Classes in C++:

https://www.youtube.com/watch?v=dkxaeZFswPM

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_classes.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

8

Types of Inheritance

(Single inheritance)

 

To understand the types of inheritance

 

To apply the concept of Single inheritance in programs

Video Link :

Classes in C++:

https://www.youtube.com/watch?v=dkxaeZFswPM

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_classes.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

9

Types of Inheritance

 

(Multiple Inheritance)

To understand the types of inheritance

 

To apply the concept of Multiple inheritance in programs

Video Link :

Classes in C++:

https://www.youtube.com/watch?v=dkxaeZFswPM

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_classes.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

10

Types of Inheritance

 

(Multilevel inheritance)

To understand the types of inheritance

 

To apply the concept of Multilevel inheritance in programs

Video Link :

Classes in C++:

https://www.youtube.com/watch?v=dkxaeZFswPM

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_classes.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

11

Types of Inheritance

 

(Hierarchical, Hybrid inheritance)

To understand the types of inheritance

 

To apply hierarchical and hybrid inheritance in programs

Video Link :

Classes in C++:

https://www.youtube.com/watch?v=dkxaeZFswPM

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_classes.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

12

 

Virtual Base

Classes

 

 

To understand the concept of Virtual Base class

 

To learn the syntax of a virtual base class

Video Link :

Inheritance:

https://www.youtube.com/watch?v=rr7HVs4d1Qo

 

 

Text Book : Pdf (e-book) Upload

 

 

Web Link :

https://www.geeksforgeeks.org/inheritance-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

13

 

Object as a Class Member

 

 

 

To understand the concept of object as a class member

Video Link :

Inheritance:

https://www.youtube.com/watch?v=rr7HVs4d1Qo

 

 

Text Book : Pdf (e-book) Upload

 

 

Web Link :

https://www.geeksforgeeks.org/inheritance-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

14

Abstract Classes

To understand the concept and syntax of abstract class

Video Link :

Inheritance:

https://www.youtube.com/watch?v=rr7HVs4d1Qo

 

 

Text Book : Pdf (e-book) Upload

 

 

Web Link :

https://www.geeksforgeeks.org/inheritance-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

15

Advantages of Inheritance-Disadvantages of Inheritance

To understand advantages and disadvantages of inheritance

Video Link :

Inheritance:

https://www.youtube.com/watch?v=rr7HVs4d1Qo

 

 

Text Book : Pdf (e-book) Upload

 

 

Web Link :

https://www.geeksforgeeks.org/inheritance-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

 

UNIT – 4  :  Pointers & Binding Polymorphisms and Virtual Functions  [Total Classes : 12]

 

 

Activity:

 

 

 

1

 

 

Factual

Reading Prerequisite  concepts- pointers in c, static binding

Videos related to dynamic memory, functions, classes

Referring the content on the Internet

 

 

2

 

 

Conceptual

Video Lectures related  polymorphism

NPTEL Videos

Links from the Internet

Explained Examples from Internet

 

3

 

Procedural

Refer to text book content

Understanding the concept by implementation

Syntax with examples(simple to complex)

 

 

4

 

 

Applied

 

            Implementing Programs,

Configuration of files etc

Assignments

Quiz etc…

 

 

Activity / Schedule of UNIT-4 :

 

Pre-Class : Videos, E-books, Web links, Case Studies etc…

In-Class : Explanation on concept, discussion, Poll, doubts clarification, PPT, Demo etc..

Post-Class : Discussion Forum, Review on topic, Assessment, Quiz, Notes etc….

 

 

 

CLASS

SL NO

 

CONCEPT

 

OBJECTIVES

PRE-CLASS

 

IN-CLASS

 

POST-CLASS

 

1.

Pointer

 

Features of Pointers,

To understand the concept pointer

 

 

Video Link :

Pointers in c:

https://www.youtube.com/watch?v=sY-s7O0FiYE

 

Dynamic Memory:

https://www.youtube.com/watch?v=udfbq4M2Kfc&list=RDCMUCQYMhOMi_Cdj1CEAU-fv80A&start_radio=1&t=20

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.javatpoint.com/c-pointers

 

https://www.programiz.com/c-programming/c-dynamic-memory-allocation

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

2.

Pointer Declaration,

 

Pointer to Class

 

 

To learn the syntax of pointer to a variable

 

To learn the syntax of pointer to a class

 

Video Link :

Pointers in c:

https://www.youtube.com/watch?v=sY-s7O0FiYE

Classes  in C++:

https://www.youtube.com/watch?v=6Q0Cff29YwU

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.javatpoint.com/c-pointers

 

https://www.programiz.com/cpp-programming/object-class

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

3.

Pointer Object

To learn the syntax of pointer objects

 

To apply pointer concept to classes

Video Link :

Pointers in c:

https://www.youtube.com/watch?v=sY-s7O0FiYE

Classes  in C++:

https://www.youtube.com/watch?v=6Q0Cff29YwU

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.javatpoint.com/c-pointers

 

https://www.programiz.com/cpp-programming/object-class

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

4.

this Pointer

To understand the concept of ‘this’ pointer

 

To apply ‘this’ pointer in programming

Video Link :

Pointers in c++:

https://www.tutorialspoint.com/cplusplus/cpp_pointers.htm

 

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.youtube.com/watch?v=W0aE-w61Cb8

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

5.

Pointer to Derived Classes and Base Class

To learn the syntax to declare pointer to derived classes and base class

Video Link :

Pointers in c++:

https://www.tutorialspoint.com/cplusplus/cpp_pointers.htm

 

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.youtube.com/watch?v=W0aE-w61Cb8

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

6.

Programming in Pointer to Derived Classes and Base Class

To apply the concept of on pointer to derived and base classes

Video Link :

Pointers in c++:

https://www.tutorialspoint.com/cplusplus/cpp_pointers.htm

 

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.youtube.com/watch?v=W0aE-w61Cb8

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

7.

Programming in Pointer to Derived Classes and Base Class

To apply the concept of on pointer to derived and base classes

Video Link :

Pointers in c++:

https://www.tutorialspoint.com/cplusplus/cpp_pointers.htm

 

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.youtube.com/watch?v=W0aE-w61Cb8

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

8.

Binding in C++

To understand the concept of dynamic binding

Video Link :

Compile time and runtime basics:

https://www.youtube.com/watch?v=iVgxH2V_4YI

https://www.youtube.com/watch?v=QJ0yqbkyFHk

 

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.javatpoint.com/compile-time-vs-runtime

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

9.

programming examples

To implement  programs with dynamic binding

Video Link :

Dynamic binding:

https://www.youtube.com/watch?v=m9p_shyDhY0

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/early-binding-and-late-binding-in-cplusplus

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

10.

Virtual Functions,

To understand the concept of virtual function

 

To implement programs with virtual functions

Video Link :

Functions:

https://www.youtube.com/watch?v=p8ehAjZWjPw

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cplusplus/cpp_functions.htm

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

11.

Rules for Virtual Function

To understand rules for virtual functions

Video Link :

Functions:

https://www.youtube.com/watch?v=p8ehAjZWjPw

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/cplusplus/cpp_functions.htm

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

12.

Virtual Destructor

To understand the concept of Virtual Destructors

 

To apply virtual destructor in the programs

Video Link :

Destructor:

https://www.tutorialspoint.com/destructors-in-cplusplus

Virtual Function:

https://www.youtube.com/watch?v=JU8DbwBvOWE

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/destructors-in-cplusplus

 

https://www.geeksforgeeks.org/virtual-function-cpp/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

UNIT – 5  :  Generic Programming with Templates                                 [Total Classes : 16]

 

 

Activity:

 

 

 

1

 

 

Factual

 

Reading Prerequisite  concepts- basics of programming

Videos related to macros

Referring the content on the Internet

 

 

2

 

 

Conceptual

Video Lectures related to generic programming

NPTEL Videos

Links from the Internet

Explained Examples from Internet

 

3

 

Procedural

Refer to text book concepts

Understanding the architectures

Installation and Procedure

Syntax with examples(simple to complex)

 

 

4

 

 

Applied

 

             

Implementing Programs

Assignments

Quiz etc…

 

 

Activity / Schedule of UNIT-5 :

 

Pre-Class : Videos, E-books, Web links, Case Studies etc…

In-Class : Explanation on concept, discussion, Poll, doubts clarification, PPT, Demo etc..

Post-Class : Discussion Forum, Review on topic, Assessment, Quiz, Notes etc….

 

 

 

CLASS

SL NO

 

CONCEPT

 

OBJECTIVES

PRE-CLASS

 

IN-CLASS

 

POST-CLASS

 

1.

Introduction to Generic Programming with template

To understand the concept of templates

Video Link :

Macros:

https://www.youtube.com/watch?v=-AcD3YpyFek

 

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.programiz.com/c-programming/c-preprocessor-macros

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

2.

Need for Templates

To understand the need of templates

Video Link :

https://www.youtube.com/watch?v=cki2wRkhAWQ

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.geeksforgeeks.org/generics-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

3.

Normal Function Templates

To understand the concept of function template

 

To learn the syntax to define function template

Video Link :

https://www.youtube.com/watch?v=cki2wRkhAWQ

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.geeksforgeeks.org/generics-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

4.

Programming examples

To apply the concept of generic programming

Video Link :

https://www.youtube.com/watch?v=cki2wRkhAWQ

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.geeksforgeeks.org/generics-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (35 min)

 

 

Doubts clarification

        (5 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

5.

Programming examples

To apply the concept of generic programming

Video Link :

https://www.youtube.com/watch?v=cki2wRkhAWQ

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.geeksforgeeks.org/generics-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (35 min)

 

 

Doubts clarification

        (5 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

6.

Overloading of Template Function,

To understand the concept of overloading template functions

 

 

Video Link :

https://www.youtube.com/watch?v=cki2wRkhAWQ

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.geeksforgeeks.org/generics-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

7.

Bubble Sort Using Function Templates,

To apply the concept of function template

Video Link :

https://www.youtube.com/watch?v=cki2wRkhAWQ

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.geeksforgeeks.org/generics-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

8.

Difference Between Templates and Macros

To understand the difference between templates and macros

Video Link :

https://www.youtube.com/watch?v=cki2wRkhAWQ

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.geeksforgeeks.org/generics-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

9.

Linked Lists with Templates

To implement the data structure for any data type using templates

Video Link :

https://www.youtube.com/watch?v=cki2wRkhAWQ

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.geeksforgeeks.org/generics-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

10.

Programming Linked Lists with Templates

To implement the data structure for any data type using templates

Video Link :

https://www.youtube.com/watch?v=cki2wRkhAWQ

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.geeksforgeeks.org/generics-in-c/

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

11.

Exception Handling

To understand the concept of exceptions and exception handling details

Video Link :

Types of errors:

https://www.youtube.com/watch?v=Y92cxQUlxJk

 

https://www.youtube.com/watch?v=16NvIKkOSzI

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.tutorialspoint.com/What-is-the-difference-between-compile-time-errors-and-run-time-errors-in-Java

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

12.

Principles of Exception Handling

To understand the principle behind the principles of Exception Handling

Video Link :

https://www.youtube.com/watch?v=EyXXLpFriMc

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_exceptions.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

13

The Keywords try throw and catch

To understand the syntax of exception handling mechanism

Video Link :

https://www.youtube.com/watch?v=EyXXLpFriMc

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_exceptions.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

14.

Programming with exception handling

To apply try, throw and catch block to handle exceptions

Video Link :

https://www.youtube.com/watch?v=EyXXLpFriMc

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_exceptions.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (35 min)

 

 

Doubts clarification

        (5 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

15

Multiple Catch Statements –Specifying Exceptions

To understand the concept the multiple catch statements

 

To understand the syntax of the multiple catch statements

 

 

Video Link :

https://www.youtube.com/watch?v=EyXXLpFriMc

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_exceptions.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (30 min)

 

 

Doubts clarification

        (10 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

16.

Programming with multiple catch statements in exceptions

To implement a program with  multiple catch statements

Video Link :

https://www.youtube.com/watch?v=EyXXLpFriMc

 

Text Book : Pdf (e-book) Upload

 

Web Link :

https://www.w3schools.com/cpp/cpp_exceptions.asp

 

Revise previous class – (5 mins)

 

Asking Questions on previous class randomely (5 Mins)

 

PPT presentation (35 min)

 

 

Doubts clarification

        (5 min)

 

Discussion Forum on the topic in the  group

 

Review on the topic

 

Share material on the topic

 

 

 

 

Total classes:

Unit.No

Name Of The Unit

Hours Planned

Unit-1

Introduction to C++

8

Unit-2

Classes and Objects &Constructors and Destructor

14

Unit-3

Operator Overloading and Type Conversion & Inheritance

15

Unit-4

Pointers & Binding Polymorphisms and Virtual Functions

12

Unit-5

Generic Programming with Templates 

16

 

Total Hours

65

 

 

Signature of HOD

 

 

(S. Kishor Babu)

 

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Full Stack Development

What is Full Stack Development? Full Stack Development refers to the process of designing, creating testing and deploying a complete web app...