ICSE Specimen Class 10 Computer Sample Paper 2024 Solution
ICSE Board Class 10 Computer Sample Paper 2024 Solution www.cisce.org. New Sample Paper Solution ICSE Board 2024 Computer all Question Answers by Expert Teachers. Students of Class X who are preparing for Board Exam 2024 can solved here Computer Sample Paper.
SECTION – A
Question 1:
Choose the correct answers to the questions from the given options.
(Do not copy the question, write the correct answers only.)
(i)
Name the feature of java depicted in the above picture.
(a) Encapsulation
(b) Inheritance
(c) Abstraction
(d) Polymorphism
Ans: (b) Inheritance
(ii) The expression which uses > = operator is known as:
(a) relational
(b) logical
(c) arithmetic
(d) assignment
Ans: (a) relational
(iii) Ternary operator is a:
(a) logical operator
(b) arithmetic operator
(c) relational operator
(d) conditional operator
Ans: (d) conditional operator
(iv) When primitive data type is converted to a corresponding object of its class, it is called:
(a) Boxing
(b) Unboxing
(c) explicit type conversion
(d) implicit type conversion
Ans: (a) Boxing.
(v) The number of bytes occupied by a character array of 10 elements.
(a) 20 bytes
(b) 60 bytes
(c) 40 bytes
(d) 120 bytes
Ans: (a) 20 bytes.
(vi) The method of Scanner class used to accept a double value is:
(a) nextInt()
(b) nextDouble()
(c) next()
(d) nextInteger()
Ans: (b) nextDouble().
(vii) Among the following which is a keyword:
(a) every
(b) all
(c) case
(d) each
Ans: (c) case.
(viii) The output of Math.round(6.6) + Math.ceil(3.4) is:
(a) 9.0
(b) 11.0
(c) 10.0
(d) 11
Ans: (b) 11.0
(ix) Name the type of error, if any in the following statement:
System.out.print(“HELLO”)
(a) logical
(b) no error
(c) runtime
(d) syntax
Ans: (d) syntax
(x) Java statement to access the 5th element of an array is:
(a) X[4]
(b) X[5]
(c) X[3]
(d) X[0]
Ans: (a) X[4]
(xi) The output of “Remarkable”.substring(6) is:
(a) mark
(b) emark
(c) marka
(d) able
Ans: (d) able
(xii) Which of the following is the wrapper class for the data type char?
(a) String
(b) Char
(c) Character
(d) Float
Ans: (c) Character
(xiii) Name the package that contains wrapper classes:
(a) java.lang
(b) java.util
(c) java .io
(d) java.awt
Ans: (a) java.lang
(xiv) Constructor overloading follows which principle of Object Oriented programming?
(a) Inheritance
(b) Polymorphism
(c) Abstraction
(d) Encapsulation
Ans: (b) Polymorphism
(xv) Which of the following is a valid Integer constant:
1.) 4
2.) 4.0
3.) 4.3f
4.) “four”
(a) Only 1.
(b) 1. and 3.
(c) 2. and 4.
(d) 1. and 2.
Ans: (a) Only 1.
(xvi) The method compareTo() returns ________ when two strings are equal and in lowercase :
(a) true
(b) 0
(c) 1
(d) false
Ans: (b) 0
(vii) Assertion(A): In java statements written in lower case letter or upper case letter are treated as the same.
Reason(R): Java is a case sensitive language.
(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 acorrect explanation of Assertion(A)
(c) Assertion (A) is true and Reason (R) is false
(d) Assertion (A) is false and Reason (R) is true
Ans: (d) Assertion (A) is false and Reason (R) is true
(xviii) Read the following text, and choose the correct answer:
A class encapsulate Data Members that contains the information necessary to represent the class and Member methods that perform operations on the data member.
What does a class encapsulate?
(a) Information and operation
(b) Data members and Member methods
(c) Data members and information
(d) Member methods and operation
Ans: (b) Data members and Member methods
(xix) Assertion(A): call by value is known as pure method
Reason(R): The original value of variable does not change as operation is performed on copied values.
(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 false and Reason (R) is true
(d) Assertion (A) is false and Reason (R) is true
Ans: (a) Both Assertion (A) and Reason (R) are true and Reason (R) is a correct explanation of Assertion (A)
(xx) What Will be the output for:
System.out.print(Character.toLowerCase(‘1’));
(a) 0
(b) 1
(c) A
(d) true
Ans: (b) 1