0% found this document useful (0 votes)
17 views5 pages

Maxwell Public Schoo1

This document is a practical record for Class X Computer Application at Maxwell Public School, certifying Miss Chaithra P's work for the ICSE exam course in 2024-2025. It includes an index of programming tasks covering various topics such as calculating costs, checking number properties, and implementing classes and methods. The tasks involve practical programming exercises aimed at enhancing students' coding skills.

Uploaded by

nodidemanasu
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)
17 views5 pages

Maxwell Public Schoo1

This document is a practical record for Class X Computer Application at Maxwell Public School, certifying Miss Chaithra P's work for the ICSE exam course in 2024-2025. It includes an index of programming tasks covering various topics such as calculating costs, checking number properties, and implementing classes and methods. The tasks involve practical programming exercises aimed at enhancing students' coding skills.

Uploaded by

nodidemanasu
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/ 5

Maxwell public school

9th main | Kalyan Nagar | 1st Block | H.R.B.R Layout | Bangalore – 560043
Phone: 080 – 2545082/25452859 | Fax: 080 – 25453112 | Mobile: 8041100543
Email: [email protected]

Computer Application
Practical Record
Class – X

CERTIFICATE
This is to certify that this is a Bonafide Record of Practical Work done by Miss :
Chaithra P, Reg no. ______ for the ICSE exam course in Computer Application in
the year 2024 – 2025.

Exam Date Teacher in Charge

External Examiner
INDEX

Sl. No. Topic Page no. Remarks


01. Write a program to input the price of a product
(in decimals) and quantity purchased (in
integer). Calculate the total cost and discount
on total cost. Also, calculate the net amount to
be paid (less discount). Print the price,
quantity, total cost, discount and net amount
to be paid.
02. Write a program to input a number, check and
print whether it is perfect number or not.
03. Using switch–case statement, write a menu
driven program to accept a number. Check and
display whether it is a prime number or not and
the same number is an Automorphic number
or not.
04. Write a program to accept a number and check
and display whether it is a spy number or not.
05. Design a class to overload a function series() as
follows:
(i) void series( int x, int n ) – to display the sum
of the series given: x^1 + x^2 + ……… x^n terms
(ii) void series( int p) – to display the following
series: 0, 7, 26, 63, …… p terms
(iii) void series() – to display sum of the series
given: ½ + 1/3 + ¼ + …… 1/10
06. Write a program to define a method void
salary( int age, double basic ) – with age of
employee (age) and basic salary of the
employee (basic), calculate the allowances and
net salary.
07. Write a program to define a method void HCF(
int m, int n ) – with two integer arguments m
and n, find and print the HCF / GCD of m and n.
08. Define a class to overload the method print() as
follows:
(i) void print() – to print the format
1
2 3
4 5 6
7 8 9 10
(ii) Boolean print( int n ) – to check whether the
number (n) is a Duedency number, and returns
true otherwise returns false.
(iii) void print( int n, char ch ) – If ch = ‘s’ or ‘S’
then print square of argument n. If ch = ‘c’ or
‘C’ then print cube of argument n otherwise
display a message “Invalid character”.
09. Create a class Examination with the following:
Instance variables / data members:
String name – to store the name of student
int roll – to store the roll no. of student
int total – to store the total marks
char grade – to store the grades obtained.
Member methods :
(i) Examination() – default constructor to
initialize the default values to data members.
(ii) void accept() – to input name, roll number
and total marks of the student.
(iii) void compute() – to decide and store the
grades obtained by the student.
(iv) void Print() – to print the name, roll
number, total marks and grade of the student.
Write a main() function to create and object of
the class and invoke the above methods.
10. Create a class Stock with the following:
Instance variables / data members :
String Pname – to store the product name
int qty – to store the quantity of the product
purchased
double price – to store the unit price of the
product.
double totalCost – to store total cost of the
product purchased
double dis – to store the discount availed
double netAmount – to store the net amount
to be paid after the discount
Member Methods :
(i) Stock( String n, int q, double p) –
parameterized constructor to initialize the data
members Pname = n, qty = q, and price = p.
(ii) void calculate() – to find he total cost and
15% discount on the total cost, if the total cost
of the purchase is greater than or equal to
10000.0 otherwise 7% discount on the total
cost. Calculate the net amount after the
discount.
(iii) void display() – to print name of the
product, total cost, discount and net amount.
Write a main() function to create an object of
the class and invoke the above methods.
11. Write a program to declare a double
dimensional array of 3 rows and 4 columns.
Print the array in matrix form of 3 x 4, find and
print the sum of only odd elements of matrix.
12. Write a program to initialize an array with list
of integers given below, and arrange them in
ascending order using bubble sort technique.
Print the original array horizontally along with
appropriate messages.
22, 8, 4, 11, 5, 78, 2, 7, 15, 44
13. Write a program to perform binary search on a
list of integers given below, to search for an
element input by the user. If it is found, then
display the element along with its index /
position, otherwise display the message
“Search element not found”.
2, 5, 7, 10, 15, 20, 29, 30, 46, 50
14. Write a program to input a double dimensional
array of N rows and N columns, where ‘N’ is
input by the user.
15. Define a class to declare a character array of
size five, accept the characters into the array
and display all the characters in a single line
along with the count of lowercase vowels and
count of other characters.
16. Write a program to perform the operations on
the list of strings given below:
Mouse, keyboard, WIRELESS NETWORK,
ROUTER, World Wide Web
(i) Display all the strings along with the index /
row numbers in separate lines.
(ii) Display the characters present at 2nd and 3rd
column.
(iii) Display the length of the string present at
2nd index/row along with the string.
(iv) Display the size of the array.
17. Write a program to input a string and print as:
B
B A
B A S
B A S I
B A S I C
18. Write a program to accept a string and display
the number of uppercase characters, number
of lowercase characters and number of digits
present in the string.
19. Write a program to accept a name and print
the initials of the name except the last
word/surname. Each initial must be followed
by symbol dot(.)
20. Write a program to accept a word and convert
into lowercase if it is in uppercase, and display
the new word by replacing the VOWELS with
the characters following it.

You might also like