0% found this document useful (0 votes)
41 views3 pages

BCS306B

The document outlines the curriculum for a third-semester course on Object-Oriented Programming with C++ under the Choice Based Credit System, effective from the academic year 2023-24. It includes course objectives, modules covering key concepts such as classes, inheritance, polymorphism, and exception handling, along with practical experiments for hands-on learning. Additionally, it provides references, textbooks, and suggested online resources for further study.

Uploaded by

samarthpasalkar4
Copyright
© © All Rights Reserved
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
0% found this document useful (0 votes)
41 views3 pages

BCS306B

The document outlines the curriculum for a third-semester course on Object-Oriented Programming with C++ under the Choice Based Credit System, effective from the academic year 2023-24. It includes course objectives, modules covering key concepts such as classes, inheritance, polymorphism, and exception handling, along with practical experiments for hands-on learning. Additionally, it provides references, textbooks, and suggested online resources for further study.

Uploaded by

samarthpasalkar4
Copyright
© © All Rights Reserved
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/ 3

`

B.E COMPUTER SCIENCE AND ENGINEERING


Choice Based Credit System (CBCS)
SEMESTER – III
OBJECT ORIENTED PROGRAMMING with C++ (2:0:2:0) 3
(Effective from the academic year 2023 -24)
Course Code BCS306B CIE Marks 50
Teaching Hours/Week (L: T:P:S) 2:0:2:0(Integrated) SEE Marks 50
Total Number of Contact Hours 28 Hours Theory + 20 Exam 3 Hours
Hours of Practical Hours
Examination Type Theory
Note - Students who have undergone “ Introduction to C++ Programming
BPLCK105D/205D” in first year are not eligible to opt this course
Course Objectives:
This course will enable students to:
1. To understand object-oriented programming using C++and Gain knowledge about the capability
to store information together in an object.
2. To illustrate the capability of a class to rely upon another class and functions.
3. To Create and process data in files using file I/O functions
4. To understand the generic programming features of C++ including Exception handling

Preamble
Object oriented programming is an approach that provides a way of modularizing programs by
creating partitioned memory area for both data and functions that can be used as templates for
creating copies of such modules on demand. OOP is a base for learning Programming with the rapid
changes in technology, there is an increasing need to keep the academia abreast of the skill set
requirement of the industry. These concepts are important for computer science students in their
understanding of programming languages. This course will be discussing Objects, Classes,
Polymorphism, Encapsulation, data abstraction Inheritance etc.

Module – 1
An overview of C++: What is object-Oriented Programming? Introducing C++ Classes, The General
Form of a C++ Program. Classes and Objects: Classes, Friend Functions, Friend Classes, Inline
Functions, Parameterized Constructors, Static Class Members, When Constructors and Destructors
are Executed, The Scope Resolution Operator, Passing Objects to functions, Returning Objects, Object
Assignment
(5 Hours)
Module – 2
Arrays, Pointers, References, and the Dynamic Allocation Operators: Arrays of Objects, Pointers
to Objects, The this Pointer, Pointers to derived types, Pointers to class members. Functions
Overloading, Copy Constructors: Functions Overloading, Overloading Constructor Functions. Copy
Constructors, Default Function Arguments, Function Overloading and Ambiguity.
(6 Hours)
Module – 3
Operator Overloading: Creating a Member Operator Function, Operator Overloading Using a
Friend Function, Overloading new and delete Inheritance: Base-Class Access Control, Inheritance
and Protected Members, Inheriting Multiple Base Classes , Constructors, Destructors and
Inheritance, Granting Access, Virtual Base Classes
(6 Hours)
Module – 4
Virtual Functions and Polymorphism: Virtual Functions, The Virtual Attribute is Inherited, Virtual
Functions are Hierarchical, Pure Virtual Functions, Using Virtual Functions, Early vs Late Binding.
Templates: Generic Functions, Applying Generic Functions, Generic Classes. The type name and
export Keywords. The Power of Templates
(5 Hours)
Module – 5
Exception Handling: Exception Handling Fundamentals, Handling Derived-Class Exceptions,
Exception Handling Options, Applying Exception Handling. The C++ I/O System Basics: C++
Streams, The C++ Classes, Formatted I/O File I/O: and File Classes, Opening and Closing a File,
Reading and Writing Text Files, Detecting EOF,
(6 Hours)
Course Outcomes:
The students will be able to:
CO1: Illustrate the basic concepts of object-oriented programming.
CO2: Design appropriate classes for the given real world scenario.
CO3: Apply the knowledge of compile-time / run-time polymorphism to solve the given problem
CO4: Use the knowledge of inheritance for developing optimized solutions
CO5: Apply the concepts of templates and exception handling for the given problem
CO6: Use the concepts of input output streams for file operations.

Practical Component

Sl. No Experiments
1 Develop a C++ program to find the largest of three numbers
2 Develop a C++ program to sort the elements in ascending and descending order.
3 Develop a C++ program using classes to display student name, roll number, marks
obtained in two subjects and total score of student
4 Develop a C++ program for a bank empolyee to print name of the employee, account no.
& balance. Print invalid balance if amount
5 Develop a C++ program to demonstrate function overloading for the following
prototypes. add(int a, int b) add(double a, double b
6 Develop a C++ program using Operator Overloading for overloading Unary minus
operator.
7 Develop a C++ program to implement Multiple inheritance for performing arithmetic
operation of two numbers
8 Develop a C++ program using Constructor in Derived classes to initialize alpha, beta and
gamma and display corresponding values.
9 Develop a C++ program to create a text file, check file created or not, if created it will
write some text into the file and then read the text from the file.
10 Develop a C++ program to write and read time in/from binary file using fstream
11 Develop a function which throws a division by zero exception and catch it in catch block.
Write a C++ program to demonstrate usage of try, catch and throw to handle exception
12 Develop a C++ program that handles array out of bounds exception using C++.
Textbooks:
1. Herbert schildt, The Complete Reference C++, 4 th edition, TMH, 2005.

References:
1. Balagurusamy E, Object Oriented Programming with C++, Tata McGraw Hill
2. Education Pvt.Ltd., Sixth Edition 2016.
3. Bhave , “ Object Oriented Programming With C++”, Pearson Education , 2004.
4. A K Sharma , “Object Oriented Programming with C++”, Pearson Education, 2014.

Web links and Video Lectures (e-Resources):

1. Basics of C++ - https://www.youtube.com/watch?v=BClS40yzssA


2. Functions of C++ - https://www.youtube.com/watch?v=p8ehAjZWjPw
Tutorial Link:
1. https://www.w3schools.com/cpp/cpp_intro.asp
2. https://www.edx.org/course/introduction-to-c-3
3.https://infyspringboard.onwingspan.com/web/en/app/toc/lex_auth_013843642506788864433
75_s hared/overview
Activity Based Learning (Suggested Activities in Class)/ Practical Based learning .

● Group Assignment to develop small projects and demonstrate using C++

You might also like