Formatting page ...
JAVA FOR SCHOOL SAMPLE PAPER 4 ICSE (Class X) Making Java Fun To Learn 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) (c) (d) (e) What is Data Hiding? What is meant by private visibility of a method? Find and correct the errors in the following program segment. int n[ ] = (2,4,6,8,10); for(int i=0;i<=5;;i++) System.out.println("n["+i+"] + n[i]); Explain the statement "Java is a Compiled and Interpreted Language" What is UNICODE? [2] [2] [2] [2] [2] Question 2. (a) (b) (c) (d) (e) Explain "Write Once Run Anywhere (WORA)" Explain the Identifier Naming Rules. What will be the result of the following two expressions if i=10 initially: (i) ++i<=0 (ii) i++<=10 State the difference between Class Variable, Instance Variable and Local Variable. What do you mean by an empty loop? Give example. [2] [2] [2] [2] [2] Question 3. (a) (b) (c) (d) (e) Explain the following terms : (1) "static" keyword (2) Escape Sequence Differentiate between Java Applications and Java Applets. When two mathematical operations have the same precedence, how is the operation performed? Can arrays be initialized before declaring them? Give example. Give two rules to be followed while overloading a function. [2] [2] [2] [2] [2] This Paper consists of 3 printed pages and 1 blank page. TSP004 www.javaforschool.com Turn over
|