0% found this document useful (0 votes)
45 views2 pages

3 Rotated

The document outlines the objectives, outcomes and syllabus for a course on C++ programming. The course aims to familiarize students with C++ syntax and object-oriented principles. It will cover topics like data types, control structures, functions, classes, inheritance and the Standard Template Library. The syllabus includes examples and exercises on related concepts.
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)
45 views2 pages

3 Rotated

The document outlines the objectives, outcomes and syllabus for a course on C++ programming. The course aims to familiarize students with C++ syntax and object-oriented principles. It will cover topics like data types, control structures, functions, classes, inheritance and the Standard Template Library. The syllabus includes examples and exercises on related concepts.
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/ 2

Course Code: 23CS3203 Credits : 1.

5
Instruction : 3 Practical/Week Sessional Marks : 50
End Exam : 3 Hours End Exam Marks : 50

Course Objective:
Familiarize with the syntax and key features of C++ programming language, including data
types, variables, control structures, and functions.
Implement object-oriented design principles to create solutions that follow the principles of
abstraction, modularity, and information hiding.
Effectively use functions to break down complex tasks into smaller, manageable components
to address specific problem requirements.
Develop the skill to analyze problem scenarios and identify the most suitable generic
programming techniques, such as templates, to create flexible and reusable code.
Gain proficiency in using the Standard Template Library (STL) to leverage pre-built generic
data structures (like vectors, lists, maps) and algorithms (like sorting, searching) to improve
code efficiency and reduce development time.

Course outcome:
1 Understand the principles of OOPs and key features of C++
2 Apply object oriented concepts to develop solution for the given problem
3 Apply functions as per the problem requirement
4 Analyze the given scenario and choose appropriate generic programming aspects/
exception handling mechanism to solve the problem
5 Apply Standard Template Library for Real-time applications

CO-PO PSO Mapping


CO PO PSO
1 2 3 4 5 6 7 8 9 10 11 12 1 2 3
CO1 3 3 3 3 2 2 2 3
CO2 3 3 3 3 2 2 2 2 3
CO3 3 3 3 3 1 2 2 2 3 2 2 2 3
CO4 3 3 3 3 1 2 2 2 3 2 2 2 3
CO5 3 3 3 3 1 2 2 2 3 2 2 2 3
SYLLABUS 3. Write a Program which creates & uses array of object of a class.( for eg. implementing the list of
Managers of a Company having details such as Name, Age, etc..).
4. Write a Program to find Maximum out of Two Numbers using friend function.
Note: Here one number is a member of one class and theother number is member of some other
class.
5. Write a Program to swap private data members of classes named as class_1, class_2 using friend
function.
6. Write a Program to design a class complex to represent complex numbers. The complex class should
use an external function (use it as a friend function) to add two complex numbers. The function should
return an object of type complex representing the sum of two complex numbers.
7. Write a Program using copy constructor to copy data of an object to another object.
Coding Exercise-1: 8.
1. constructor
2. Write a program to print details name, rollnumber in a single and two lines.
3. Write a program to print name by reading, assigning and initializing to a variable with an appropriate 9. Write a Program to overload operators like *, <<, >> using friend function. The following
prompt. overloaded operators should work for a class vector.
4. Write a program to print your personal details name, surname (single character), totalmarks,
gender(M/F), result(P/F) by taking input from the user.
5. Write a program to convert centigrade into Fahrenheit. Formula: C=(F-32)/1.8
6. Write a program that declares two integers, determines whether the first is a multiple of the second
and print the result. (Hint: Use the remainder operator)
7. Write a program that prompts the user to enter two integer values in int variables val1, val2 and find
largest, sum, difference, product and ratio of these values.
8. Write a program that prompts the user to enter three integer values, and then outputs the values in
numerical sequence separated by commas. So, if the user enters the values 10 4 6, the output should
be 4,6,10. If two values are the same, they should just be ordered together. So, the input 4 5 4 should Coding Exercise-3:
give 4,4,5.
1. Write a Program illustrating how the constructors are implemented and the order in which they are
called when the classes are inherited. Use three classes named alpha, beta, gamma such that alpha,
beta are base class and gamma is derived class inheriting alpha & beta.
2. Write a Program to design a student class representing student roll no. and a test class (derived class
of student) representing the scores of the student in various subjectsand sports class representing
the score in sports. The sports and test class should be inherited by a result class having the
functionality to add the scores and display the final result fora student.
3. Write a program to maintain the records of person with details (Name and Age) and find the eldest
among them. Theprogram must use this pointer to return the result.
4. Write a Program to illustrate the use of pointers to objectswhich are related by inheritance.
5. Write a program illustrating the use of virtual functions inclass.
6. Write a program to design a class representing the information regarding digital library (books, tape:
Coding Exercise-2: book & tapeshould be separate classes having the base class as media).The class should have the
1. Write a Program to design a class having static member function named showcount() which has the functionality for adding new item, issuing, deposit etc. the program should use the runtime
property of displaying the number of objects created of the class. polymorphism.
2. Write a Program using class to process Shopping List for a Departmental Store. The list include
details such as the Code No and Price of each item and perform the operations like Adding, Deleting
Items to the list and Printing the Total value of a Order.

You might also like