Formatting page ...
JAVA FOR SCHOOL SAMPLE PAPER 6 Making Java Fun To Learn ICSE (Class X) --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- COMPUTER APPLICATIONS (Theory) (Two hours) 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. 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) Attempt all questions Question 1. (a) (b) Define this keyword. What is its significance? State the Java concept that is implemented through: [2] (i) dividing a long set of instructions into smaller groups/modules (ii) the wrapping up of data and its associated function into a class. [2] (c) Differentiate between parameterized and non-parameterized constructor. [2] (d) What are wrapper classes? Give an example. [2] (e) Write statements to show how finding the length of a character array ch[] differs from finding the length of a String object str. [2] Question 2. (a) Name the Java keyword that: (i) indicates that a method has no return type. (ii) converts a variable into a constant. [2] (b) What is polymorphism? How does function overloading implement polymorphism? [2] (c) Explain: "Objects encapsulate characteristics and behaviour" [2] (d) (e) What is the difference between a pure and mixed expression. Explain the use of the below given functions: [2] (i) trim() (ii) isWhitespace() [2] This Paper consists of 4 printed pages. TSP006 www.javaforschool.com Turn over
|