हिंदी

Computer Applications Official 2023-2024 (English Medium) ICSE Class 10 Question Paper Solution

Advertisements
Computer Applications [Official]
Marks: 100 CISCE
(English Medium)

Academic Year: 2023-2024
Date & Time: 13th March 2024, 11:00 am
Duration: 2h
Advertisements
  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 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 (40 Marks) (Attempt all questions from this Section.)
[20]1 | Choose the correct answers to the questions from the given options. (Do not copy the questions, write the correct answer only.)
[1]1.i

Consider the above picture and choose the correct statement from the following:

Polygon is the object and the pictures are classes

Both polygon and the pictures are classes

Polygon is the class and the pictures are objects

Both polygon and the pictures are objects

Concept: undefined - undefined
Chapter: [0.0102] Elementary Concept of Objects and Classes
[1]1.ii

int x = 98; char ch = (char)x; what is the value in ch?

b

A

B

97

Concept: undefined - undefined
Chapter: [0.04] String Handling
[1]1.iii

The output of the statement "CONCENTRATION" indexOf('T') is ______.

9

7

6

(-1)

Concept: undefined - undefined
Chapter: [0.04] String Handling
[1]1.iv

The access specifier that gives least accessibility is ______.

Package

Public

Protected

Private

Concept: undefined - undefined
Chapter: [0.08] Encapsulation
[1]1.v

The output of the statement "talent". compareTo("genius") is ______.

11

-11

0

13

Concept: undefined - undefined
Chapter: [0.04] String Handling
[1]1.vi

Which of the following is an escape sequence character in Java?

/n

\t

/t

//n

Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
[1]1.vii

If (a>b&&b>c) then largest number is ______.

b

c

a

Wrong expression

Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
[1]1.viii

What is the output of Math.ceil(5.4) + Math.ceil(4.5)?

10.0

11.0

12.0

9.0

Concept: undefined - undefined
Chapter: [0.010700000000000001] Mathematical Library Methods
[1]1.ix

What is the method to check whether a character is a letter or digit?

isDigif(char)

isLetterOrDigit()

isLetterOrDigit(char)

isLETTERorDIGIT(char)

Concept: undefined - undefined
Chapter: [0.02] Library Classes
[1]1.x

The extension of a Java source code file is ______.

exe

obj

jvm

java

Concept: undefined - undefined
Chapter: [0.0105] Introduction to Java
[1]1.xi

The number of bytes occupied by a character array of four rows and three columns is ______.

12

24

96

48

Concept: undefined - undefined
Chapter: [0.03] Arrays (Single Dimensional and Double Dimensional)
Advertisements
[1]1.xii

Which of the following data type cannot be used with switch case construct?

int

char

String

Double

Concept: undefined - undefined
Chapter: [0.0108] Conditional Statements in Java
[1]1.xiii

Which of the following are entry-controlled loops?

  1. for
  2. while
  3. do..while
  4. switch

Only 1

1 and 2

1 and 3

3 and 4

Concept: undefined - undefined
Chapter: [0.0109] Iterative Constructs in Java
[1]1.xiv

Method which reverses a given number is ______:

Impure method

Pure method

Constructor

Destructor

Concept: undefined - undefined
Chapter: [0.05] User - Defined Method
[1]1.xv

If the name of the class is "Yellow", what can be the possible name for its constructors?

yellow

YELLOW

Yell

Yellow

Concept: undefined - undefined
Chapter: [0.07] Constructors
[1]1.xvi

Invoking a method by passing the objects of a class is termed as ______.

Call by reference

Call by value

Call by method

Call by constructor

Concept: undefined - undefined
Chapter: [0.05] User - Defined Method
[1]1.xvii

The correct statement to create an object named mango of class fruit:

Fruit Mango = new fruit();

fruit mango = new fruit();

Mango fruit = new Mango();

fruit mango = new  mango();

Concept: undefined - undefined
Chapter:
[1]1.xviii

