Friday , 28 July 2017
Latest Posts
Home » Sample Practice Paper Class 10 » ICSE Computer Applications [Sample Paper 7]

# ICSE Computer Applications [Sample Paper 7]

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.

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.]

## Modified Specimen Paper for Computer Science ISC 2016 Examination and onwards

ISC Computer Science (Theory and Practical) Specimen Papers for ISC Examination 2016 and onwards.

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

2. Akshar Srinivasan

I found this very easy than my text book

3. What is the use of random()?

• random() gives a random number between 0 and 1
Return type: double
Syntax: 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))

4. Q2. a) 1)new 2)static

5. 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’); —-> b will contain ‘true’

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

Example 3: String s = “Java for school awesome!”;
boolean b = s.endsWith(‘e’); —-> b will contain ‘false’ because now the string ends with ‘!’

random() gives a random number between 0 and 1
Return type: double
Syntax: 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))

6. vineetthakur190@gmail.com

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:

```double pattern(double x, double n)
{
double sum = 0.0;
for(double i = n; i &lt;= 1.0; i--)
{
sum = sum + x/i;
}
return sum;
}
```