Formatting page ...
ST. STEPHEN S SCHOOL, DUMDUM PRE BOARD EXAMINATION 2020-21 CLASS-X SUBJECT - COMPUTER APPLICATION F.M 100 Time 2 Hr. Candidates are allowed additional 15 minutes for only reading the paper and 30 minutes for scanning, making and uploading the PDF. (They must NOT start writing during this time.) This paper is divided into two sections. You are to answer all questions from Section A, and any 4 questions from Section B. The intended marks for questions or parts of questions are given in brackets [ ]. Section A (40 marks) (Attempt all questions) (While answering questions from this part, indicate briefly the working and reasoning wherever required.) Question 1. a) b) c) d) e) What is Polymorphism? How it is applicable in Java? What is reserve word in Java? Mention all the names of reserve words. What is default value for String and char? Write two differences between double and float data type. What is the working of trim() function? Give example. [2] [2] [2] [2] [2] Question 2. a) Create a class with one int type and one double type instance variable. Initialize the variable using : i. default constructor [1] ii. parameterized constructor [1] b) State a difference between lastIndexOf() and indexOf() method. [2] c) i. Name the keywords which makes the variable as a class variable. [1] ii.Name the package that contains wrapper class. [1] d) Arrange the following datatypes according to their size. [2] char, byte, double, int e) Write two differences between call by value and call by reference. [2] Protect by PDF Anti-Copy for Android (Update to Pro to remove watermark)
|