Formatting page ...
AKASH INTERNATIONAL RESIDENTIAL public SCHOOL Prasannahalli road, Devanahalli, Bangalore - 562 110 2nd PreBoard Examination for Class X - February 2016 SUBJECT: Computer Application Class: X - ICSE Duration: 2 hour Maximum Marks: 100 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) Explain implicity and explicity. [2] b) Write valid java statement for the following: 1. To print a raised to the power 5 . 2. To get positive value of -6.3 after rounding up to higher. [2] c) Convert the following to if else statement in java value = (x+100) > 500? 1000 : 500 ; [2] d) Give the output of the following and say how many times loop will get executed[2] int i = 5; do { System.out.println("Welcome\nto\n2nd\nPreboard\nExamination"); } while (i<0); e) Rewrite the following java code after correcting the errors. int S = 4, string M; if (S=3); M = You can get ice cream ; [2]
|