Trending ▼   ResFinder  

ICSE Prelims 2018 : Computer Applications (Ashoka Universal School (AUS), Nashik)

4 pages, 40 questions, 29 questions with responses, 31 total responses,    2    0
Priya Jain
 Nasik 
+Fave Message
 Home > priya_jain_78 >   F Also featured on: School Page icse

Formatting page ...

Preboard-II Class : X Time: 2hrs Subject : Computer Application Marks: 100mks Answer 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. Time given at the head of this paper is the time allowed for writing the answers. This paper is divided in 2 sections. Attempt all questions of Section A and any 4 questions of Section B. The intended marks for questions or part of questions are given in square brackets [ ]. In programs give appropriate variable names and comments wherever necessary. Question 1: 1. Why is Java considered as OOP language? 2. Write the java statement for ( + 5 [2] ) 2 3. What is scanner class? Name functions of scanner class to read integer and String data type. 4. Identity which are invalid statements and Why a. long number=50,000; b. int a1=5; c. boolean var=1; d. byte a= =5; e. char f= a ; 5. What is the difference between Operator and Expression? Question 2: 1. Give output of the following code snippet String str="2015 throws IOException"; System.out.println (str.substring(0,4)+ str.substring(17,str.length())); System.out.println(str.substring(5,9)+str.lastIndexOf("a")); [2] [2] [2] [2] 2. What is the output of the following? double a=-5.0,b=-3.0,c=-6.0,d=25.60,e; e=Math.abs(Math.max(a,Math.max(b,c))); System.out.println(Math.ceil(d)+"\t"+e); [2] 3. Write output of the following:- [2] int a[]={2,4,6,8,10}; int k=2; int i=--a[2]; int j=a[++k]; System.out.println("The value of i is:"+i); System.out.println("The value of j is:"+j); 4. What do you understand by return statement in a method? If a number of return statements are used in a program, how many of them can be executed at a time? [2] 5. Write the output for the following java statement: int a=10, b=15, c=25; 6. System.out.println((a==(b+c))||(b== (a+c))&&(a!=(a+b))); Question 3: 1. What is an escape sequence? Give at least 2 example. 2. There can be only one catch block for a single try block.State true and false.Justify. G-X/Preliminary Exam-II/Computer Application Page 1 of 4 [2] [2] [2]

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Sejal Gupta

(21)

Ansh Singh

(9)

Aruna Rander

(4)

*No name*

(3)

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

priya_jain_78 chat