You are on page 1of 3

Programming in C++ L T P C

Total Contact Hours : 30 Hours


Applicable to Which Branch: Applicable
to NON IT Group ( CE, ME,
CST-151 2 0 0 2
AUTOMOBILE, CHEMICAL,
PETROLEUM, AEROSPACE,
MECHATRONICS) . Batch-2015
Prerequisite: Basic C Programming Language Knowledge

Marks-100

Internal-40 External-60
Course Objective
 The course will enable the students to understand various stages and constructs of C++
programming language and relate them to engineering programming problems.
It will improve their ability to analyze and address variety of problems in programming domains.
Unit Course Outcome:-Students will
be able to understand object oriented programming concepts.
1.

2. to differentiate between object oriented and procedural programming paradigms.

to understand the application of classes, objects, constructors, destructors, inheritance,


operator overloading and polymorphism, pointers, virtual functions, templates, exception
3.
handling, file operations and handling.

Content of the Syllabus

UNIT-I (15 Hrs)

Introduction: Differences between object oriented and procedure oriented programming.


Object Oriented Programming Paradigm, Basic Object oriented concepts: class, object, data
abstraction and encapsulation information hiding, inheritance, polymorphism.

Basic Constructs in C++: Basic and user defined data types, operators in C++.

Classes and Objects:, Difference between structure and class, specifying a class, access specifiers,
creating objects, accessing class members, defining a member function inside and outside class,
inline function, static data members & member functions.

UNIT-II (15 Hrs)

Constructors and Destructors: Need for constructors, types of constructors: parameterized,


Constructors with default arguments, Constructor Overloading and copy constructors, destructors
and their need, Function overloading, operator overloading.
Inheritance: Defining derived class, modes of inheritance, types of inheritance, ambiguity in
inheritance, virtual base class, Function overriding, order of execution of constructors, Member
Classes: Nesting of Classes.
UNIT-III (15 Hrs)

Pointers and Dynamic Memory Allocation: Introduction to pointers, need for pointers, declaring
& initializing pointers, Array of pointers, pointer to objects, this pointer, pointer to derived classes,
static and dynamic binding, dynamic memory allocation: new and delete operator.

Exception Handling: Exception Handling: Try, Throw, Catch, Throwing an Exception, Catching
an Exception, Re-throwing an Exception.

Files: Introduction to File streams, Hierarchy of file stream classes, File operations, File I/O, File
opening Modes, Reading/Writing of files, Error handling in files, Random-access to files.

Text books:
1. . E Balagurusamy., “Object Oriented Programming in C++”, Tata McGraw-Hill.
2. Robert Lafore, “Object Oriented Programming in C++”, Waite Group, December 1998.
Reference Books:

1. Herbert Schildt , “C++- The Complete Reference”, Tata McGraw-Hill 2003, New Delhi.

2. Bjarne Stroustrup: “The C++ Programming Language” (4th Edition). Addison-Wesley. May
2013.
3. Ravichandran , “Programming with C++”,Tata McGraw-Hill Education, 2001.
4. Joyce M. Farrell,” Object Oriented Programming Using C++”,Cengage Learning, January 1998.
Instructions for the Paper-Setter
Please go through these instructions thoroughly and follow the same pattern while setting the paper
as the students have been prepared according to this format.
Maximum Marks = 60 Time: 3 Hrs
Weightage per unit = 20 marks (excluding over attempt weightage)

1. Question Paper will consist of ten questions.


2. Section A of question paper is compulsory, containing five parts each of 2 marks covering the
whole syllabus (short answer type- total 10 marks)
3. Set three questions from each unit I, II and III. Students will attempt 5 questions selecting at least
one question from sections B, C & D. Each question carries 10 marks. Questions of Section B
will be from unit I, Questions of Section C from unit II and Questions of section D from unit III
4. In the question paper, distribution of the questions should be by considering 30 % numerical part
and 70 % conceptual.
CST 151 Programming in C++
Department Teaching the
Department of Computer Science Engineering
Subject
a b c d e f g h i j k
Program Outcome

Mapping of Course
II- I- II-
outcome with Program II-III II-III
III III III
outcome
Project/
BS ES PD PC PE OE
Category Training
x
Approval Date of meeting of the Board of Studies……..
The students outcomes are:
a) An ability to apply to apply knowledge of mathematics and engineering.
b) An ability to design and conduct experiments, as well as to analyze and interpret data.
c) An ability to design a system, component or process to meet desired needs without realistic
constraints such as economic,environmental,social,political,ethical,health & safety,
manufacturability and sustainability.
d) An ability to function on multidisciplinary teams.
e) An ability to identify formulates and solves engineering problems.
f) An understanding of professional and ethical responsibility.
g) An ability to communication effectively.
h) The board education necessary to understand the impact of engineering solutions in global,
economic, environmental and societal context.
i) Recognition of the need for, and an ability to engage in life-long learning.
j) Knowledge of contemporary issues.
k) An ability to use the techniques skills, and modern engineering tools necessary for
engineering practice.

You might also like