Sample PapersICSEClass 9Computer Applications

Free ICSE JAVA sample paper for class IX

Free ICSE Java sample paper for Class 9: ICSE Class 9 Computer Applications sample paper with important questions for computer exam practice.

Updated
Sample Papers

Here is a sample paper for class IX ICSE.

Click for java videos
http://www.youtube.com/trushnatej

Click for more sample papers
ICSE sample paper 10: Top questions for free

Download the paper

ICSE Class 9 Sample Paper

PDF · 70 KB

Download PDF
Read the questions as text
Section A (40 marks) Q 1. a. Write two integer primitive data types. b. Name two rules of naming an identifier. c. What is an object? d. What are keywords? Give examples. e. What are literals? Give examples. Q 2. a. What is a token in java? b. What is special about the main() method? c. Explain java applets in short. d. Name any two logical operators. e. Write any two features of java. Q 3. a. Which of the following are valid int variables 1. int i= true; 2. int a=34.29; 3. int x= “snv”; [5X2=10] [5X2=10] [10X2=20] 4. int f=-200; b. Correct the JAVA code (Write the correct code only) Class 2student [ Public void study() { System.out.printline(this is a school)# } { c. Give reason why the following are not valid identifier 1. int 2. 5apple 3. mobile#no d. For the given data give correct data type 1. 4. my name 1. “Application” 2. 23.7878 3. ‘T’ 4. -229 e. What are the types of java programs? f. State the difference between = and == operator. g. Define abstraction with example. h. Differentiate between data type int and double. i. In what way you can say class is a factory of similar objects? Section B (60 marks) Write JAVA Programs. (Write INPUT and OUTPUT of each program) (Attempt any six) [6X10=60] 1. Create a program to display the cube of a given number. 2. Write a program to accept the marks of the student (out of 100) in five subjects and print the percentage of the student. 3. Write a program to take input from 1 to 10 and print the table of that number. 4. Write a java program to store the name, age, Birthdate and marks in three subjects, find the total, average of a student and print them on the output screen. 5. Create a program that will accept the amount in rupees and convert it into paisa. (1 rupee=1000 paisa) 6. Create a program that will calculate simple Interest on Rs/- 25000 at the rate of 4.5% for 2 years[Simple Interest=P*R*T/100] 7. Write a program that prompts the users to enter the weight of a person in kilogram and output the equivalent weight in pounds. (1 kilogram=2.2 pounds) 8. Write a program to find out the area of a rectangle where width is stored in a variable called W and length is stored in L. [area of rectangle =W* L] 9. Write a program to swap the values stored in two variables without using temporary variables. 10. Write a program to input the basic salary of a person. He get 15% of the basic as HRA, 15% of the basic as Conveyance allowance and 10% of the basic as Entertainment allowance. The total salary is calculated by adding Basic + HRA + Conveyance + Entertainment Allowance. Calculate and print the total salary of person. 11. Write a program to print the following message “Hello Students” “We hope you are safe at home” “Let’s understand java by practicing these programs” “Practicing is fun at home” “With best wishes”