Trending ▼   ResFinder  

ICSE Class X Question Bank 2025 : Computer Applications

7 pages, 0 questions, 0 questions with responses, 0 total responses,    0    0
Arshad Ali
Sacred Heart Centenary Academy (SHCA), Orai, Jalaun
+Fave Message
 Home > arshadali >

Formatting page ...

CLASS X Computer Applications Important Questions (i) The trim() method of the string class removes _______ (a) Leading spaces only (b) trailing spaces only (c)spaces between words (d) leading and trailing spaces (ii) While using the toLowerCase() method on a string containing special characters ,_________ (a) The special character remain unaffected (b) The special characters are converted to spaces (c) The special characters are removed from the string. (d) The special characters are converted to null character. (iii) The return type of equals() method is ______ (a) Int (b) char (c) boolean (d) void (iv) Which of the following is true ? (a) If string1>string2 the result will be a negative integer i.e<0 (b) If string1>string2 the result will be a negative integer i.e<0 (c) If string1=string2 the result will be 0 i.e.=0 (d) All of these (v)Output of the following statement is : System.out.println( WONDERFUL .substring(3,4)); (a) DERF (b) NDER (c) D (d) N (vi)Given array int arr[]={15,16,17};will occupy ______bytes in memory. (a) 3 (b) 12 (c) 24 (d) 64 (vii) Which of the following statements is true ? (a) (b) (c) (d) Binary search is less efficient than the sequential search . Binary search is less efficient than the linear search . Binary search is more efficient than the sequential search . Binary search is as efficient as the sequential search. (viii) Cell numbers of a dimensional array are also known as : (a) Packets (b) blocks (c)subscripts (d)compartments (ix) A dimensional array is also known as : (a) Subscripted variable (b) actual variable (c) compound variable (d)none (x) What is the default initial value of numeric elements in an array of type int in java ? (a) 0 (b) 1 (c) -1 (d) null (xi) What happens if you try to access an array element at an index that is out of bounds in java ? (a) It returns null (b) It throws an ArrayIndexOutOfBoundsException. (c)It returns 0 (d) It returns -1 (xii) Which of these is an incorrect Statement ? (a) (b) (c) (d) It is necessary to use new operator to initialize an array Array can be initialized using comma separated expressions surrounded by curly braces Array can be initialized when they are declared None of these (xiii) Indicate the error message which displays,if the following statement is executed : int a[5]={28,32,45,68,12}; (a) Insufficient cells (b) Array index out of bounce (c)Elements exceeding cells (d) None (xiv) Keyword that restrict scope inside the class only : (a) Public (b) private (c)protected (d)static (xvi) Memory size of the following : double x[]={4.5,25.0,32.5}; (a) 3 bytes (b) 6 bytes (c)12 bytes (d) 24 bytes (xvii) Name the feature of java depicted in the given picture. (a) Encapsulation (b) Inheritance (c) Data Abstraction (d)Polymorphism (xviii)Name the feature of java depicted in the given picture . (a) Encapsulation (b) Inheritance (c) Data Abstraction (d)Polymorphism (xix) How many objects can you create from a class ? (a) One (b) Two (c) Three (d) Any number (xx) Which among the following is a valid method of initializing ? (a) boolean f=true; (b) boolean f=True; (c) boolean f= true ; (d)none of these (xxi) Predict the output: System.out.println( B +2); (a)100 (b) B2 (c) 1002 (d) 68 (xxii) What will be the value stored in the variable c if the following statement is executed ? c= COMPUTER .charAt( COMPUTER ,indexOf( P )) (a) 3 (b) 4 (c) P (d) M (xxiii) Which of the following packages contain string functions ? (a) java.awt (b) java.string (c) java.math (d) java.lang (xxiv) Predict the output of the following : String str= Computer Applications +1+0; System.out.println( Understanding +str); (xxv) what is the correct arrangement of the data types given : (a) byte <char<int<double (b)byte<int<double<char (b) int>byte>double>char (d)None of these (xxvi) (xxvii) (xxviii) (xxix) (xx(( (xxx) (xxxi) (xxxii)

Formatting page ...

Related ResPapers
ICSE Class X Question Bank 2025 : Computer Applications
by arshadali 
ICSE Class X Question Bank 2025 : Computer Applications : Important Oswal question
by vakuntlokigupta 
ICSE Class X Question Bank 2025 : Computer Applications
by aymaan21 
ICSE Class X Question Bank 2021 : Computer Applications
by zahinmakani 

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 


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

 

arshadali chat