Trending ▼   ResFinder  

ICSE Class X Prelims 2025 : Computer Applications (Nalanda International School, Vadodara)

4 pages, 35 questions, 1 questions with responses, 1 total responses,    2    0
Kinjal Ahuja
Nalanda International School, Vadodara
+Fave Message
 Home > kinjalahuja087 >   F Also featured on: School Page icse

Instantly get Model Answers to questions on this ResPaper. Try now!
NEW ResPaper Exclusive!

Formatting page ...

Name: Class: 10 Subject: Computer Applications Topic: TT I Date: 19th September 24 Evaluation Reading Time: 15 Mins Max Marks: [100] Writing Time: 2 Hours Instructions: This Paper is divided into two Sections. Attempt all questions from Section A and any four questions from Section B. Answers to this Paper must be written on the answer sheet provided separately. The intended marks for questions or parts of questions are given in brackets[ ]. This paper consists of 4 printed sides. SECTION A (40 Marks) (Attempt all questions from this Section.) Q.A 1. Choose the correct answers to the questions from the given options. Which of the following methods belong to String class? a. length() c. compareTo() 2. 3. b. substring() d. all of them A static method is also called a: a. instance function c. class method b. defined function d. fixed function Assertion (A): Static method can access static and instance variables. Reason (R): Static variable can be accessed only by static method. a. b. c. d. Assertion and Reason both are correct. Assertion is true and Reason is false Assertion is false and Reason is true Assertion and Reason both are false 4. Akash wants the members of his class Employee to be accessible only to his class Employee , what ______ access specifier he should use for the members a. private b. protected c. public d. default 5. A non static method is also called a. class method c. constant method b. instance method d. instance variable Which is odd in given options a. Data members c. Properties b. Characteristics d. Functions Data Hiding is implemented by a. Access specifiers c. Inheritance b. Static variables d. None 6. 7. 8. Return data type of isLetter(char) is _________ . a. Boolean b. boolean c. bool d. char 9. Give output of the following String methods: "SUCESS".indexOf('S') + "SUCCESS".lastIndexOf('S') [20] Name: Class: 10 Subject: Computer Applications Topic: TT I Date: 19th September 24 Evaluation a. 0 c. 6 b. 5 d. -5 10. Corresponding wrapper class of float data type is ________ . a. float b. FLOAT c. Float d. Floating 11. A single dimensional array contains N elements. What will be the last subscript? a. N b. N-1 c. N-2 d. N+1 12. A method which does not modify the value of variables is termed as: a. Impure method b. Pure method c. Primitive method d. User defined method 13. 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 Invoking a method by passing the objects of a class is termed as: a. Call by reference b. Call by value c. Call by method d. Call by constructor 14. 15. What will be the output of the following string function: "DEDICATE".compareTo("DEVOTE") a. -18 b. 0 c. 18 d. Error 16. Name the method that can convert a string into its integer equivalent. a. Integer.parseInteger() b. Integer.getInt() c. Integer.parseInt() d. Integer.readInt() 17. What will be the result when the following statement is executed? int count = new Integer(12); a. Variable count will be initialised with value 12. b. Variable count will be initialised with default value of int, i.e., zero (0). c. An array count will be initialised with 12 elements, all having a default value of zero (0). d. Value of count will be unknown as no value has been assigned yet. 18. It is compulsory to return a value from a function a. True b. False c. True if it is a pure function d. True if it is an impure function 19. A function in java can be written a. Inside a class c. Inside main() function 20. b. Outside a class d. none How do you declare and initialize an array of integers with 5 elements in Java? Name: Class: 10 Subject: Computer Applications Topic: TT I Date: 19th September 24 Evaluation a. int[5] numbers; numbers = {1,2, 3, 4, 5}; c. int[] numbers = new int[5]; b. int numbers[5] = {1, 2, 3, 4, 5}; d. All of the above Q.B. Answer the following in brief. 1. Write a method prototype name check() which takes an integer argument and returns a char. [20] [2] 2. Consider the following two-dimensional array and answer the questions given below: int x[][] = {{4, 3, 2}, {7, 8, 2}, {8, 3, 10}, {1, 2, 9}}; (a) What is the order of the array? (b) What is the value of x[0][0] + x[2][2]? [2] 3. Primitive data types are built-in data types which are a part of the wrapper classes. These wrapper classes are encapsulated in the java.lang package. Non-primitive data types like Scanner class are a part of the utility package for which an object needs to be created. (a) To which package the Character and Boolean classes belong? (b) Write the statement to access the Scanner class in the program. [2] 4. Consider the following String array and give the output String arr[]= {"DELHI", "CHENNAI", "MUMBAI", "LUCKNOW", "JAIPUR"}; System.out.println(arr[0].length()> arr[3].length()); System.out.print(arr[4].substring(0,3)); [2] 5. State the difference between Class Variable, Instance Variable and Local Variable. [2] 6. Can arrays be initialized before declaring them? Give example. [2] 7. Give two rules to be followed while overloading a function. [2] 8. What is the role of 'function signature' in a function declaration? [2] 9. Write a valid Java statement for each of the following: (1) Store a number 800.00 as a String. (2) Convert the String object 'add' into lowercase form. (3) Check the equality of two Strings and store the result into a variable [2] 10. Why is an object called an instance of a class ? [2] SECTION B (Attempt any 4 ) 1. Design a class with the following specifications: Class name: Student Member variables: name name of student age age of student mks marks obtained stream stream allocated (Declare the variables using appropriate data types) Member methods: void accept() Accept name, age and marks using methods of Scanner class. void allocation() Allocate the stream as per following criteria: [60] [15] Name: Class: 10 Subject: Computer Applications Topic: TT I Date: 19th September 24 Evaluation mks >=300 >= 200 and < 300 >= 75 and < 200 < 75 Stream Science and Computer Commerce and Computer Arts and Animation Try Again void print() Display student name, age, mks and stream allocated. Call all the above methods in main method using an object. 2. Define a class to declare an array to accept and store ten words. Display only those words which begin with the letter 'A' or 'a' and also end with the letter 'A' or 'a'. EXAMPLE : Input : Hari, Anita, Akash, Amrita, Alina, Devi Rishab, John, Farha, AMITHA Output: Anita Amrita Alina AMITHA [15] 3. Define a class to accept values in integer array of size 10. Find sum of one digit number and sum of two digit numbers entered. Display them separately. Example: Input: a[ ] = {2, 12, 4, 9, 18, 25, 3, 32, 20, 1} Output: Sum of one digit numbers : 2 + 4 + 9 + 3 + 1 = 19 Sum of two digit numbers : 12 + 18 + 25 + 32 + 20 = 107 [15] 4. Define a class to overload the method perform() as follows: [15] double perform(double r, double h) to calculate and return the value of curved surface area of cone. CSA of cone = rl ; l = 2 + 2 void perform(int r, int c) use nested for loop to generate the following format: r = 4, c = 5 Output: 12345 12345 12345 12345 void perform(int m, int n, char ch) 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. 5. Write a program in Java to accept a string in lower case and change the first letter of every word to upper case. Display the new string. Sample input: we are in cyber world Sample output: We Are In Cyber World [15] -----------------------------------------X-------------------------------------------------X------------------------------------------------

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


ResPaper Admins

(1)

Applebook

(1)

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

Additional Info : ICSE Class X Sample / Model Paper 2025 : Computer Applications (Nalanda International School, Vadodara)
Tags : ICSE Class X Sample / Model Paper 2025 : Computer Applications (Nalanda International School, Vadodara),  

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

 

kinjalahuja087 chat