Trending ▼   ResFinder  

ICSE 2015 BOARD COMPUTER PAPER

13 pages, 0 questions, 0 questions with responses, 0 total responses,    0    0
Umang Bhargava
St. Joseph's Boys' School (SJBS), Jalandhar
X Student
+Fave Message
 Home > jattji >   F Also featured on: Group Page Group Page

Formatting page ...

ICSE 2015 Board Paper Solved Section A(40 marks) Question 1 (a)What are the default values of the primitive datatypes int and float ? Ans : Default value of int is 0 and that of float is 0.0 (b) Name any two OOP principles ? Ans : 1.Object 2.Class (c)What are Identifiers? Ans : Identifiers are a type of tokens used in Java Programming.Their value may change several types during the execution of the program. Example : int a = 5; here 'a' is the Identifier and holds a value of 5 in int type. (d)Identify the literals listed below : (i)0.5 (ii)'A' (iii)false (iv)"a" Ans : (i) Real literal (ii)character literal (iii)boolean literal (iv)String literal (e)Name the wrapper class of char type and boolean type Ans : Wrapper class of char is Character and that of boolean is Boolean Question 2 (a)Evaluate the value of n if the value of p=15, q=19; int n =(q-p)>(p-q)?(q-p):(p-q); Ans : The value of n will be 14

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 


Tags : ICSE, COMPUTER, PDF, DOC, SOLVED PAPER, BOARD PAPER,  

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

 

jattji chat