ICSE Computer Applications 2010 Previous Year Question Paper for Class-10

ICSE Computer Applications 2010 Previous Year Question Paper Solved for Class-10 Step by Step Solutions of ICSE Computer Applications 2010 of Section A and section B for preparation of board exam. You can get the idea of solving . Visit official website cisce for detail information about ICSE Class-10 Computer Application.

ICSE Computer Applications 2010 Previous Year Question Paper Solved for Class-10

Try Also other year except Computer Application 2010 Solved Question Paper ICSE Previous Year for practice Because only Computer Application 2010  Solved Question  Paper ICSE  Previous Year is not enough for preparation of upcoming council exam.

ICSE Computer Applications 2010


(Two Hours)
Answers to this Paper must be written on the paper provided separately.
You will not be allowed to write during 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 paper is divided into 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 brackets [ ].

Section ‘A’ (40 Marks)

(ICSE Computer Applications 2010)

(Attempt all questions)

Question 1:
(a) Define the term Byte code. [2]
(b) What do you mean by type conversion ? How is implicit conversion different from explicit conversion ? [2]
(c) Name two jump statements and their use. [2]
(d) What is an Exception ? Name two Exception handling blocks. [2]
(e) Write two advantages of using functions in a program. [2]

(a) Byte code is a term which has been used to denote various forms of instruction sets designed for efficient execution by a software interpreter as well as being suitable for further compilation into machine code.

(b) In Java, type conversions are performed automatically when the type of the expression on the right hand side of an assignment operation can be safely promoted to the type of the variable on the left hand side of the assignment. Thus we can safely assign :
byte to short to int to long to float to double
for example
long myLongInteger; // 64 bit long integer
int, myInteger; // 32 bit standard integer
myLongInteger = myInteger;
The extra storage associated with the long integer, in the above example, will simply be padded with extra zeros.

Explicit Conversion (Casting)

The above will not work the other way round. For example we cannot automatically convert a long to an int because the first requires more storage than the second and consequently information may be lost. To force such a conversion we must carry out an explicit conversion (assuming of course that the long integer will fit into a standard integer). This is done using a process known as a type cast :
For example :
myInteger = (int) myLongInteger;
This tells the compiler that the type of myLongInteger must be temporarily changed to an int when the given assignment statement is processed. Thus, the cast only lasts for the duration of the assignment

(c) The two jump statements are break and continue. Their use is defined as follows :
Some times we need to exit from a loop before the completion of the loop then we use break statement and exit from the loop and loop is terminated. Sometimes we need to iterate the loop before it finishes all the statements inside a loop then we use continue statement and jump to the next iteration of a loop.

(d) An exception is an event that .occurs during the execution of a program that disrupts the normal flow of instructions.
The two exception handling blocks are try and catch.
(i) The try block identifies a block of code in which an exception can occur.
(ii) The catch block identifies a block of code, known as an exception handler that can handle a particular type of exception.


(e) Two advantages of a function in a program:
(i) Debugging is easier.
(ii) It is easier to understand the logic involved in the program.

Question 2:
(a) State the purpose and return data type of the following String functions :
(i) indexOf().
(ii) compareTo(). [2]
(b) What is the result stored in x, after evaluating the following expression :
int x = 5; x=x++*2+3* – -x; [2]
(c) Differentiate between static and non-static data members. [2]
(d) Write the difference between length and length() functions. [2]
(e) Differentiate between private and protected visibility modifiers. [2]


(i) This method returns the first occurrence of a character or a sub-string in the string. It returns integer value.
e.g. : int r = s1.indexOF(“DAY”);
string s1 = “HAPPY BIRTHDAY”;
Output : 11
(ii) This method compare the invoking string with string object str exicographically & returns an integer value.
e.g. : string s1 = “GOD”;
if (s1.compare To (“OQ”)= = 0)
System.out.println (“equal”);
Output : <Nothing>
The result of the comparison is returned and is interpreted as shown here :

Value returned Meaning
Less than zero The invoking string is less than str.
Greater than zero The invoking string is greater than str.
Zero The two string are equal.

(b) The value of x is :
x=x++*2 + 3 * – -x
//sifter putting the values using precedence order x=5 *2 + 3*5
x =10 + 15;

(c) A static variable is associated with the class sis a whole rather than with specific instances of a class.
Non-static, variables take different values with each object/instance.
(d) Both returns an integer value. length property is used with an array to get the number of elements of array wheres length() method is used with String to get the length of the stored string.
(e) The data members defined under Private visibility modifiers are visible only to the class to which they belong. Where as the data members defined under Protected visibility modifiers are visible not only to the class to which they belong but also to any subclasses using inheritance.

Question -3:
(a) What do you understand by the term data abstraction ? Explain with an example. [2]

(b) What will be the output of the following code ?
(i) int m=2;
int n=15;
for(int i = 1; i<5; i++);
m++; – -n;
System.out.println(“n-”+n); [2]
(ii) char x=‘A’; int m;
m= (x==’a’) ? ‘A’: ‘a’;
System.out.println(“m=” +m); [2]

(c) Analyse the following program segment and determine how many times the loop will be executed and what will be the output of the program segment.
int k=1 ,i=2;
System.outprintln(k); [2]

(d) Give the prototype of a function check which receives a character ch and an integer n and returns true or false. [2]

(e) State two features of a constructor. [2]

(f) Write a statement each to perform the following task on a string :
(i) Extract the second last character of a word stored in the variable wd. [2]
(ii) Check if the second character of a string str is in uppercase. [2]

Read Next 👇 Click on Page Number Given Below 👇

Leave a comment