Oopm-List of Experiments
Oopm-List of Experiments
METHODOLOGY (CS-305)
LIST OF EXPERIMENTS
S.No
. Experiments
1 Write a program to calculate the sum of two numbers.
2 Implement a program to find the factorial of a given number.
3 Create a program to check if a number is prime.
4 Write a program to find the greatest common divisor (GCD) of two
numbers.
5 Implement a program to convert Celsius to Fahrenheit and vice
versa.
6 Create a program to generate the Fibonacci sequence up to a given
number of terms.
7 Write a program to check if a given string is a palindrome.
8 Implement a program to sort an array of integers using bubble sort.
9 Create a program to find the roots of a quadratic equation.
10 Write a program to reverse a linked list.
11 Implement a program to perform basic arithmetic operations using
functions.
12 Create a program to calculate the area of different shapes (e.g.,
circle, rectangle, triangle) using function overloading.
13 Write a program to find the factorial of a number using recursion.
14 Implement a program to sort an array of integers using merge sort.
15 Create a program to implement a stack using arrays.
16 Write a program to check if a given number is even or odd using
bitwise operators.
17 Implement a program to convert a decimal number to binary and
vice versa.
18 Create a program to implement a queue using linked lists.
19 Write a program to find the sum of elements in an array using
pointers.
20 Implement a program to reverse a string using pointers.
21 Create a program to implement a binary search in a sorted array.
22 Write a program to find the factorial of a number using the "const"
keyword.
23 Implement a program to check if a number is a perfect number.
24 Create a program to read and write data to a file.
25 Write a program to implement a simple calculator using switch
statements.
26 Implement a program to find the largest and smallest elements in an
array.
27 Create a program to implement a circular queue.
28 Write a program to check if a given year is a leap year.
29 Implement a program to reverse a number.
30 Create a program to find the sum of digits of a given number.
31 Write a program to implement a doubly linked list.
32 Implement a program to find the LCM of two numbers.
33 Create a program to check if a string is an anagram of another string.
34 Write a program to implement a binary search tree and perform
insertion and deletion operations.
35 Implement a program to find the power of a number using recursion.
36 Create a program to implement a priority queue.
37 Write a program to calculate the area of a circle using the "friend"
keyword in classes.
38 Implement a program to perform matrix addition and multiplication.
39 Create a program to implement a hash table.
40 Write a program to find the frequency of characters in a string.
41 Implement a program to perform matrix transposition.
42 Create a program to implement a singly linked list with various
operations.
43 Write a program to find the length of a string using recursion.
44 Implement a program to perform matrix subtraction.
45 Create a program to implement a binary search tree and perform
search operations.
46 Write a program to implement a basic text editor with operations
like insert, delete, and undo.
47 Implement a program to find the sum of elements in a 2D array.
48 Create a program to implement a graph data structure and perform
depth-first and breadth-first traversals.
49 Write a program to implement a basic bank management system
with account creation, deposit, and withdrawal functions.
50 Implement a program to simulate a simple game (e.g., tic-tac-toe,
snake and ladder) using object-oriented programming.
51 Create a class to model a simple bank account with methods for
deposit, withdrawal, and balance inquiry
52 Design a class hierarchy representing different shapes (e.g., Circle,
Square, Triangle) and implement their respective area calculation
methods.
53 Implement a class representing a basic calculator with methods for
addition, subtraction, multiplication, and division.
54 Create a class to simulate a dice rolling game and implement a
method for generating random rolls.
55 Build a class hierarchy representing different animals and implement
their respective sound-making methods.
56 Design a class representing a library with methods for adding books,
searching by title/author, and checking out books.
57 Implement a class representing a car with methods for accelerating,
braking, and checking fuel level.
58 Create a class to model a simple employee database with attributes
like name, age, and salary.
59 Design a class representing a school with methods for adding
students, assigning grades, and calculating average scores.
60 Implement a class hierarchy representing different types of vehicles
(e.g., car, bike, truck) with shared and specialized attributes/
methods.
61 Build a class to simulate a basic email system with inbox, outbox,
and message sending functionality.
62 Create a class representing a bank customer with attributes for name,
account number, and transactions.
63 Design a class to model a zoo with methods for adding animals,
feeding them, and calculating the total food cost.
64 Implement a class hierarchy representing different types of
electronic devices (e.g., smartphone, laptop, tablet) with shared and
specialized functionalities.
65 Build a class to simulate a basic banking system with customer
accounts, transactions, and account history.
66 Create a class representing a restaurant with methods for managing
orders and calculating the total bill.
67 Design a class hierarchy representing different types of clothing and
their attributes (e.g., size, color).
68 Implement a class to model a student's academic performance with
attributes for courses and grades.
69 Build a class to simulate a basic social media platform with users,
posts, and comments.
70 Create a class representing a flight booking system with methods for
reserving seats and managing passenger information.
71 Design a class hierarchy representing different types of animals and
their movement capabilities (e.g., walking, flying, swimming).
72 Implement a class to model a basic movie database with attributes
like title, genre, and release year.
73 Build a class to simulate a basic file management system with
folders and file operations.
74 Create a class representing a coffee shop with methods for placing
orders and preparing drinks.
75 Design a class hierarchy representing different types of vehicles and
their emissions information.
76 Implement a class to model a basic address book with contact details
and search functionality.
77 Build a class to simulate a basic game inventory system with items
and item management methods.
78 Create a class representing a car rental service with methods for
booking and managing reservations.
79 Design a class hierarchy representing different types of employees
(e.g., manager, employee, contractor) with shared and specialized
attributes/methods.
80 Implement a class to model a basic calendar with events, reminders,
and notifications.
81 Build a class to simulate a basic online shopping platform with
products, categories, and shopping cart functionalities.
82 Create a class representing a music band with attributes for band
members and song performances.
83 Design a class hierarchy representing different types of beverages
(e.g., coffee, tea, soda) and their preparation methods.
84 Implement a class to model a basic weather forecasting system with
attributes for temperature, humidity, and weather conditions.
85 Build a class to simulate a basic ticket booking system with events,
venues, and seat reservations.
86 Create a class representing a bank with methods for managing
customer accounts and transactions.
87 Design a class hierarchy representing different types of buildings
(e.g., house, office, school) with shared and specialized
attributes/methods.
88 Implement a class to model a basic online forum with users, posts,
and comments.
89 Build a class to simulate a basic online banking system with
accounts, transactions, and balance inquiries.
90 Create a class representing a zoo with methods for feeding animals
and conducting animal shows.
91 Design a class hierarchy representing different types of vehicles and
their speed capabilities.
92 Implement a class to model a basic quiz application with questions,
answers, and scoring.
93 Build a class to simulate a basic email client with inbox, outbox, and
message filtering.
94 Create a class representing a game character with attributes for
health, armor, and weapon inventory.
95 Design a class hierarchy representing different types of musical
instruments with shared and specialized attributes/methods.
96 Implement a class to model a simple inventory management system
for a store.
97 Build a class to simulate a basic contact management system with
attributes for contacts and groups.
98 Create a class representing a movie theater with methods for
managing movie showtimes and ticket bookings.
99 Design a class hierarchy representing different types of bank
accounts (e.g., savings, checking) with shared and specialized
functionalities.
10 Implement a class to model a basic restaurant reservation system
0 with tables, reservations, and occupancy tracking.