0% found this document useful (0 votes)
322 views5 pages

BPLCK105D

This document provides information about an Introduction to C++ Programming course including the course code, type, teaching hours, credits, objectives, teaching-learning process, modules, outcomes, assignments, and assessment details. The key points are: 1. The course is an integrated theory and practical course worth 3 credits and 40 teaching hours. 2. The objectives include understanding object oriented programming, classes, inheritance, polymorphism, and file I/O functions in C++. 3. The course is divided into 5 modules covering topics such as functions, inheritance, polymorphism, I/O streams, and exception handling. 4. Assessments include 10 programming assignments, continuous internal evaluation worth 50% and

Uploaded by

harishjoshi aiml
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)
322 views5 pages

BPLCK105D

This document provides information about an Introduction to C++ Programming course including the course code, type, teaching hours, credits, objectives, teaching-learning process, modules, outcomes, assignments, and assessment details. The key points are: 1. The course is an integrated theory and practical course worth 3 credits and 40 teaching hours. 2. The objectives include understanding object oriented programming, classes, inheritance, polymorphism, and file I/O functions in C++. 3. The course is divided into 5 modules covering topics such as functions, inheritance, polymorphism, I/O streams, and exception handling. 4. Assessments include 10 programming assignments, continuous internal evaluation worth 50% and

Uploaded by

harishjoshi aiml
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/ 5

16-2-2023

Course Title: Introduction to C++ Programming


Course Code: BPLCK105D/BPLCK205D CIE Marks 50
Course Type (Theory/Practical Integrated SEE Marks 50
/Integrated ) Total Marks 100
Teaching Hours/Week (L:T:P: S) 2:0:2 Exam Hours 03
Total Hours of Pedagogy 40 hours Credits 03
Course objectives
 Understanding about object oriented programming and Gain knowledge about the
capability to store information together in an object.
 Understand the capability of a class to rely upon another class and functions.
 Understand about constructors which are special type of functions.
 Create and process data in files using file I/O functions
 Use the generic programming features of C++ including Exception handling
Teaching-Learning Process
These are sample Strategies, which teacher can use to accelerate the attainment of the various course outcomes
and make Teaching –Learning more effective
1. Chalk and talk
2. Onine demonstration
3. Hands on problem solving

Module-1 (8 hours)

Introduction to Object Oriented Programming: Computer programming background- C++ overview.


First C++ Program -Basic C++ syntax, Object Oriented Programming: What is an object, Classes,
methods and messages, abstraction and encapsulation, inheritance, abstract classes, polymorphism.

Textbook 1: Chapter 1(1.1 to 1.8)


Module-2 (8 hours)

Functions in C++: Tokens – Keywords – Identifiers and constants – Operators in C++ – Scope
resolution operator – Expressions and their types – Special assignment expressions – Function
prototyping – Call by reference – Return by reference – Inline functions -Default arguments –
Function overloading.

Textbook 2: Chapter 3(3.2,3.3,3.4,3.13,3.14,3.19, 3.20) , chapter 4(4.3,4.4,4.5,4.6,4.7,4.9)


Module-3 (8 hours)

Inheritance & Polymorphism: Derived class Constructors, destructors-Types of Inheritance-


Defining Derived classes, Single Inheritance, Multiple, Hierarchical Inheritance, Hybrid Inheritance.

Textbook 2: Chapter 6 (6.2,6.11) chapter 8 (8.1 to,8.8)

Module-4 (8 hours)

I/O Streams: C++ Class Hierarchy- File Stream-Text File Handling- Binary File Handling during file
operations.

Textbook 1: Chapter 12(12.5) , Chapter 13 (13.6,13.7)

1
16-2-2023

Module-5 (8 hours)

Exception Handling: Introduction to Exception - Benefits of Exception handling- Try and catch
blockThrow statement- Pre-defined exceptions in C++

Textbook 2: Chapter 13 (13.2 to13.6)

Course outcome (Course Skill Set)


At the end of the course the student will be able to:
CO1 Able to understand and design the solution to a problem using object-oriented
programming concepts.
CO2
Able to reuse the code with extensible Class types, User-defined operators and
function Overloading.

CO3
Achieve code reusability and extensibility by means of Inheritance and
Polymorphism

CO4
Implement the features of C++ including templates, exceptions and file handling for
providing programmed solutions to complex problems.

Programming Assignments:

1. Write a C++ program to sort the elements in ascending and descending order.
2. Write a C++ program to find the sum of all the natural numbers from 1 to n.

3. Write a C++ program to swap 2 values by writing a function that uses call by reference technique.

4. Write a C++ program to demonstrate function overloading for the following prototypes.

add(int a, int b)
add(double a, double b)

5. Create a class named Shape with a function that prints "This is a shape". Create another class named
Polygon inheriting the Shape class with the same function that prints "Polygon is a shape". Create two
other classes named Rectangle and Triangle having the same function which prints "Rectangle is a
polygon" and "Triangle is a polygon" respectively. Again, make another class named Square having
the same function which prints "Square is a rectangle".Now, try calling the function by the object of
each of these classes.