Assertion (A): Static method can access static and instance variables.

Reason (R): Static variables can be accessed only by static method.

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.

Concept: undefined - undefined
Chapter: [0.05] User - Defined Method
[1]1.xix

What is the output of the Java code given below?

String color [ J = {"Blue", "Red", "Violet"}; System.out.println(color[2].length();

6

5

3

2

Concept: undefined - undefined
Chapter: [0.0105] Introduction to Java
[1]1.xx

Which of the following mathematical methods returns only an integer?

Math.ceil(n)

Math.sqrt(n)

Math.floor(n)

Math.round(n)

Concept: undefined - undefined
Chapter: [0.010700000000000001] Mathematical Library Methods
[20]2
[2]2.i

Write Java expression for:

`(|a + b|)/(sqrt(a^2 + b^2))`

Concept: undefined - undefined
Chapter: [0.010700000000000001] Mathematical Library Methods
[2]2.ii

Evaluate the expression when x is 4:

x + = x + + * + + x %2; 
Concept: undefined - undefined
Chapter: [0.0104] Operators in Java
Advertisements
[2]2.iii

Rewrite the following do while program segment using for:

x = 10; y = 20;
do
{
   x++;
   y++;
}while (x<=20);
System.out.println(x*y);
Concept: undefined - undefined
Chapter: [0.0105] Introduction to Java
[2]2.iv

Give the output of the following program segment. How many times is the loop executed?

for(x=10;x>20;x++)
System.out.println(x);
System.out.println(x*2);
Concept: undefined - undefined
Chapter: [0.011000000000000001] Nested Loop
[2]2.v
String sl= "45.50";String s2="54.50";
double d1=Double.parseDouble(s1);
double d2=Doub1e.parseDouble(s2);
int x=(int)(d1+d2)

What is value of x?

Concept: undefined - undefined
Chapter:
[2]2.vi

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}};
  1. What is the order of the array?
  2. What is the value of x [0] [0] + x [2] [2]?
Concept: undefined - undefined
Chapter: [0.03] Arrays (Single Dimensional and Double Dimensional)
[2]2.vii

Differentiate between boxing and unboxing.

Concept: undefined - undefined
Chapter: [0.02] Library Classes
[2]2.viii

The following code to compare two strings is compiled, the following syntax error was displayed - incompatible types - int cannot be converted to boolean.

Identify the statement which has the error and write the correct statement. Give the output of the program segment.

void calculate()
  {
  String a="KING",b="KINGDOM";
  boolean x=a.compareTo(b);
  system.out.println(x);
  }
Concept: undefined - undefined
Chapter: [0.04] String Handling
[2]2.ix

Consider the given program and answer the questions given below:

class temp
      {
      int a;
      temp()
      {
      a=10
      }
      temp(int z)
      a=z;
      }
      void print()
      {
      System.out.println(a);
      }
      void main()
      {
      temp t = new temp();
      temp x = new temp(30);
      t.print();
      x.print();
      }
      }
  
  1. What concept of OOPs is depicted in the above program with two constructors?
  2. What is the output of the method main()?
Concept: undefined - undefined
Chapter: [0.0101] Introduction to Object Oriented Programming Concepts
[2]2.x

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 datatypes like Scanner class are a part of the utility package for which an object needs to be created.

  1. To which package the Character and Boolean classes belong?
  2. Write the statement to access the Scanner class in the program.
Concept: undefined - undefined
Chapter: [0.0103] Values and Data Types
SECTION-B (60 Marks)(Answer any four questions from this Section.) ‘The answers in this section should consist of the programs in either BlueJ environment or any program environment with Java as the base. Each program should be written using variable description/mmemonic codes so that the logic of the program is clearly depicted. Flowcharts and algorithms are not required.
[15]3

DTDC, a courier company, charges for the courier based on the weight of the parcel. Define a class with the following specifications:

class name: courier
Member variables: name - name of the customer
  weight - weight of the parcel in kilograms
