Computer Applicationscl-10 2023-24 Preboard
Computer Applicationscl-10 2023-24 Preboard
MAXIMUM MARKS:100
CLASS-X
PREBOARD
Question 1 [20]
Super class
Question 2 [10]
Question 3 [10]
Question 1
1. Wap to enter numbers in a 3*3 matrix and check whether it is a symmetric matrix or not?
A symmetric matrix is one in which 1 st row is equal to the 1 st column, 2nd row is equal to
the 2nd column and so on.
e.g.
1 2 3
2 3 4
3 4 5
2. Wap to enter 10 number in an array and arrange them in descending order using selection
sort process?
3. WAP to print the patterns given below:
a. JAVA
JAV
JA
J
b. B
BL
BLU
BLUE
4. WAP to input the ticket amount for the customer and calculate the discount amount and
net amount to be paid according to the given table.
Member methods:
void calculate(): find the overtime charges according to the given criteria:
Also write the main method to make the object of the class and call the member methods.