This is the 7th Sample/Guess Paper for ICSE Class 10, Computer Applications students appearing for their 2014 ICSE exams and above.

To improve yourself and and to extract maximum benefit from these sample papers, choose a suitable time for yourself, and have 2 hours in your hand. Then try to solve this paper in the time limit given at the head of the paper taking 15 minutes extra for reading the paper.

Any queries regarding answer to any of the questions can be posted as a comment.

**[Download ICSE Sample Paper – 07]**

The moment you start solving these sample papers in the above described way, you will see a huge change in the way, you start preparing for your Computer Exams, and it will ultimately make you better and better.

[**Note:**Don’t forget to share these resources and links from our website in your social networking sites with your friends and followers.]

what is the java keyword that is used to declare class variables?

static

I found this very easy than my text book

What is the use of random()?

random()gives a random number between 0 and 1Return type:doubleSyntax:Math.random( );To get any random number between ‘a’ and ‘b’ use:

a+ (Math.random()*(b-a))Example:for a random number between 2 and 100 : 2 + (Math.random()*(98))Q2. a) 1)new 2)static

Correct

Explain

endsWith()

random ()

endsWith()checks whether a String ends with any given character or a String or not.Return Type: boolean

Example 1:String s = “Java for school awesome”;boolean b = s.endsWith(‘e’); —->

bwill contain ‘true’Example 2:String s = “Java for school awesome”;boolean b = s.endsWith(“some”); —->

bwill contain ‘true’Example 3:String s = “Java for school awesome!”;boolean b = s.endsWith(‘e’); —->

bwill contain ‘false’ because now the string ends with ‘!’random()gives a random number between 0 and 1Return type:doubleSyntax:Math.random( );To get any random number between ‘a’ and ‘b’ use:

a+ (Math.random()*(b-a))Example:for a random number between 2 and 100 : 2 + (Math.random()*(98))CAn you please tell me

c) What is the difference between subscript and subscripted variable

ii) double pattern(double x, double n) with two double arguments and returns the sumof the series,

S = xn+ x −1+ xn−2+⋯+ x2…+ x1

and last program we have do with help of sorting bubble sort

Hello Vineet,

Regarding question 1 (c):Subscripts are the index numbers of an array, and an array element is a subscripted variable.

Example: In the array: int A[] = new int [5];

The subscripts are 0, 1, 2, 3, 4 i.e. 0 – 4 and the elements A[0], A[1], A[2], A[3], A[4] are the subscripted variables.

Regarding question 9 (ii):You don’t need any second loop or any sorting technique. Just run the ‘i’ loop backwards from ‘n’ to ‘1’. So the code will be: