0% found this document useful (0 votes)
24 views3 pages

GR Ix - Icse - T1 - 2025-2026

The document is an examination paper for Grade IX ICSE in Computer Applications for the academic year 2025-2026, consisting of two sections: Section A with 40 marks and Section B with 60 marks. Section A includes multiple-choice and short answer questions related to Java programming concepts, while Section B requires students to write Java programs based on given specifications. The paper covers topics such as Object-Oriented Programming, user input handling, and mathematical expressions in Java.

Uploaded by

vaanydev
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views3 pages

GR Ix - Icse - T1 - 2025-2026

The document is an examination paper for Grade IX ICSE in Computer Applications for the academic year 2025-2026, consisting of two sections: Section A with 40 marks and Section B with 60 marks. Section A includes multiple-choice and short answer questions related to Java programming concepts, while Section B requires students to write Java programs based on given specifications. The paper covers topics such as Object-Oriented Programming, user input handling, and mathematical expressions in Java.

Uploaded by

vaanydev
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

FIRST TERMINAL EXAMINATION (2025-2026)

COMPUTER APPLICATION
Grade: IX ICSE Maximum Marks: 100
Date: 26/09/2025 Duration: 2 Hours

SECTION A (40 Marks)


(Attempt all questions from this Section)
Question 1
a) What is a bytecode in Java and why is it essential for platform independence? [2]
b) Name the four main principles of Object-Oriented Programming (OOP). [2]
c) What is the purpose of the new operator in Java? Give a simple example of its usage.[2]
d) Define the term Data Abstraction with two examples. [2]

Question 2
a) What is an escape sequence? Give an example of an escape sequence for a tab.[2]
b) Which class is most commonly used to accept user input from the console in Java? Name
the specific package that must be imported to use this class[2]
c) Write the equivalent Java expression for the following mathematical expression:[2]
a = πr² + 2h

Question 3
a) Differentiate between an Object and a Class. (Give at least three distinct points). [4]
b) Differentiate between Procedure-Oriented Programming (POP) and Object-Oriented
Programming (OOP). (Give at least three distinct points). [4]

Question 4
a) Rewrite the following code snippet using a ternary operator.[4]
int x = 25;
int y = 50;
int result;
if (x > y)
{
result = x;
}
else
{
result = y;
}
System.out.println("The greater value is: " + result);

b) Write down the following expressions in Java :[4]


1. Area = ( (a + b) / 2 ) * h
2. X = ( -b + √(b² - 4ac) ) / 2a
3. d = √((x₂ - x₁)² + (y₂ - y₁)²)
4. Z= 5x³ - ( y / 3 ) + x²+ y³

This question paper consists of ___ printed pages


1
Question 5
Give the output of the following Java statements:
a) System.out.println("The result is " + 8 + 4);
b) System.out.println(8 + 4 + " is the result");
c) double val = 20.0;
System.out.println(val % 6);
d) System.out.println(Math.pow(2, 4) + Math.sqrt(81));
e) int p = 15;
p -= 5;
System.out.println(p); [2+2+2+2+2]

SECTION B (60 Marks)


(Attempt any four questions from this Section)
Question 4: [15 Marks]
Write a program to create a class named Employee. The class should have the following
instance variables:
 emp_id (integer)
 name (String)
 monthly_salary (double)
The class should have the following methods:
 void accept(): To accept the employee ID, name, and monthly salary from the user.
 void calculate(): To calculate the annual salary (annual_salary = monthly_salary *
12).
 void display(): To display the employee ID, name, monthly salary, and the calculated
annual salary in a proper format.
Create an object of the class in the main method and call the above methods in the correct
order.

Question 5: [15 Marks]


Write a program to create a class Circle with the following members:
 Instance variable: radius of type double.
 Methods:
o void getData(): To take the radius of the circle as input from the user.
o double area(): To calculate and return the area of the circle (πr²). Use Math.PI
for the value of π.
o double circumference(): To calculate and return the circumference of the circle
(2πr).
In the main method, create an object of the Circle class, call the getData() method. Then,
calculate and display the area and circumference by calling the respective methods.

2
Question 6: [15 Marks]
Write a program to input three numbers from the user and find the largest of the three
numbers using the ternary operator. Display the largest number.

Question 7: [15 Marks]


Write a program to create a class named Student with the following instance variables:
 name (String)
 marks1, marks2, marks3 (int)
The class should have the following methods:
 void input(): To accept the name and marks in three subjects.
 void compute(): To calculate the total marks and the average percentage.
 void show(): To display the student's name, total marks, and average percentage.
Create an object of the Student class in the main method and call the methods to perform the
required operations.

Question 8: [15 Marks]


Write a program to input the principal amount (P), rate of interest (R), and time in years (T)
from the user. Calculate and display the Simple Interest.
Formula: Simple Interest = (P * R * T) / 100
Also, calculate and display the total amount to be paid (Principal + Simple Interest). All the
inputs and results should be of a suitable data type.

Question 9: [15 Marks]


Write a program that accepts a temperature in Celsius from the user and converts it into
Fahrenheit. Display the result.
Formula: F = (C * 9/5) + 32
Where F is the temperature in Fahrenheit and C is the temperature in Celsius. Ensure that the
division 9/5 is performed as a floating-point operation.

You might also like