Formatting page ...
SHANTINIKETAN TRUST SCHOOL #70 BILEKAHALLI, BANGALORE-76 II PREPARATORY EXAMINATION 2014-2015 SUB : COMPUTER APPLICATIONS Std. X ICSE 100 Total Marks : 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. The time given at the head of this paper is the time given for writing the answers. _____________________________________________________________________ This paper is divided into two Sections. Attempt all questions from Section A and any four question from Section B. The intended marks for questions or parts of questions are given in brackets(). _____________________________________________________________________ Section A (This section consists of 40 marks. All the questions are compulsory.) Q1. A) What is the maximum value that the following statement will evaluate to? (int)( Math.random() * 6 ); B) What is Java API? C) What will be the result of the following? (a) ~(1011) (b) 1110<<2 (1) Q2. A) Explain block scope with an example program. B) Give the syntax of the do-while loop. C) What is the difference between formal and actual parameters? (3) (1) Q3.A) Why are arrays and classes called reference types? B) What will be the result of the following : i)rint(20.51); ii)abs(-18.5); C) Explain the difference between implicit and explicit type conversion. Q4.A) What is a boolean expression? B) What will be the output of: int ctr=1; outer: for(int i=1 ; i<=5 ; i++) (2) (2) (2) (2) (2) (2) (1) (3)
|