6.Suppose we have three classes Vehicle, FourWheeler, and Car. The class Vehicle is the base class,
the class FourWheeler is derived from it and the class Car is derived from the class FourWheeler. Class
Vehicle has a method 'vehicle' that prints 'I am a vehicle', class FourWheeler has a method
'fourWheeler' that prints 'I have four wheels', and class Car has a method 'car' that prints 'I am a car'.
So, as this is a multi-level inheritance; we can have access to all the other classes methods from the
object of the class Car. We invoke all the methods from a Car object and print the corresponding
outputs of the methods.
So, if we invoke the methods in this order, car(), fourWheeler(), and vehicle(), then the output will be

2
16-2-2023

I am a car
I have four wheels
I am a vehicle
Write a C++ program to demonstrate multilevel inheritance using this.

7. Write 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.

8.Write aC++ program to write and read time in/from binary file using fstream

9. Write 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.

10. Write a C++ program function which handles array of bounds exception using C++.

Assessment Details (both CIE and SEE)


The weightage of Continuous Internal Evaluation (CIE) is 50% and for Semester End Exam (SEE) is 50%. The
minimum passing mark for the CIE is 40% of the maximum marks (20 marks out of 50). The minimum passing
mark for the SEE is 35% of the maximum marks (18 marks out of 50). A student shall be deemed to have
satisfied the academic requirements and earned the credits allotted to each subject/ course if the student secures
not less than 35% (18 Marks out of 50) in the semester-end examination(SEE), and a minimum of 40% (40
marks out of 100) in the sum total of the CIE (Continuous Internal Evaluation) and SEE (Semester End
Examination) taken together.
Continuous Internal Evaluation(CIE):
The CIE marks for the theory component of the IC shall be 30 marks and for the laboratory
component 20 Marks.
CIE for the theory component of the IC
 Three Tests each of 20 Marks; after the completion of the syllabus of 35-40%, 65-70%, and
90-100% respectively.
 Two Assignments/two quizzes/ seminars/one field survey and report presentation/one-
course project totaling20 marks.
Total Marks scored (test + assignments) out of 80 shall be scaled down to 30 marks
CIE for the practical component of the IC

 On completion of every experiment/program in the laboratory, the students shall be


evaluated and marks shall be awarded on the same day. The 15 marks are for conducting
the experiment and preparation of the laboratory record, the other 05 marks shall be for
the test conducted at the end of the semester.
 The CIE marks awarded in the case of the Practical component shall be based on the
continuous evaluation of the laboratory report. Each experiment report can be evaluated
for 10 marks. Marks of all experiments’ write-ups are added and scaled down to 15 marks.

3
16-2-2023

 The laboratory test (duration 03 hours) at the end of the 15th week of the semester
/after completion of all the experiments (whichever is early) shall be conducted for 50
marks and scaled down to 05 marks.

Scaled-down marks of write-up evaluations and tests added will be CIE marks for the laboratory
component of IC/IPCC for 20 marks.
 The minimum marks to be secured in CIE to appear for SEE shall be 12 (40% of maximum
marks) in the theory component and 08 (40% of maximum marks) in the practical
component. The laboratory component of the IC/IPCC shall be for CIE only. However, in
SEE, the questions from the laboratory component shall be included. The maximum of 05
questions is to be set from the practical component of IC/IPCC, the total marks of all
questions should not be more than 25 marks.
The theory component of the IC shall be for both CIE and SEE.
Semester End Examination (SEE):
SEE for IC
Theory SEE will be conducted by University as per the scheduled time table, with common question
papers for the course (duration 03 hours)
1. The question paper will have ten questions. Each question is set for 20 marks.
2. There will be 2 questions from each module. Each of the two questions under a module (with a
maximum of 3 sub-questions), should have a mix of topics under that module.
3. The students have to answer 5 full questions, selecting one full question from each module.
The theory portion of the Integrated Course shall be for both CIE and SEE, whereas the practical
portion will have a CIE component only. Questions mentioned in the SEE paper shall include
questions from the practical component).
Passing standard:
 The minimum marks to be secured in CIE to appear for SEE shall be 12 (40% of maximum marks-
30) in the theory component and 08 (40% of maximum marks -20) in the practical component.
The laboratory component of the IPCC shall be for CIE only. However, in SEE, the questions from
the laboratory component shall be included. The maximum of 04/05 questions to be set from the
practical component of IPCC, the total marks of all questions should not be more than 30 marks.
 SEE will be conducted for 100 marks and students shall secure 35% of the maximum marks to
qualify for the SEE. Marks secured will be scaled down to 50.

Suggested Learning Resources:


Books (Title of the Book/Name of the author/Name of the publisher/Edition and Year)
Textbooks
1. Bhushan Trivedi, “Programming with ANSI C++”, Oxford Press, Second Edition, 2012.
2. Balagurusamy E, Object Oriented Programming with C++, Tata McGraw Hill Education Pvt.Ltd ,
Fourth Edition 2010.

Web links and Video Lectures (e-Resources):

4
16-2-2023

Weblinks 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

Activity Based Learning (Suggested Activities in Class)/ Practical Based learning


● Assign small tasks to Develop and demonstrate using C++

COs and POs Mapping (Individual teacher has to fill up)


COs POs
1 2 3 4 5 6 7
CO1
CO2
CO3
CO4

Level 3- Highly Mapped, Level 2-Moderately Mapped, Level 1-Low Mapped, Level 0- Not Mapped

You might also like