CLASS X – COMPUTER APPLICATIONS
MODEL / SPECIMEN QUESTION PAPER
Time: 2 Hours Maximum Marks: 100
Instructions:
1. Attempt all questions.
2. The intended marks for questions are given in brackets [ ].
3. Answers should be written clearly and neatly.
SECTION A (40 Marks)
Answer all questions.
1. Which of the following is a looping statement in Java? (a) if (b) switch (c) for (d) break
2. The size of int data type in Java is: (a) 1 byte (b) 2 bytes (c) 4 bytes (d) 8 bytes
3. Which keyword is used to create an object in Java?
4. Name the symbol used for single-line comments in Java.
5. What is the default value of boolean variable in Java?
SECTION B (30 Marks)
1. Define token in Java. Give two examples. [4]
2. What is the difference between while loop and do-while loop? [4]
3. Explain type casting with an example. [4]
4. Write the syntax of if-else statement. [4]
5. What is an array? Mention any two advantages. [4]
SECTION C (30 Marks)
1. Write a Java program to accept a number and check whether it is a palindrome or not. [10]
2. Explain the following with examples: [10] (a) Unary operators (b) Relational operators
3. Define a class and an object. Write a program to display the sum of two numbers using a class. [10]