Formatting page ...
Pre Board Examination /Grade X / 1st Dec, 22/Thursday/ Computer Applications /Morning ________________________________________________________________________________ Time Limit: 2 hours MM: 100 Amrita Pandey - 16 Instructions This paper is divided into two sections Attempt 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) Q.1 (i) (ii) Choose the correct answer and write. The_____________ is called the instance of the class. (a) String (b) object (c) blueprint (d) None of these Polymorphism is implemented by using (a) (b) (c) (d) Function overriding Function prototype Function overloading Constructor (iii) Multiple branching statement in java is: (a) switch (b) while (c) for (d) if-else (iv) Find the output of the following code: int s=14; if(s>20) System.out.print( under ); else System.out.print( over ); System.out.print( the limit ); (a) under the limit (b) over the limit (c) under (d) the limit This document consists of 5 printed pages [20]
|