Professional Documents
Culture Documents
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
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);
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
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
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
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
Prelim Papers of Chemistry (Solved) Prelim Papers of Physics (Solved) Organic Chemistry -
from Best Schools from Best Schools Master the Basics