Trending ▼   ResFinder  

ICSE II TERM 2017 : Computer Applications

4 pages, 5 questions, 0 questions with responses, 0 total responses,    0    0
sarakesavan
Madras University (MU), Chennai
M.C.A Computer Applications
+Fave Message
 Home > sarakesavan >

Formatting page ...

SUBJECT: Computer Applications Class: X Marks:100 Time: 2Hrs 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 in Section B. The intended marks for questions or parts of questions are given in brackets[ ]. SECTION A (Attempt all questions from this section) [40 Marks] Question 1 a) A single dimensional array contains N elements what will be the last subscript? [2] b) What is the role of try and catch keyword in exception handling? Give an example. [2] c) Suppose a = Computer . What will be the following Java statement return? Explain with the output [2] a.toCharArray(a.substring(2,7)); d) Differentiate interpreter and compiler. [2] e) Values are assigned to a variable using which operator? Are both these statements same? [2] a + = b; a = a + b; Question 2 a) Differentiate between: i) Call by value and Call by reference [2] ii) Pure function and Impure function b) Evaluate the following Java expression if x=-3, y= --x. [2] x - = --x + x--+y++ + - - x + --y* 2 c) What is the purpose of using This keyword? [2] d) Explain the formal and actual parameter with an example. [2] e) Consider the following code [2] int amount = 100; while (amount > 0 ) { system.out.println(amount);

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

© 2010 - 2024 ResPaper. Terms of ServiceContact Us Advertise with us

 

sarakesavan chat