Trending ▼   ResFinder  

ICSE Class IX Prelims 2021 : Computer Applications (Smt. Ramdevi Sobhraj Bajaj Arya Vidya Mandir, Mumbai)

2 pages, 5 questions, 0 questions with responses, 0 total responses,    2    0
Arush Gupta
Smt. Ramdevi Sobhraj Bajaj Arya Vidya Mandir, Mumbai
9
+Fave Message
 Home > demon777 >   F Also featured on: School Page icse9

Formatting page ...

ARYA VIDYA MANDIR GROUP OF SCHOOLS MOCK REVIEW AUGUST 2020 COMPUTER APPLICATION Std: IX Computer Appl Date 29.08.20 Marks: 20 Time 1 hr Note : You will NOT be allowed to write during the first 10 minutes. This time is to be spent in reading the paper. The time given at the head of this paper is the time for writing the answers. This paper is divided into two Sections. Attempt all questions from Section A and any one questions from Section B. The intended marks for questions or parts of question are given in brackets [ ]. SECTION A (8 Marks) Answer all the questions Question 1: Answer the following questions: a. A method can return_______ i) Any number of values ii) Only 1 value ii) 2 values iv) None b. Convert the given ternary statement into if_else statement Small =num1>num2 ? num2 : num1; c. The following is a segment of a program: int X=4, Y=6; if(n>=0) { X+=1; Y-=1; } What will be the value of X and Y if n=0? d. Name any two conditional checking statement. SECTION B (12 Marks) Question 2: Note: Program should be written using Comments and Mnemonic codes Question 2: Design a class RailwayTicket with the following description: Instance Variables: String name char coach long mobnum int amt for basic ticket amt int totamt for amount to be paid Member Methods: void setdata (String, char, long, int): to take input void update( ) : update amount as per the coach selected Types of coaches F for First AC S for Second AC T for Third AC Amount 1000 700 500 void display( ) : Print name, mobile number and amount to be paid. ************

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

Additional Info : ICSE Class IX Textbook 2021 : Computer Applications  

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

 

demon777 chat