0% found this document useful (0 votes)
37 views2 pages

Programs

The document provides 20 programming assignments for a class 10 computer applications class. The assignments cover a range of programming tasks including calculating simple interest, finding areas and perimeters of shapes, determining if a year is a leap year, printing multiples and tables, converting currencies, calculating salaries, bills, and discounts. Students are instructed to write the program code, include variable descriptions, comments, sample inputs and outputs for each assignment.

Uploaded by

PAYUSH08
Copyright
© Attribution Non-Commercial (BY-NC)
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)
37 views2 pages

Programs

The document provides 20 programming assignments for a class 10 computer applications class. The assignments cover a range of programming tasks including calculating simple interest, finding areas and perimeters of shapes, determining if a year is a leap year, printing multiples and tables, converting currencies, calculating salaries, bills, and discounts. Students are instructed to write the program code, include variable descriptions, comments, sample inputs and outputs for each assignment.

Uploaded by

PAYUSH08
Copyright
© Attribution Non-Commercial (BY-NC)
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

COMPUTER APPLICATION ASSIGNMENTS CLASS X

NOTE: EACH PROGRAM SHOULD CONSIST OF A PROGRAM CODE, VARIABLE DESCRIPTION, COMMENTS IN PENCIL, SAMPLE INPUT AND OUTPUT. ALL SHOULD BE HANDWRITTEN THE ASSIGNMENT FILE SHOULD HAVE A COVERING SHEET AND INDEX IN ASCENDING ORDER 1) WAP to calculate simple interest by using static values and by inputting values through the keyboard. 2) WAP to input two values and determine the following: (a). Area of a rectangle (b). Area of a square (c). Perimeter of a rectangle (d). Perimeter of a square 3) WAP to find area of a circle and area of a rectangle. 4) WAP to find the average of three numbers to be inputed . 5) WAP to input an integer value with two or more digits and find the number of days and months present in the integer value . Assume that every month has 30 days. 6) A hard disk costs Rs. 2000. A festival discount of 15% is given by the retailer .WAP to find the discount amount and the actual price to be paid by the customer. 7) WAP to input a year and print whether its a leap year or not? 8) WAP to print first ten multiples of three. 9) WAP to print natural numbers till n, where n is to be inputted by the user. 10) WAP to print tables in the following format: The first twelve multiples of a number inputted by a user are to be printed in the following format . 4*1=4 11) WAP to accept any integer value from the keyboard(1-12) and print the corresponding month 12) WAP to convert Dollars into Rupees and print the amount in Rs. One dollar=Rs50.45. Input the amount in dollars . 13) WAP to print natural numbers in the descending order starting from 50,49,48..1 14) WAP to sum up Even numbers and Odd numbers for the first 50 natural numbers. 15) WAP to calculate the water tax to be paid by a consumer. The water tax structure is as follows:

Water tax consumption in gallons 45-75 77-120 120-200 200-350 Above 300

Tax in Rs. 475 750 1225 1670 3245

16) WAP to calculate the monthly salary of 50 employees in an office. Input Name and basic salary of an employee from the keyboard. Calculations are as follows: Dearness allowance 34.6% of basic House rent allowance 25.7% of basic CCA Rs.350.00 Gross salary=Basic salary+DA+HRA+CCA Income tax is calculated on annul gross salary at 2.8% Net Salary= Gross salary-Income tax 17) WAP to accept the purchase amount and avail discount at a Music shop on the following basis Purchase amount in Rs Discount in % Above Rs 10000 20 7500-10000 15 5000-7500 11.5 Below 5000 9.5 The program should accept the amount and then output the discount availed and the amount to be paid by the customer. 18) WAP to enter a numeric value and print its value for a. Absolute value of a number b. Square root of a number c. Cube root of a number 19) WAP to calculate the electricity bill to be paid by the consumer on the number of units consumed in a month. Units consumed Charge per unit in Rs First 150 1.20 Next 275 2.50 Above 300 3.10 20) WAP to accept the three sides of a triangle from the keyboard and print appropriate message for the type it belongs to: Scalene, Isosceles & Equlateral.

You might also like