You are on page 1of 11

ICSE CLASS 10

SAMPLE PAPERS
F O R B O A R D E X A M S I N 2020

www.exam18.com
SAMPLE PAPER
COMPUTER APPLICATIONS
Class: X Time: 2 Hours
Marks: 100
Answer to this paper must be written on the paper provided separately. You will not be
allowed to write in the first 15 minutes.
This time is to be spent in reading the question paper.
The time given at the head of this paper is the time allowed for writing the answers.
This questions paper is divided in two sections.
Attempt all questions from Section A and any four questions from Section B
The intended marks for questions or parts of questions are given in [ ].
SECTION A (40 MARKS)
(Attempt All Questions)
Question 1 (10)
1. Why is the main () function so special?
2. State the difference between unary operator and binary operator.
3. What do you understand by out-of-bound subscripts?
4. What is the use of the NOT (!) operator?
5. Which unit of the class gets called when the object of the class is created?

Question 2 (10)
1. Explain the use of the following mathematical functions used in java program.
i) log()
ii) exp()
2. What do you mean by delay loop?
3. Give examples to show the use of static and dynamic initialization.
4. How will you use throws keyword with the function signature to manage exception
handling?
5. What is meant by default access to the members of a class?

Question 3 (20)
1. What is an immutable class? List such classes from Java class libraries.
2. What is meant by scope of a variable?
3. Can a program having class declaration run without a constructor? Justify.
4. Write the names of any four Java API packages.
5. Write the syntax to create an object of the Print Writer class.
6. Give the output for the following snippets:
i) int a [] = {2,5,8,5,3};
int i=2;
a[i]+=(a[i+1] ++) -(- -a[i-1]);
for (i=0; i<4;i++)
Answer Paper
Review
FOR ICSE CLASS 10

Professional Evaluation by
Senior ICSE Examiner

Deep insights into your performance

Paper marking as per ICSE standards

Tips & Suggestions for improvement

ENQUIRE NOW
System.out.println(a[i]);
ii) i) System.out.println(“power”.replace(‘p’,’t’));
ii) System.out.println(“academy”.substring(3));
iii) int a=5, b=2;
char c=’c’;
if(a>b||a!=b)
c=(char)(62+(++a+--b));
System.out.println(c+” “+a+” “+b);
iv) int y []={5,7,8,6};
int q=y.length;
int p=0;
for (int i=0; i<q;i++)
{
p=y[i]+y[3-i];
System.out.println(p);
}
v) int x=1000, y=9, z=5;
do
{
x=x/y;
z=z++ +1;
}
while(y<=x);
System.out.println(“Value of z= “+z);

SECTION B (60 MARKS)


(Attempt any four questions)
Question 4 (15)
According to the census of India 2001 following is the rounded off percentage of the urban
population in 10 states of India.
Sr. No State Percentage of Urban Population
1. Jammu Kashmir 25
2. Himachal Pradesh 10
3. Punjab 34
4. Haryana 29
5. Delhi 93
6. Uttar Pradesh 21
7. Bihar 10
8. Madhya Pradesh 27
9. Maharashtra 42
10. Tamil Nadu 44
Write a Java program to sort the above list in Ascending Order according to the percentage of
the Urban population using Selection Sort technique.
Question 5 (15)
Design a Java class to calculate the tax according to the description given below:
ClassName-taxpayer
Data Members:
int pan-to store personal account number
String name-to store the name of the person
float tax-to store tax that is calculated
Member Functions:
taxpayer ()-to initialize the data members
void input ()-to input the data for a tax payer
void displaydata()-to display the data
void computetax()-to compute tax for a tax payer

The tax is calculated according to the following rules:


TAXABLE INCOME RATE OF TAXATION
Upto 60,000 0%
Any amount above 60,000 but upto 5%
150,000
Any amount above 150,000 but upto 10%
500,000
Any amount above 500,000 15%

In the main method create an object of the class. Calculate the tax and output it in the
following format:
PAN NO TAXPAYER TAXABLE INCOME TAX PAYABLE

Question 6 (15)
Write a Java program to create overload function compute () to calculate and display the sum
of the following series, depending on the User’s choice:
i) S=1^2+2^2+3^2…. +n^2
ii) S=1! +2! +3! +…+ n!

