Trending ▼   ResFinder  

ICSE Class X Prelims 2019 : Computer Applications (St. Clare's School, Lokai, Koderma)

5 pages, 36 questions, 10 questions with responses, 10 total responses,    1    0
Sujit Kumar
  
+Fave Message
 Home > sujit28 >   F Also featured on: School Page

Instantly get Model Answers to questions on this ResPaper. Try now!
NEW ResPaper Exclusive!

Formatting page ...

ST. CLARE S SCHOOL, LOKAI PRE - BOARD EXAMINATION 2019 COMPUTER APPLICATIONS (Theory) (two hours) Answer to this paper must be wrriten on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to be spent reading the question paper. The time given at the head of this paper is the time allowed for writing the answers. This paper is devided into two Sections. Attempt all questions from Section A and any four questions from Section B. The intended marks for questions are given in brackets[ ]. SECTION- A (40 Marks) Attempt all questions Question 1 (a) (b) (c) Distinguishes between instance variables and static variables. What is meant by infinite loop?Give one example. Name the operator listed below: I. II. III. IV. (d) (e) [2] [2] < ++ && ?: ` State the number of byte occupied by char and double data types. [2] Define wrapper class with an example. [2] Question 2 (a) String []={ Samsung , Nokia , sony , micromax , Blackberry } [2] Give the output of the following statements: I. System.out.println(x[1]); II. System.out.println(x[3].length()); (b) (c) Differntiate between constructor and method. Convert the following do-while loop into for loop. [2] [2] Int i=1; Int d=5; do{ d=d*2; System.out.println(d); I++; } While(i<=5) (d) How many times does the inner loop executes [2] For(int i=3;i<=4;i++) { For(int j=2;j<=i;j++) { System.out.println( ); } System.out.println( hi ); } (e) Give the output of the following code. [2] String A= 26 , B= 100 String D=A+B+ 200 ; Int x=Integer.parseInt(A); Int y= Integer.parseInt(B); Int d=x+y; System.out.println( result1= +D); System.out.println( result1= +d); Question 3 (a) Differentiate between actual parameter and formal parameter. [2] (l)What is inheritance? Give an example. (b) (c) (d) (e) [2] Define encapsulation. [2] Differentiate between break and continue statement with an example.[2] What are entry control and exit controls loop.give an example. [2] What is difference between call by value and call by reference.And what it decide.? [2] Question 4 (a) Write java expression for: (b) Rewrite using ternary operator: If(a>b) { (a>c) Max=a; x= b+ b2 4 ac 2a [2] (c) (d) (e) Else Max=b; } Else { If(b>c) Max=b; Else Max=c; } (c) Differentiate between linear search and binary search. [2] What is array?What do you mean by the subscript of an array? Differentiate between private and protected visibility modifiers. [2] [2] SECTION-B(60 MARKS) Attempt any four questions from this Section B.The answer in this Section should consist of the Programs in either Blue j environment or any program environment with java as the base.each program should be written using variable description so that the logic of the program is clearly depicted. Flow-charts and algorithms are not required. Question 5 Write a program to display the following pattern: (a) 5 5 5 5 5 4321 432 43 4 [15] (b) 5 5 5 5 5 54444 54333 54322 54321 Question 6 Write a program accept a word in a Single Dimensional Array(SDA). [15] Arrange all the letters in ascending order.Display the new word. Sample Input:BLUEJ Sample Output:BEJLU Question 7 [15] Write a complete java program with the following members of its class. Members Private data members Members Name ac_num ac_name bal constructor Public methods GetValues() Display() Deposit() Withdrawl() Description Stores account number Stores account holders name Stores balance amount in the account To initialize all private data members to 0(zero) To store data To display the data To modify balance according to the amount deposited. To modify balance according to withdrawn amount. Question 8 [15] Write a java program to Input character through keyboard.Until we enter * Display total No. of vowel,and frequency of each vowel separately. Question 9 Design a class to overload a function series() as follow: I. II. Double series(double n) with one double argument and returns the sum of the series, Sum=1/1+1/2+1/3+--------1/n Double series(double a,double n)with two double arguments and returns the sum of the series, Sum=1/a2+4/a5+7/a8+10/a11+---------to n terms. Question 10 Consider the following statement JANUARY 26 is celebrated as Republic Day of India.Write a java program to change the number 26 in the above statement by 15,the text JANUARY by AUGUST and Republic by Independence and finally print AUGUST 15 is celebrated as Independence Day of India .

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Akshina

(7)

Ranajoy Saha

(1)

Aryamman Sahlot

(1)

Trisha

(1)

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

sujit28 chat