INTERNAL ASSIGNMENT 2023
Subject Code: 86 Sub:- Computer Applications Class: IX F.M.:- 100
A total of 15 Assignment program is to be written for this academic session.
Program should be written by hand in a Practical Copy. Ruled area is to be used for writing the program and blank
portion of the page is used to paste the output generated by the program.
Program 1.
Write a program to input any triple digit number and perform the following action on that:
Print out the total of all the digits
Reverse the entire number
Example:- Input- 276
Total of the digits:- 15
Reverse of the number:- 672
Program 2.
Write a program to input any three different numbers and perform the following action on them:
Find out the greater number among them
Print out the total of the first digit of each number
Program 3.
Write a program to input the measurement in feet and convert it into (i) Yard (ii) Inch
Program 4.
Write a program to input three numbers and find their sum, without using the mathematical operator +.
Program 5.
Write a Menu driven program (Using Switch-Case) to input any two numbers and display the Menu. Program
should perform according to the menu displayed. Program should display an appropriate message if the input is
an option not specified in the menu.
Example:- Enter any two numbers: 97
76
------------MENU-------------
Press 1. For Additon
Press 2. For Subtraction
Press 3. For Multiplication
Press 4. For Division
Enter your Choice: 1
Addition of the two number is :173
Program 6.
Write a program to input the kilometer travelled and display the bus fare according to the chart given.
Kilometer travelled fare
First 5 km Rs. 10/- per km
Next 10 km Rs. 8/- per km
Next 10 km Rs. 7/- per km
Above 25 km Rs. 5/- per km
Program 7.
Write a program to input any number and check whether it is a palindrome number or not. A palindrome
number is a number whose reverse is same as the original number. For Example 151 is a palindrome number if
we reverse 151 it remains same.
Program 8.
Write a menu driven program to provide a menu and act accordingly.
----------MENU----------
Press 1. For Area of a square
Press 2. For Area of a rectangle
Press 3. For Area of a circle.
Program should display an appropriate message if the input is an option not specified in the menu.
Program 9.
Write a program to input the temperature in Celsius and display the temperature in Fahrenheit.
Program 10.
Write a program to input 3 sides of a triangle and check whether it is an equilateral triangle or an isosceles or it
is a scalene.
Program 11.
Write a program to input any 10 numbers using loop and then print the total of all the even and odd numbers
inputted
Program 12.
Write a program to generate first 10 numbers in Fibonacci series. Fibonacci series is a series which begins with
0 and 1, the subsequest numbers in the series is generated by adding the previous two numbers.
Example :- 0, 1, 1, 2, 3…….
Program 13.
Write a program to input two numbers and display a choice to get the L.C.M or H.C.F. of the numbers.
Program 14.
Write a program to input any number and check whether it is a DUCK number or not. A Duck number is a
positive number which has zeroes present in it, For example 3210, 8050896, 70709 are all Duck numbers.
Program 15.
Write a program to input any number and check whether it is a BUZZ number or not. A Buzz number is a
number which either ends with 7 or is divisible by 7.
Program 16.
Write a program to generate the following Patterns:- (Use nested Loop)
(i) * * (ii) * (iii) 12345 (iv) 1
* * * 2345 12
* * 345 123
* * * * * * * * * 45 1234
* * * 5 12345
*
*
(v) 1
2 3
4 5 6
7 8 9 10
11 12 13 14 15
NAME:- XXXXXXXXX XXXXX
CLASS : IX SECTION:- A ROLL – XX
SESSION: 2021-22
DATE OF SUBMISSION ____/____/____