Question 7 (15)
You can encode or decode a string in many ways. One of the simplest ways to replace each letter
by a letter at affixed distance ahead or behind in the alphabet, where the alphabet is assumed to
wrap around (i.e.; ‘A’ follows ‘Z’). e.g.; given string: “COMPUTER” and encode=3, means each
character moves three characters ahead. Thus, new string: FRPSXWHU
Write a program in Java to accept a string and display the new string after encoding=2, means
each character moves two characters ahead.
Sample Input: ZEOLOGY
Sample Output: BGQNQIA
Question 8 (15)
Write a program in Java to accept a number and check whether it is a Duck number or not. A
Duck number is a number which has zeroes present in it, but there should be no zero present in
the beginning of the number. For example, 3210, 7056, 76873609 are all duck numbers
whereas 087652, 091234 are not.

Question 9 (15)
Write a program to accept a string and display on those characters which are consecutives.
Sample Input: UNDERSTANDING COMPUTER PPLICATIONS
Sample Output: D, E
R, S
S, T are consecutive characters

********************
ICSE Class 10 Reference Notes written by School Teachers from some of India’s Top ICSE Schools.
All books available in Printed Book and Digital Download formats and delivery is FREE across India

English Language Last Step Practice English Literature: Merchant of English Literature: Ultimate Guide to
Venice Questions and Answers Poems
Practice

Cracking the English Essays English Literature: Merchant of Geography Super Topographical
Venice Review Notes Maps

ICSE Maths Most Important Maths: Master Your Formulas Mathematics: Last Minute Revision
Questions Notes of Trigonometry

Order books on www.exam18.com or WhatsApp us on +917506181854


ICSE Class 10 Reference Notes written by School Teachers from some of India’s Top ICSE Schools.
All books available in Printed Book and Digital Download formats and delivery is FREE across India

Biology: Human Anatomy Revision Notes Biology: Complete Revision of English Literature: Ultimate Guide to
Objective Questions Short Stories

Merchant of Venics: History & Civics Super Notes Physics: Light Revision Notes
Explanation Notes

ICSE Physics Numerical ICSE Class 10: Specimen Solutions Geography: Last Step Revision Notes
Problems

Order books on www.exam18.com or WhatsApp us on +917506181854


ICSE Class 10 Reference Notes written by School Teachers from some of India’s Top ICSE Schools.
All books available in Printed Book and Digital Download formats and delivery is FREE across India

Physics Teacher’s Notes: Current Physics Teacher’s Notes: Sound Physics Teacher’s Notes:
Electricity Electromagnetism

Physics – Genius Ways to Answer Physics Teacher’s Notes: Heat Physics Review Papers
Give Reason Based Questions

Computer Applications: Super 50 Computer Applications Last Step Analytical Solutions to ICSE Computer
Java Programs Practice Book Applications Board Papers

Order books on www.exam18.com or WhatsApp us on +917506181854


ICSE Class 10 Reference Notes written by School Teachers from some of India’s Top ICSE Schools.
All books available in Printed Book and Digital Download formats and delivery is FREE across India

ICSE Class 10 Prelim Papers of Best Prelim Papers of Maths (Solved) Prelim Papers of Biology (Solved)
Schools for Board Exams from Best Schools from Best Schools
(All Subjects Question Papers)

Prelim Papers of English Language Prelim Papers of Commercial Studies Prelim Papers of Hindi (Solved) from
(Solved) from Best Schools (Solved) from Best Schools Best Schools

Prelim Papers of Computer Prelim Papers of Geography (Solved) Prelim Papers of Hindi (Solved)
Applications (Solved) from Best from Best Schools from Best Schools
Schools

Order books on www.exam18.com or WhatsApp us on +917506181854


ICSE Class 10 Reference Notes written by School Teachers from some of India’s Top ICSE Schools.
All books available in Printed Book and Digital Download formats and delivery is FREE across India

Prelim Papers of Chemistry (Solved) Prelim Papers of Physics (Solved) Organic Chemistry -
from Best Schools from Best Schools Master the Basics

Order books on www.exam18.com or WhatsApp us on +917506181854

You might also like