Trending ▼   ResFinder  

ICSE Class X Sample / Model Paper 2026 : Computer Applications

6 pages, 0 questions, 0 questions with responses, 0 total responses,    0    0
SoniaFdo
  
+Fave Message
 Home > soniafernando >

Formatting page ...

ICSC Class 10 Computer Applications Sample Paper 05 Page 1 Sample Paper 05 ICSE Class X 2024-25 COMPUTER APPLICATIONS Time: 2 Hours Max. Marks: 100 General Instructions : 1. Answers to this Paper must be written on the paper provided separately. 2. You will not be allowed to write during the first 15 minutes. 3. This time is to be spent in reading the question paper. 4. The time given at the head of this Paper is the time allowed for writing the answers. 5. This Paper is divided into two Sections. 6. Attempt all questions from Section A and any four questions from Section B. 7. The intended marks for questions or parts of questions are given in brackets [ ]. SECTION A Attempt all questions from this part. QUESTION 1. Choose the correct answer and write the correct option. (Do not copy the question, write the correct answers only.) (i) Identify the statement that involves a fall-through behavior: (a) Switch (b) For loop (c) If-else-if (d) If-else (ii) This variable can be accessed by calling with the class name. (a) Instance (c) Class b) Local (d) None of these (iii) Which of the following statements is true about logical errors? (a) The compiler cannot detect these errors. (b) No error indication is shown when the program runs. (c) The program may yield correct results for some inputs but incorrect results for others. (d) All of the above (iv) Object-oriented programming primarily utilizes which of the following approaches? (a) Bottom up approach (c) Top down approach (b) Top down and bottom up approach (d) None of the above (v) In which technique are the values of actual parameters copied to the formal parameters? (a) Call by reference (c) Call by argument (b) Call by value (d) Call by method Continue on next page..... Install NODIA App to See the Solutions. Click Here To Install Page 2 Sample Paper 05 NODIA (vi) What is the main purpose of passing arguments to functions? (a) Message passing (c) Variable passing (b) Parameter passing (d) Argument passing (vii) Which package would you import for the Scanner class? (a) java.util.*; (c) java,io.*; (b) java.awt.*; (d) java.lang.*; (viii) Give the output of Math.abs(x); when x = 15.75 (a) 15.75 (c) 0.75 (b) 15.75 (d) None of these (ix) Which of the following is the correct way to declare an integer array with 10 elements? (a) int[ ] arr = new int[10]; (c) int arr (10); (b) int arr; (d) int ( ) arr = new int (10); (x) This access specifier is the most open access level. (a) Protected (c) Default (b) Public (d) Private (xi) A/An _____ is an abstract description of a set of objects. (a) Class (c) Polymorphism (b) Encapsulation (d) Abstraction (xii) What is the corresponding wrapper class for the float data type? (a) FLOAT (c) Float (b) Float (d) Floating (xiii) What will be the output of the following code snippet? int size = 2; if (size < 0) System.out.println( Small ); else if (size = = 0) System.out.println( Medium ); else System.out.println( Large ); (a) Small (c) Medium (b) Large (d) Runtime error (xiv) What will be the output of the following code snippet? System.out.println( Bangalore .substring(1, 5)); (a) Bangalore (b) Bang (c) Anga (d) Lore (xv) If int arr[ ] = {2, 4, 6, 8, 10}; what is the value of arr.length? (a) 5 (c) 6 (b) 4 (d) Cannot be determined Continue on next page..... Install NODIA App to See the Solutions. Click Here To Install ICSC Class 10 Computer Applications Sample Paper 05 Page 3 (xvi) A binary search (a) Can be used with sorted arrays only. (b) Can be used with unsorted arrays only. (c) Can be used with both sorted and unsorted arrays. (d) Cannot be used with arrays. (xvii) Assertion (A) : Array is a data type which can store multiple homogenous variables. Reason (R) : Elements of array are stored in an indexed manner starting with index 0. (a) Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A). (b) Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion (A). (c) Assertion (A) is true and Reason (R) is false. (d) Assertion (A) is false and Reason (R) is true. (xviii) Read the following text and choose the correct answer: The public access specifier enables a class to make its member variables and functions accessible to other functions and objects. With this specifier, any public member can be accessed from outside the class. Which access specifier is required for a class to ensure it can be inherited by a subclass? (a) Public (b) Private (c) Protected (d) None of the mentioned (xix) Assertion (A) : Method should be called explicitly either with object reference or class reference. Reason (R) : Method can be any user defined name. (a) Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A). (b) Both Assertion (A) and Reason (R) are true and Reason (R) is not a correct explanation of Assertion (A). (c) Assertion (A) is true and Reason (R) is false. (d) Assertion (A) is false and Reason (R) is true. (xx) Which method is used to check if a specified char value is uppercase? (a) toUpperCase(char) (c) isLowerCase(char) (b) toLowerCase(char) (d) isUpperCase(char) QUESTION 2. (i) Write the values that will be assigned to x,y and t after executing the following code. public class StringManipulation { public static void main(String[] args) { String s1, s2, x, y; int t; s1 = computer ; s2 = science ; x = s1.substring(3, 6); y = s2.concat(s1); Install NODIA App to See the Solutions. Click Here To Install Page 4 Sample Paper 05 NODIA t = y.length(); } } System.out.println( x= + x); System.out.println( y= + y); System.out.println( t= + t); (ii) The following code has some error(s). Rewrite the correct code and underlining all the corrections made. int counter=0; integer i=15; num; for(num=i; num>=1; num ) { If i%num=0 { counter=counter+1; } } (iii) Rewrite the following program segment using while instead of for loop. int f=1, i; for(i=1; i<=5; i++) { f *=i; System.out.println(f); } (iv) Write the values of c and d after execution of following code. int a = 3; int b = 4; int c; int d; c = ++b; d = a++; c++; (v) Write the values that will be stored in variables num and sum after executing of following code. int sum = 5; int num = -3; do { sum = sum + num; num++; } while (num < 2); (vi) Predict the output of the following. (a) Math. pow(3.5, 3) + Math. ceil (4.2) (b) Math. round (3.6) + Math. log (10) Continue on next page..... Install NODIA App to See the Solutions. Click Here To Install ICSC Class 10 Computer Applications Sample Paper 05 Page 5 (vii) Observe the following code and write how many times will be the loop execute? a = 8; b = 6; while (b != 0) { r = a % b; a = b; b = r; } System.out.println( + a); (viii) Write the Java statement for the following mathematical expression : 0.02 3y3 a = x+y (ix) Give the output of the following expression, when a=6. a+ =+ +a +a++ +a +a + a+ + +a (x) State the method that (a) converts a string to a primitive float data type. (b) determines if the specified character is an uppercase character. SECTION B Attempt any four questions from this section. QUESTION 3. Write a Java program to enter a number and check whether entered number is Pronic number or not. Pronic number is the number which is the product of two consecutive integers. e.g. 110 =10*11 56 =7*8 12 =3*4 QUESTION 4. Design a class Perfect to check, if a given number is a perfect number or not. [A number is said to be perfect, if sum of the factors of the number excluding itself is equal to the original number] For example 6 = 1 + 2 + 3; where 1, 2 and 3 are factors of 6, excluding itself. QUESTION 5. Write a Java program to remove duplicate elements from an array. Continue on next page..... Install NODIA App to See the Solutions. Click Here To Install Page 6 Sample Paper 05 NODIA QUESTION 6. Write a program to print the following patterns. (i) 1 (ii) A 1 0 ABA 1 0 1 ABCBA 1 0 1 0 ABCDCBA 1 0 1 0 1 ABCDEDCBA ABCDEFEDCBA QUESTION 7. Write the code to print following patterns. (i) 1 (ii) A A A A A 2 6 AAABB 3 7 10 AACCC 4 8 11 13 ADDDD 5 9 12 14 15 EEEEE QUESTION 8. Write a Java program ask to the user to enter any five strings like names to sort them in alphabetical order, then display the sorted string in alphabetical order. e.g. Input: Enter 5 Names/Words: Nelam Payal Kanak Asha Darshita Output: Now the List is : Asha Darshita Kanak Nelam Payal ****** Install NODIA App to See the Solutions. Click Here To Install

Formatting page ...

Related ResPapers
ICSE Class X Sample / Model Paper 2025 : Computer Applications
by preetimaam 
ICSE Class X Sample / Model Paper 2024 : Computer Applications : Computer Applications
by deepuaxn 
ICSE Class X Sample / Model Paper 2026 : Computer Applications
by soniafernando 
ICSE Class X Sample / Model Paper 2026 : Computer Applications
by soniafernando 

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 


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

 

soniafernando chat