Trending ▼   ResFinder  

ICSE Class X Prelims 2021 : Computer Applications (GEMS Modern Academy, Dubai)

5 pages, 30 questions, 3 questions with responses, 3 total responses,    2    0
Nandhana
GEMS Modern Academy, Dubai
8th to 10th Science with Computer Application
+Fave Message
 Home > nandhana741 >   F Also featured on: School Page icse

Formatting page ...

PRELIMINARY EXAMINATION 2021 COMPUTER APPLICATION Grade: 10 Duration: 2 Hours Date: 04/02/2021 Max. Marks: 100 [The time stated above is the time allowed for writing the examination. In addition, the first 15 minutes will be the time given for reading the question paper.] All working, including rough work should be done on the same sheet as rest of the answer. The intended marks for questions or parts of questions are given in brackets. Section A Answer all questions Give examples and briefly indicate the working or reasoning. Question 1 a. What is the purpose of a Constructor in a class? State at least 2 of its characteristics. [2] b. Give the output. System.out.println(Math.abs(Math.max(-14,-26))); System.out.println(Math.pow(-3,3)); [2] c. State the number of bytes required for the following arrays. i. int a[]=new int[4] ii. char ch[]=new char[20]; [2] d. (i) Name the package that contains the String class. (ii) Name the keyword that is used for allocating memory. [2] e. Differentiate between the methods charAt() and indexOf(). Give example. [2] Question 2 a. Define Encapsulation. [2] b. What is the difference between a break statement and a continue statement when they occur in a loop? [2] c. What is a Package in Java? Name 2 built-in packages. Name the package that is imported in a Java program by default. [2] d. What is the difference between an object and a class? Write a Java statement to create an object Bk of class Book. [2] e. Predict the output class overload { public static void calc(int a, int b) { int x = a / b; System.out.print(x); } public static void calc(double c, double d) { double x = c % d; Page 1 of 5 [2]

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Webster Harsh

(2)

ResPaper Admins

(1)

Sai Bhosale

(1)

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

nandhana741 chat