Formatting page ...
AKASH INTERNATIONAL RESIDENTIAL public SCHOOL Prasannahalli road, Devanahalli, Bangalore - 562 110 Preboard Examination - January 2016 Class: X - ICSE SUBJECT: Computer Application Maximum Marks: 100 Duration: 2 hour 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. You are to answer 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 ) Answer all the Questions Question 1 [10] a) Write java expression: ut + at2 [2] b) Give any four tokens. [2] c) What are library classes ? Give an example. [2] d) Give the output of the following java code: int i = 0; for (i = 10; i>1; i--) if (i%5 == 0) System.out.println( i + is divisible by 5 ); e) State two non-numeric primitive data type. Question 2 a) Give the value of x and y of the following: [2] [10] [2] String St1 = Good ; String St2 = World Matters ; String x = St2.substring (5).replace ( t , n ); String y = St1.concat (x); b) Rewrite the following code using ternary operator. [2]
|