Trending ▼   ResFinder  

ICSE Prelims 2018 : Computer Applications

5 pages, 6 questions, 0 questions with responses, 0 total responses,    0    0
Chandralekha.C
Dr. Dasarathan International School (Dr DIS), Coimbatore
+Fave Message
 Home > drdasarathan >

Formatting page ...

Dr. DASARATHAN INTERNATIONAL SCHOOL, COIMBATORE-17 (ICSE) (Affiliated to the Council for the Indian School Certificate Examinations, New Delhi) FIRST MODEL EXAMINATION-2017 CLASS: X COMPUTER APPLICATIONS MAX MARKS: 100 Time : 2Hrs TIME: 2hrs SECTION A(40 MARKS) Question 1 a. Define Data Abstraction. In what way it is implemented in OOP. [2] b. State the difference between a boolean literal and a character literal. [2] c. Write one word answer for the following. [2] i. The default initial value of a character data type ii. A method that converts a string to a primitive integer data type. d. Write the function prototype for the function sum that takes an integer variable x as its argument and returns a value of float data type. [2] e. Differentiate between public and private modifiers for the member of a class. [2] Question 2 a. What will be the result stored in x after evaluating the following expression? [2] int x=20; x+=(x++)+(++x)+x; b. In the program below, state the name and the value of the [2] i. method argument ii. class variable iii. instance variable iv. local variable class My { static int x=7; int y=2; void Method(int n) { System.out.println(n); System.out.println(y); } public static void main(String args[]) {My obj = new My(); System.out.println(x); Obj.Method(5); int a=6; System.out.println(a);}

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

drdasarathan chat