Trending ▼   ResFinder  

ICSE Class X Mid-term 2025 : Computer Applications

3 pages, 0 questions, 0 questions with responses, 0 total responses,    0    0
Goutam Pal
  
+Fave Message
 Home > goutampal54 >

Formatting page ...

HALF YEARLY EXAMINATION 2025-2026 CLASS: X FULL MARKS: 50 COMPUTER APPLICATION Time: One hour 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 Two questions from Section B. The intended marks for questions or parts of questions are given in brackets[ ]. SECTION A (20 Marks) (Attempt all questions from this Section.) Question 1 Choose the correct answers to the questions from the given options. (Do not copy the questions, write the correct answers only.) i) What is the output of Math.ceil(5.4)+Math.ceil(4.5)? a) 10.0 b) 12.0 c)11.0 d) 9.0 ii) The extension of a Java source code file is: a) exe b) obj c) jvm d) java iii) What is the type of error, if any, when two methods have the same method signature? a) Runtime error b) Logical error c) Syntax error d) No error iv) The advantage/s of user-defined methods are/is: (i) Reusability (ii) Complexity (iii) Modularity a) Only (i) b) (ii) and (iiii) c) Only (iiii) d) (i) and (iii) v) What does the following code print? int x = 3; while (x < 9) { System.out.print(x + " "); } a) 3 4 5 6 7 8 b) 3 4 5 6 7 8 9 c) It is an infinite loop d) 0 1 2 3 4 5 6 7 8 9 vi) Parameters which receive the values from the called method are termed as _______ parameters. a) actual b) reference c) formal d) class Page 1 of 3 [10] vii) Which of the following is a valid method prototype? a) public int perform (int a;int b) b) public perform (int a, int b) c) public int perform (int a, int b) d) public perform int (int a, int b) viii) Which of the following is the CORRECT statement to invoke the method with the prototype int display(int a, char ch)? a) int m = display( A , 45); b) int m = display( ); c) int m = display(A,45); d) int m = display(45, A ); ix) Mr. Sanjay is an event manager, he plans and allots duties to each of his subordinates to handle different events. In a program, a task is divided into simple methods. Name the feature used in these contexts. a) Complexity b) Modularity c) Reusability d) Monolithic x) Assertion: Property by virtue of which one class acquires the properties of another class is termed as Inheritance. Reason: Inheritance promotes reusability. a) Assertion is true, Reason is false b) Assertion is true, Reason is true. c) Assertion is false, Reason is false. d) Assertion is false, Reason is true. Question 2 i) Name the following: [2] (a) Method with the same name as of the class and is invoked every time an object is created. (b) Keyword to access the classes of a package. ii) Give the output of the following program segment: [2] for(k=a;k<=a*b;k+=a) { if (k%b==0) break; } System. out. println(k); Give the output when a=6, b= 4. iii) Name the type of type casting in the given statements: [2] (a) double m = b ; (b) char ch = (char) 68; iv) Convert the following for loop segment to an exit-controlled loop. [2] for(k=10;k>= -1;k- -) System. out. println(k*2); System. out. println(k*4); v) Evaluate the expression: [2] 3*6%5*4/2*7%5 SECTION B (30 Marks) (Answer any two questions from this Section.) The answers in this section should consist of the programs in either BlueJ environment or any program environment with Java as the base. Each program should be written using variable description / mnemonic codes so that the logic of the program is clearly depicted. Flowcharts and algorithms are not required. Question 3 [15] DTDC a courier company charges for the courier based on the weight of the parcel. Define a class with the following specifications: class name: courier Page 2 of 3 Member variables: name name of the customer weight weight of the parcel in kilograms address address of the recipient bill amount to be paid type D - domestic, I - international Member methods: void accept ( ) to accept the details using the methods of the Scanner class only. void calculate ( ) to calculate the bill as per the following criteria: Weight in Kgs Rate per Kg First 5 Kgs Rs.800 Next 5 Kgs Rs.700 Above 10 Kgs Rs.500 An additional amount of Rs.1500 is charged if the type of the courier is I (International) void print ( ) To print the details void main ( ) to create an object of the class and invoke the methods Question 4 Define a class to overload the method perform as follows: double perform (double r, double h) void perform (int r, int c) void perform (int m, int n, char ch) to calculate and return the value of Curved surface area of cone SA= rl l= 2 + 2 Use NESTED FOR LOOP to generate the following format r = 4, c = 5 output 12345 12345 12345 12345 to print the quotient of the division of m and n if ch is Q else print the remainder of the division of m and n if ch is R Question 5 Define a class to accept a number from user and check if it is an EvenPal number or not. (The number is said to be EvenPal number when number is palindrome number (a number is palindrome if it is equal to its reverse) and sum of its digits is an even number.) Example: 121 is a palindrome number Sum of the digits 1+2+1 = 4 which is an even number ************** Page 3 of 3 [15] [15]

Formatting page ...

Related ResPapers
ICSE Class X Mid-term 2025 : Computer Applications
by asff_dvv 
ICSE Class X Mid-term 2025 : Computer Applications (Nalanda International School, Vadodara)
by kinjalahuja087 
ICSE Class X Mid-term 2025 : Computer Applications
by sanmesh2009 
ICSE Class X Mid-term 2025 : Computer Applications
by anithadominic 

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 


© 2010 - 2026 ResPaper. Terms of ServiceContact Us Advertise with us

 

goutampal54 chat