address - address of the recipient
bill - amount to be paid
type -  'D'- domestic, 'I'- international
Member methods:
void accept ( )- to accept the details using the methods of the Scanner class only.
void calculate ( )- to calculate the bill as per the following criteria:
  Weight in Kgs   Rate per Kg
First 5 Kgs Rs.800
Next 5 Kgs  Rs.700
Above 10 Kgs  Rs.500
An additional amount of Rs.1500 is charged if the type of the courier is I (International)
void print )- To print the details
void main ()- to create an object of the class and invoke the methods
Concept: undefined - undefined
Chapter: [0.0106] Input in Java
[15]4

Define a class to overload the method perform as follows:

double perform (double r, double h) to calculate and return the value of Curved surface area of cone CSA π rl
`l = sqrt(r^2 + h^2)`
void perform (int r, int c) Use NESTED FOR LOOP to generate the following format r = 4, c = 5 output -
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
1 2 3 4 5
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
Concept: undefined - undefined
Chapter: [0.011000000000000001] Nested Loop
[15]5

Define a class to accept a number from user and check if it is an EvenPal number or not. (The number is said to be EvenPal number when number is palindrome number (a number is palindrome if it is equal to its reverse) and sum of its digits is an even number.)

Example: 121 - is a palindrome number

Sum of the digits - 1 + 2 + 1 = 4 which is an even number

Concept: undefined - undefined
Chapter: [0.0106] Input in Java
[15]6

Define a class to accept values into an integer array of order 4 x 4 and check whether it is a DIAGONAL array or not An array is DIAGONAL if the sum of the left diagonal elements equals the sum of the right diagonal elements. Print the appropriate message.

Example:

3 4 2 5   Sum of the left diagonal elements =

2 5 2 3   3 + 5 + 2 + 1 = 11

5 3 2 7   Sum of the right diagonal elements =

1 3 7 1   5 + 2 + 3 + 1 = 11

Concept: undefined - undefined
Chapter: [0.0106] Input in Java
[15]7

Define a class pin code and store the given pin codes in a single-dimensional array. Sort these pin codes in ascending order using the Selection Sort technique only. Display the sorted array.

110061, 110001, 110029, 110023, 110055, 110006, 110019, 110033

Concept: undefined - undefined
Chapter: [0.03] Arrays (Single Dimensional and Double Dimensional)
[15]8

Define a class to accept the gmail id and check for its validity.

A gmail id is valid only if it has:

→ @

→ . (dot)

→ gmail

→ com

Example: [email protected] is a valid gmail id.

Concept: undefined - undefined
Chapter: [0.0106] Input in Java

Submit Question Paper

Help us maintain new question papers on Shaalaa.com, so we can continue to help students




only jpg, png and pdf files

CISCE previous year question papers ICSE Class 10 Computer Applications with solutions 2023 - 2024

     CISCE ICSE Class 10 Computer Applications question paper solution is key to score more marks in final exams. Students who have used our past year paper solution have significantly improved in speed and boosted their confidence to solve any question in the examination. Our CISCE ICSE Class 10 Computer Applications question paper 2024 serve as a catalyst to prepare for your Computer Applications board examination.
     Previous year Question paper for CISCE ICSE Class 10 Computer Applications-2024 is solved by experts. Solved question papers gives you the chance to check yourself after your mock test.
     By referring the question paper Solutions for Computer Applications, you can scale your preparation level and work on your weak areas. It will also help the candidates in developing the time-management skills. Practice makes perfect, and there is no better way to practice than to attempt previous year question paper solutions of CISCE ICSE Class 10 .

How CISCE ICSE Class 10 Question Paper solutions Help Students ?
• Question paper solutions for Computer Applications will helps students to prepare for exam.
• Question paper with answer will boost students confidence in exam time and also give you an idea About the important questions and topics to be prepared for the board exam.
• For finding solution of question papers no need to refer so multiple sources like textbook or guides.
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×