0% found this document useful (0 votes)
9 views4 pages

CPP Assignment Questions

Question bank

Uploaded by

diptijamdar91
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)
9 views4 pages

CPP Assignment Questions

Question bank

Uploaded by

diptijamdar91
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/ 4

CPP-Assignment Questions

SEET A&B
Assignment no-01(Module 1 and 2)

1) Implement a C++ application that showcases the use of encapsulation by creating a class for
employee data management.
2) Write a program to demonstrate polymorphism using function overloading and operator
overloading.
3) Design a C++ program to calculate the area of different shapes (Circle, Rectangle, Triangle)
using function overloading.
4) Implement a program using default arguments and inline functions to calculate the volume
of different geometric shapes.
5) Write a C++ program that uses the concept of separating interface from implementation by
creating a class for basic arithmetic operations.
6) Build a simple program to demonstrate returning values by reference in C++ using a class to
manage complex numbers.
7) Create a C++ program that simulates a simple menu driven calculator using a switch
statement.
8) Implement a program to print the Fibonacci series using a do-while loop.
9) Implement a C++ program to count the number of vowels and consonants in a given string.
10) Design a simple student management system using structures to store student details and
display information.
Assignment no-02(Module 3)
1) Design a class with a copy constructor to create a duplicate of an existing object..
2) Create a program using single inheritance to derive a class Student from a base class
Person.
3) Write a C++ program that demonstrates multiple inheritance by creating a class that
inherits from two base classes.
4) Develop a program to illustrate the concept of virtual base class to solve the diamond
problem. Implement a C++ program that demonstrates runtime polymorphism using
virtual functions..
5) Create a student management system where student details are stored and retrieved
from a file.
6) Develop a C++ program to count the number of words in a given text file.
7) Implement a C++ application to copy content from one file to another.
Assignment no-03(Module 4 and 5)
1) Develop a Java program to demonstrate different data types and their sizes using simple
variables.
2) Write a Java program to convert an integer from signed to unsigned using bitwise
operations
3) Create a simple Java application using JDK and explain the development process
including compiling and running using javac and java commands.
4) Develop a Java program to illustrate the concept of explicit pointers using references.
5) Implement a Java program that simulates the working of a Java Virtual Machine (JVM)
by creating and running multiple threads.
6) Develop a Java program to demonstrate single inheritance using a Person class and a
Student class.
7) Create a program to illustrate the concept of method overriding using a parent and child
class.
8) Write a Java program using multiple inheritance through interfaces to implement a
simple vehicle management system.
9) Develop a Java program to create a package named MyPackage and import it in another
program.
10) Implement a Java program using the instanceof operator to check object types in an
inheritance hierarchy.
Assignment no-04(Module 6)
1) Create a simple Java applet that displays a welcome message using the paint() method
2) Develop a Java applet to handle mouse events and display coordinates.
3) Write a Java program to create a graphical user interface using AWT components.
4) Implement a Java applet that takes parameters from HTML using the Applet tag.
5) Create a simple drawing application using AWT that allows the user to draw shapes.

You might also like