swarnandhra · 3.5 outside member functions as inline 3.6 data hiding or encapsulation 3.7 memory...
TRANSCRIPT
1
SWARNANDHRA College of Engineering &Technology (Autonomous)
Narsapur - 534 280.
DEPARTMENT OF COMPUTER & SCIENCE ENGINEERING
LESSON PLAN
COURSE OUTCOMES (COs)
At the completion of this unit students will be able to
1. Gain the basic knowledge on Object Oriented concept and i/o stream classes
2. Implement functions with parameter passing techniques.
3. Define classes and create objects and describe how to access private, public and protected
members of a class.
4. Implement constructor, destructor and operator function.
5. Use inheritance to build class hierarchies and describe the difference between late and early
binding.
6. Implement programs with sequential and random access file processing and handling exceptions.
Course
Code
Course
Title
Course
/Sem Branches
Contact
Hrs/Week
Academic
Year
16CS2T01 Object Oriented Programming
through C++ B.Tech / II
CSE, ECE,
EEE & IT 5 2017-2018
Week
No.
Course
Out
come
UNIT I
Topics/Activity
Text Book
Reference
Contact
Hours
Delivery
Method
1,2 CO:1
Introduction
1.1 The Object Oriented Technology
T1,R3 10
Chalk
&
Board
Power point
presentations
Assignment
Test
1.2 Disadvantages of Conventional
Programming
1.3 Advantages of OOP
1.4 Structure of a C++ Program
1.5 Differences between C and C++
16 Header Files and Libraries
Input & Output In C++
1.7 Streams & Classes Hierarchy
1.8 Bit Fields and Manipulators
Model Assignment
1. What are the features of Object Oriented Programming (K2: UNDERSTAND & CO:1)
2. Distinguish between Procedure Oriented Programming (POP) and Object Oriented
Programming (OOP) (K2: UNDERSTAND & CO:1)
3. List out some of the benefits of OOP. (K1: REMEMBER & CO:1)
Model Test Questions 1. What is an I/O stream ( K2: UNDERSTAND CO:1)
2. Write short notes on I/O Manipulators ( K2: UNDERSTAND & CO:1)
2
Week
No.
Course
Out
come
UNIT II
Topics/Activity
Text
Book
Reference
Contact
Hours
Delivery
Method
3,4 CO:2
2.1 Tokens in C++
T1,R2 10
Chalk
&
Board
Power point
presentations
Assignment
Test
2.2 Variable Declaration and
Initialization
2.3 Data Types and Constants
2.4 L Value and R Values
2.5 Operators in C and C++,
2.6 Reference Variable
2.7 Decision and Loop Statements
Functions in C++
2.8 Structure of a Function
2.9 Passing Arguments
2.10 Return by Reference
2.11 Default and Const
Arguments
2.12 Inputting Default Arguments
2.13 Inline Functions
2.14 Function Overloading
2.15 Recursion
Model Assignment
1. Explain how an inline function differs from a preprocessor macro? Explain significant
advantage of inline function. How is inline function different from a normal function (K3:APPLY & CO:2)
2. When do we need to use default arguments in a function. What is the main advantage of
passing arguments by reference (K3:APPLY & CO:2)
3. List at least four new operators added by C++ which aid OOP and explain the
application of the scope resolution operator :: in C++ (K2: UNDERSTAND & CO:2)
4. What is reference variable? What is its major use? Explain with a example (K2: UNDERSTAND&CO:2)
Model Test Questions
1. What is function overloading? Explain with an example program
(K2: UNDERSTAND&CO2)
2. Explain the advantages of using default arguments with example program
(K3:APPLY & CO2)
3. What is the use of scope resolution operator (K2: UNDERSTAND&CO:2)
3
Week
No.
Course
Out
come
UNIT III
Topics/Activity
Text Book
Reference
Contact
Hours
Delivery
Method
5,6
CO: 3
CLASSES AND OBJECTS
3.1 Class Definition
T1,R1,R2
10
Chalk &
Board
Power point
presentation
s
Assignment
Test
3.2 Declaring Objects
3.3 Access Specifiers & their scope
3.4 Member functions
3.5 Outside member functions as inline
3.6 Data Hiding or Encapsulation
3.7 Memory for Class and Objects
3.8 Static Member variables, Functions
and Static Object
3.9 Array of Objects
3.10 Objects as Function Arguments
3.11 Friend Function and Class
3.12 Local and Empty class
3.13 Qualifiers and Nested Classes
3.14 Member Function and Non-Member
Function
Model Assignment
1. What is static data member? What are the important characteristics of the static member
variable? Differentiate between static data member and static member functions. (K2: UNDERSTAND &CO:3)
2. Write a CPP Program to access private data using non-member functions (K3: APPLY &CO:3)
Model Test Questions
1. Difference between private & public access specifiers. (K2: UNDERSTAND&CO:3)
2. How class implements data-hiding & encapsulation? (K2: UNDERSTAND&CO:3)
3. What is a friend function and the merits & demerits of using friend function?
(K2: UNDERSTAND&CO:3)
7
MID EXAMINATION – I
4
Week
No.
Course
Out
come
UNIT IV
Topics/Activity
Text Book
Reference
Contact
Hours
Delivery
Method
8,9
CO: 4
CONSTRUCTORS
AND DESTRUCTORS
4.1 Introduction of Constructors
T1,R1,R3 10
Chalk
&
Board
Power point
presentations
Assignment
Test
4.2 Characteristics
4.3 Applications
4.4 Parameterized Constructors
4.5 Overloading Constructors
4.6 Constructor with Default Arguments
4.7 Copy Constructor and Destructors.
OPERATOR OVERLOADING
4.8 Introduction of Overloading
4.9 Overloading Unary Operators
4.10 Constraint on Increment and
Decrement Operators
4.11 Overloading Binary Operators
4.12 Overloading with Friend Functions
4.13 Overloading Assignment Operator
4.14 Rules for Overloading Operators
4.11 Overloading Binary Operators
4.12 Overloading with Friend Functions
Model Assignment
1. What is a constructor? Write the syntax of declaring the constructor and what are the
special characteristics of constructor function (K2: UNDERSTAND & CO:4)
2. Explain about Unary Operator and Binary Operator Overloading with program (K3: APPLY & CO:4)
Model Test Questions
1. How do we invoke a constructor function (K2: UNDERSTAND & CO:4)
2. List of the rules for overloading operators (K1: REMEMBER & CO:4)
3. Write C++ program using copy constructor and destructor (K3:APPLY & CO:4)
5
Week
No.
Course
Out
come
UNIT V
Topics/Activity
Text
Book
Reference
Contact
Hours
Delivery
Method
10,11
CO:5
INHERITANCE
5.1 Introduction of Inheritance
T1,R3
10
Chalk &
Board
Power point
presentations
Assignment
Test
5.2 Access Specifiers
5.3 Protected Data with Private
Inheritance
5.4 Types of Inheritances
5.5 Virtual Base Class
5.6 Constructors and Destructors in
Inheritance
5.7 Constructor and Destructor in Derived
Class
5.8 Advantages and Disadvantages of
Inheritance
POLYMORPHISM
5.9 Polymorphism and its Types
5.10 Pointer and Inheritance
5.11 Virtual and Pure Virtual Functions
and Abstract Classes
Model Assignment
1. What is a virtual base class? Why it is important to make a class virtual. (K2: UNDERSTAND & CO:5)
2. What is abstract class? When do we use the protected visibility specifiers to a class
member? ((K2: UNDERSTAND & CO:5)
3. Explain different forms of inheritance. Illustrate with an example each type with an
example. (K2: UNDERSTAND & CO:5)
Model Test Questions
1. Define Polymorphism and its types. How is polymorphism achieved at runtime?
(K2: UNDERSTAND & CO:5)
2. Give the syntax for in heritance. (K1: REMEMBER & CO:5)
3. Discuss with program on the visibility of base class members in privately and publicly
inherited classes (K3: APPLY & CO:5)
6
Week
No.
Course
Out
come
UNIT VI
Topics/Activity
Text Book
Reference
Contact
Hours
Delivery
Method
APPLICATIONS WITH FILES
6.1 File Stream Classes
12,13,14
CO: 6
T1, R3
15
Chalk
& Board
Power point
presentations
Assignment
Test
6.2 File Opening Modes
6.3 File Pointers and Manipulators
6.4 Sequential Access Files
6.5 Binary and ASCII Files
6.6 Random Access Files
EXCEPTION HANDLING
6.7 Principles of Exception Handling
6.8 Keywords
6.9 Exception Handling Mechanism
6.10 Multiple Catch Statements
6.11 Catching Multiple Exceptions
Model Assignment
1. Write a program to create files using constructor function. (K3:APPLY & CO:6)
5. What is a file mode? Describe the various file modes. (K1: REMEMBER & CO:6)
2. Write a CPP Program write text in a file. Read the text from the file from EOF. Display
the contents in reverse order. (K3:APPLY & CO:6)
Model Test Questions
1. How exception is handled in C++ and what are the advantages of using exception handling
mechanism in a program? (K3:APPLY & CO:6)
2. When do we use multiple catch handlers? What should be placed inside a catch block?
What should be placed inside a try block? Give the syntax(K2: UNDERSTAND & CO:6)
15
MID EXAMINATION – II
TOTAL NO. OF CLASSES PROPOSED : 65
7
TEXT BOOKS
1. Programming in C++, Ashok N Kamthane, Pearson 2nd
Edition
REFERENCES
1. Object Oriented Programming C++, Joyce Farrell, Cengage.
2. Mastering C++, Venugopal, Raj Kumar, Ravi Kumar TMH.
3. Object Oriented Programming with C++, 2nd
Ed, SouravSahay, and OXFORD.
SWARNANDHRA College of Engineering & Technology
(Autonomous) Seetharamapuram, NARSAPUR, W.G. Dt., 534 280.
DEPARTMENT OF Basic Sciences and Humanities
LESSON PLAN
Course Code Course Title (Regulation) Sem Branch Contact
Periods/Week Sections
16BS2T02 Engineering Chemistry II Common to
CE, CSE & IT 5
COURSE OUTCOMES: At the end of the course students are able to
CO1: Estimate the Ions present in the water (K2).
CO2: Explain the concept of Electro Chemistry (K2)
CO3: Describe the mechanism of Corrosion in Metals (K2)
CO4: Identify the importance of Fuels in modern days (K2)
CO5: Explain the advantages of Polymers in daily life (K2)
CO6: Identify the usage of advanced materials in day to day life (K2)
Unit
No.
Out Comes Topics/Activity
Ref
Text
Book
Total
Periods
Delivery
Method
1
CO 1.
Estimate the
Ions present in
the water
[K2]
Unit-1. WATER TECHNOLOGY
Chalk
& Talk,
PPT
1.1 Hard water T1, R2
10
1.2 Estimation of hardness by EDTA Method T1, R1
1.3 Potable water –Sterilization and Disinfection T2
1.4 Boiler feed water – Boiler troubles – priming
and foaming, Sludge and Scale formation
T1
1.5 Boiler corrosion, Caustic embrittlement, T2
1.6 Softening of water – lime soda process T1, R2
1.7 Zeolite processes
Ion exchange resin process
T2, R2
1.8 Electro Dialysis and
Reverse osmosis
T1
1.9 Problems T2, R2
2
CO 2.
Explain the
concept of
Electro
Chemistry
[K2]
Unit-2. ELECTRO CHEMISTRY
Chalk
& Talk,
PPT
2.1 Electrode potentials-standard Electrode
potentials, Determination of Single electrode
potential
T2
12
2.2 Nernst equation-problems T2, R2
2.3 Electro chemical cell (galvanic cell) T1
2.4 Reference electrodes-Standard hydrogen
Electrode and Calomel Electrode T1, R1
2.5 Determination of pH T2, R2
2.6 Conductivity- Definition – Applications
(Strong Acid Vs. Strong Base ) T2
2.7 Batteries – Primary cell: Dry cell, Secondary
cell: Lead accumulator, Lithium ion battery.
T2, R2
2.8 Fuel Cells – Hydrogen – Oxygen Fuel cell,
Methanol – Oxygen Fuel cell.
T1
3
CO 3.
Describe the
mechanism of
Corrosion in
Metals
[K2]
Unit-3. CORROSION
Chalk
& Talk,
PPT
3.1 Introduction - Theories of corrosion- (i) Dry
corrosion (pilling bed worth rule)
T1, T2
8
3.2 (ii) Wet corrosion, Galvanic Series T2
3.3 Types of corrosion – Galvanic corrosion,
Differential Aeration Corrosion.
T1,T2
3.4 Pitting corrosion, Stress corrosion. T2
3.5 Factors influencing corrosion: Nature of
metal, Nature of the environment.
T1, R1
3.6 Corrosion control methods – Material
Selection & Design - Cathode protection -
surface coatings
T1
3.7 Methods of application on metals – Hot
dipping, Electro less Plating
T2, R2
3.8 Paints – Their constituents and their functions T2
MID I EXAMINATION DURING NINTH WEEK
4
CO 4.
Identify the
importance of
Fuels in
modern days
[K2]
Unit-4. FUELS
Chalk
& Talk,
PPT
4.1 Introduction to fuels, Classification, Merits
and demerits of solid , liquid, gaseous fuels
T2
8
4.2 Coal – Proximate and ultimate analysis T2, R2
4.3 Calorific value – HCV and LCV
Bomb calorie meter
T2
4.4 Problems based on calorific values T1, R1
4.5 Liquid Fuels - Advantages T2, R2
4.6 Petroleum – Refining process T1
4.7 Cracking – Petrol – Diesel Knocking T2
4.8 Gaseous fuels – Natural gas – LPG and CNG T2, R2
5
CO 5.
Explain the
advantages of
Polymers in
daily life
[K2]
Unit-5. POLYMER SCIENCE & TECHNOLOGY
Chalk
& Talk,
PPT
5.1 Types of Polymerization Mechanism of
polymerization
T1, R1
10
5.2 Preparation, Properties and uses of PS, PVC
and Bakelite
T2, R2
5.3 Biodegradable polymers T1
5.4 Determination of Molecular Weight by
Number & Weight average
Ziegler Natta catalysis
T1, R1
5.5 Plastics – Thermoplastics and Thermo setting
plastics Compounding of plastics
T1,T2
5.6 Fabrication of plastics T2, R2
5.7 bullet proof plastics, Engineering applications T1
5.8 Elastomers – Preparation of Rubber T2, R2
5.9 Compounding of rubber
Vulcanization
T1
5.10 Synthetic rubbers –Buna-S Buna-N and
Thiokol rubber – applications
T1,T2
6
CO 6.
Identify the
usage of
advanced
materials in
day to day life
[K2]
Unit-6. ENGINEERING MATERIALS, GREEN AND NANO
CHEMISTRY
Chalk
& Talk,
PPT
6.1 Types, properties and applications of
refractories
T1,T2
12
6.2 Preparation of carbon Nano tubes T2, R2
6.3 Properties of Nano materials and
Engineering Applications
T1
6.4 Principles of green chemistry, Engineering
applications
T1, R1
6.5 Hardening and Setting T1,T2
6.6 Deterioration of cement concrete T1,T2
6.7 Advantages & Disadvantages of Solar
Energy
T1,T2
6.8 Construction & Working of Photovoltaic
Cells T1,T2
6.9 Working of Solar Reflectors T1,T2
Total number of Periods 60
MID II EXAMINATION DURING EIGHTEENTH WEEK
END EXAMINATIONS
Text Books:
T1 A Text Book of Engineering Chemistry - N. Y. S. Murthy, V. Anuradha & K. Ramana Rao, Maruthi
Publications.
T2 A Text Book of Engineering Chemistry - K. Sesha Maheswaramma, Mridula Chugh (2013), Pearson
Publications
Reference Books:
R1 Shashi Chawal “A Text Book of Engineering Chemistry, Dhanpat Rai Publishing company Ltd.
R2 S. S. Dara (2013) Text Book of Engineering Chemistry, S. Chand Technical Series.