0% found this document useful (0 votes)
5 views

FYIT OOPS

The document outlines the syllabus for the Major Practical II course in Object Oriented Programming for F.Y.BSC.IT / SEM II (2024-2025) taught by Ms. Jayashree Patade. It includes various programming tasks and homework assignments related to C++ concepts such as conditional statements, loops, classes, friend functions, constructors, operator overloading, data abstraction, inheritance, exception handling, and file operations. Each topic specifies practical lab work and homework assignments aimed at enhancing students' programming skills.

Uploaded by

amanverma009613
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)
5 views

FYIT OOPS

The document outlines the syllabus for the Major Practical II course in Object Oriented Programming for F.Y.BSC.IT / SEM II (2024-2025) taught by Ms. Jayashree Patade. It includes various programming tasks and homework assignments related to C++ concepts such as conditional statements, loops, classes, friend functions, constructors, operator overloading, data abstraction, inheritance, exception handling, and file operations. Each topic specifies practical lab work and homework assignments aimed at enhancing students' programming skills.

Uploaded by

amanverma009613
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

Prof. name : Ms. Jayashree Patade Class/SEM : F.Y.BSC.

IT / SEM II (2024-2025)
Course code : Major Practical II Subject name : Object Oriented Programming

Sr. Page
Date Topics Signature
No No.
1 Theory 1: Conditional Statements and operators
Write a C++ program to convert seconds into hours,
a
minutes and seconds. (IT LAB)
Write a C++ program to find the volume of a square,
b
cone, and rectangle..(HOMEWORK)
Write a recursive function to print the factorial for a given
c
number.(HOMEWORK)
2 Theory 2: Loop Statements
Write a C++ program to find the greatest of three
a
numbers.(IT LAB)
Write a C++ program to find the sum of even and odd n
b
natural numbers (IT LAB)
Write a C++ program to generate all the prime numbers
c between 1 and n, where n is a value supplied by the user
(HOMEWORK)
3 Theory 3: Class in OOPs
Write a C++ program using classes and object Student to
a print name of the student, roll_no. Display the same. (IT
LAB)
Write a C++ program for Structure bank employee to
print name of the employee, account_no. & balance.
b
Display the same also display the balance after withdraw
and deposit(IT LAB)
Design the class Demo which will contain the following
methods: readNo(), factorial() for calculating the factorial
of a number, reverseNo() will reverse the given number,
c isPalindrome() will check the given number is
palindrome, isArmstrong() which will calculate the given
number is armStrong or not. WherereadNo() will be
private method. (HOMEWORK)
Write a program to demonstrate function definition
d outside class and accessing class members in function
definition. (HOMEWORK)
4 Theory 4: Friend Function
Write a friend function for adding the two complex
a
numbers, using a single class. (IT LAB)
Write a friend function for adding the two different
b
distances and display its sum, using two classes. (IT LAB)
Write a friend function for adding the two matrix from
c
two different classes and display itssum. (HOMEWORK)
Write a Program to find Maximum out of Two Numbers
d
using friend function. (HOMEWORK)
Theory 5: Constructor/ Destructor and Static
5
Members
Design a class Complex for adding the two complex
a
numbers and also show the use of constructor. (IT LAB)
Design a class Geometry containing the methods area()
b and volume() and also overload the area()function.(IT
LAB)
Design a class StaticDemo to show the implementation of
c
static variable and static function. (IT LAB)
Write a C++ program to overload new/delete operators in
d
a class. (HOMEWORK)
Write a C++ Program to generate Fibonacci Series by
e using Constructor to initialize the Data Members.
(HOMEWORK)
6 Theory 6: Operator Overloading
Overload the operator unary(-) for demonstrating operator
a
overloading. (IT LAB)
Overload the operator + for adding the timings of two
b
clocks, And also pass objects as an argument. (IT LAB)
Overload the + for concatenating the two strings. For e.g
c
“Py” +“thon” =Python. (HOMEWORK)
7 Theory 7: Data Abstraction
8 Implement the concept of method overriding. (IT LAB)
a Show the use of virtual function. (IT LAB)
Show the implementation of abstract class.
b
(HOMEWORK)
8 Theory 8: Inheritance
Write a C++ Program that illustrate single inheritance.
a
(IT LAB)
Write a C++ Program that illustrate multiple inheritance.
b
(IT LAB)
Write a C++ Program that illustrate multi-level
c
inheritance.
Write a C++ Program that illustrate Hierarchical
d
inheritance. (HOMEWORK)
9 Theory 9: Exception Handling
Show the implementation of exception handling. (IT
a
LAB)
Show the implementation for exception handling for
b
strings. (IT LAB)
Show the implementation of exception handling for using
c
the pointers. (HOMEWORK)
10 Theory 10: File Operation
Design a class FileDemo open a file in read mode and
a display the total number of words and lines in the file. (IT
LAB)
Design a class to handle multiple files and file operations.
b
(IT LAB)

You might also like