You are on page 1of 2

Ex.

No Assignments Date Page Teacher’s Signature


No
Decision Making Statements
1 Write a program to input the name and the 15-09-21
amount of ticket for the customer. Calculate the
discount and net amount to be paid, as per given
tariff.
4 Using switch statement, write a menu driven 16-09-21
program for the following:
(i) To find and display the sum of the series
given below:
S= x1-x2+x3-x4+x5…….-x20
(where x = 2)
(ii) To display the following series:
1 11 111 1111 11111

7 Using switch statement, write a menu driven 18-09-21


program to find the area and perimeter of a
square or rectangle.
Looping statements
2 Write a program to accept a number and checks 20-09-21
whether it is a spy number or not.
3 Write a program to display the patters. 21-09-21

Function Over loading


5 Design a class to overload a function volume (): 22-09-21
(Volume of sphere, cylinder and cuboid)
9 Design a class to overload a function polygon (): 23-09-21
(Draw a filled square, rectangle and triangle)
Constructors
6 Design a class Employee using constructor. 25-09-21
8 Design a class Marks using Constructor. 27-09-21
Strings Handling
10 Write a program to input a line. Counts and 28-09-21
displays the total number of uppercase and
lowercase letters.
29-09-21
11 Write a program to enter a token/word in mixed
case and display the new token after deleting all
the vowels.

16 06-10-21
Write a program to enter a sentence from the
keyboard and count and display the number of
times a particular word occurs in it.
Arrays
12 Write a program to accept n different 30-09-21
numbers in a Single Dimensional Array
(SDA) and calculate sum of all elements.

13 Write a program to accept 10 different numbers 01-10-21


in a Single Dimensional Array (SDA). Display
the greatest and the smallest numbers of the
array elements.

14 Write a program to accept 10 different numbers 04-10-21


in a Single Dimensional Array (SDA). Now,
enter a number and search whether the number
is present or not in the list of array elements by
using the ‘Linear Search’ technique.

15 Write a program to accept a set of names and 05-10-21


marks.Find The average mark and deviation of
each student’s total marks with the average.

17 Write a program to accept the names of 10 cities 07-10-21


and their STD codes in two single dimension
array and search thr name of the city along with
its STD code
18 Write a program to search the input number by 08-10-21
using Binary Search.
19 Write a program to accept the year of graduation 09-10-21
from school.Search the user input year
20 Write a program to merge two single 10-10-21
dimensional array and display the resultant
array.

You might also like