Trending ▼   ResFinder  

ICSE Class X Prelims 2024 : Computer Applications (Hiranandani Foundation School (HFS), Thane)

5 pages, 36 questions, 4 questions with responses, 4 total responses,    2    0
Flower
  
+Fave Message
 Home > star752 >   F Also featured on: School Page icse

Formatting page ...

HIRANANDANI FOUNDATION SCH00L, THANE Second Preliminary Assessment- January 2024 Subject: Computer Applications Marks: 100 Time: 2 Hrs. Std. X Date: 18/O1/2024 to this paper must be written on the paper provided separately. You will NOT be allowed Answer towrite during the first 10 minutes. This time is to be spent for reading the question paper. The time given at the head of the paper is the time allowed for writing the answers. This paper is divided in two sections, Attempt all questions from Section A and any fourquestions from Section B. The intended marks for questions or parts of questionsare given in brackets[) This paper consists of 5pages. SECTION-A (Attempt all questions from this Section.) [201 Question 1: Choose the correct answer and write the correct option. CLASS public instance Outside Code variables private instance variables public methods private methods i) Name the concept of object oriented programming depicted in the above picture. (c) polymorphism (a) data hiding (b) encapsulation (d) inheritance ) What is the output of the following code? String nl = "46", n2 ="64": int total =Integer.parselnt(nl) + Integer. parseInt(n2); System.out.printin(total); (a) 110.0 (b) 110 (c) Error (d) Out of memory ii) Amethod which does not modify the value of variables is termed as (c) primitive method (a) impure method (b) pure method (d) user defined method iv) How many times the following do-while loop will be executed? int a, i; i-0; a=1; do { it+; a +t; }while(a <=5); System.out.printin("i =" +i+"a=" +a); (a) 2 times (b) 6 times (c) 4 times (d) 5 times

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Adriel Darren

(2)

Soumil Kuckian

(1)

ResPaper Admins

(1)

Raj More

(1)

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

star752 chat