Trending ▼   ResFinder  

ICSE Class X Prelims 2019 : Computer Applications (Father Leblond School, Darjeeling)

4 pages, 43 questions, 29 questions with responses, 64 total responses,    2    0
Koustav Rudra Chakraborty
  
+Fave Message
 Home > rudra1991 >   F Also featured on: School Page

Formatting page ...

FATHER LEBLOND SCHOOL :: BHIMBHAR SESSION: 2018 19 SELECTION EXAMINATION 2018 CLASS X MARKS: 100 COMPUTER APPLICATIONS (Theory) (Two hours) Answer to this paper must be written on the paper provided separately. You will not be allowed to write during first 15 minutes. This time is to be spent in reading the question paper. This time given at the head of this question paper is the time allowed for writing the answers. This paper is divided into 2 sections. Attempt all the questions from Section A and any 4 questions from Section B. The intended marks for questions or parts of the questions are given in brackets [ ]. SECTION A (40 Marks) Attempt all questions Question 1: a) b) c) d) e) Question 2: a) b) c) Write the name of the mathematical function for rounding of fractional value ? Give an example with output of the same. What is the difference between infinite loop and fall through statement? Use code segment as an example to show the differences. Write the a java statement using conditional operator to find out largest of three numbers? Write the syntax of while loop and do..while loop and show one similarity and one difference. Explain the statement Java is compiled and both interpreted language. What do you understand by parameterized constructor? Give an example. Explain the following term: i) static keyword ii) Escape Sequences Write the equivalent Java expression for the following:i) d) e) 2 l g ii) y = 2(lb + bh + lh) / 3 [2] [2] [2] [2] [2] [2] [2] [2] What is the differences between array initialization and array declaration ? [2] What do you mean by precedence of operators? Arrange the following operators given below in order of higher precedence to lower precedence:i) + + ii) ( ) iii) < = iv) [ ] [2] KCH/X/SELECTION 1 TURN OVER Question 3: a) b) c) d) e) f) g) h) i) Write the output for the following String functions: i) String st = Moral Science .substring(3,10); ii) Boolean b = HISTORY .equalIgnoreCase( history ); What is the differences between = = and equalIgnoreCase ( )? Give one example of each with output ? What is function overloading and constructor overloading? In the following statements assume a = 50, b =10 and c =20. The statement is c + = (a > 0 && a< = 10) ? + + a : a / b; What is the value of c ? Show the steps. State any 2 IO Exception classes ? Identify the package name from the following keywords/ method:i) InputStreamReader ii) Scanner iii) ceil iv) rint Differentiate between pure function and impure function. Write one example each for logical error and syntax error and explain it. Rewrite the following code segment in for loop:int y = 55; while (y > 0) { x = y%10; S = S+ (x*10); y = y / 10; } [2] [2] [2] [3] [2] [2] [2] [3] [2] SECTION B (60 Marks) Attempt any 4 questions from this section. The answers in this section should consists of the Programs in either Blue J environment or any program environment with Java as the base. Each programs should be written using Variable description / Mnemonics codes such that the logic of programs can be clearly depicted. Flowchart and Algorithm are not required. Question 4: Write a menu driven program to perform the following operations: i) To input a number from the user and check whether it is NEON number. ii) To input a number from the user and check whether the number is an AUTOMORPHIC number. Hint i: A number is NEON if sum of all digits of the square of the number is equal to the number itself. Example: 9 is a NEON number. Square of 9 = 81. Extracting 81 we get 8 and 1. Sum up the number (8+1 = 9). Hint ii: An automorphic number is a number that contained in the last digit of its square. example of automorphic number is 5 as square of 5 is 25 and 25 is a automorphic number as square of 25 is 625. Print the appropriate message if the choice is improper. [15] KCH/X/SELECTION 2 TURN OVER Question 5: Write a Java Program to enter a string from the user and perform the following operations: i) Convert all the vowels into Uppercase. ii) Convert all the consonants into lowercase. iii) Count the frequency of all the vowels present in the string. iv) Count the frequency of all the consonants present in the string. [15] Question 6: Define a class named Bikebill with the following description: Instance variables/ data members: int bno to store the bike s number int phn to store phone number of the customer String name to store the name of the customer int days to store number of days for which bike is taken for rent. int charge to calculate and store the rental charge Member methods: void input ( ) to store entire details of customer and bike. void compute ( ) to calculate the bike rent. void display ( ) display the details in the following manner NAME: XXXXX BIKE NO: XXXXX PHONE NO: XXXXXXX NO.OF DAYS: XXX TOTAL CHARGE: XXXXXX The total rent should be calculated upon following conditions mentioned below:For first 5 days 6 15 days above 15 days - 500 per day 400 per day 100 per day [15] Question 7: Write a java program to create an array which can store maximum of 20 values in the array variable. Insert the numbers from the user in an unsorted order. Perform selection sort operations to arrange all the numbers in descending order and print the sorted array. Print all those numbers in an array which are divisible by 7. Also print those numbers separately which are non divisible by 7. Example: Inserted array {2,5,9,1,7,14,21,63,54,55,58} Sorted array {1,2,5,7,9,14,21,54,55,58,63} No.divisible by 7 := 7,14,21,63 No non divisible by 7 = 1,2,5,9,54,55,58 [15] KCH/X/SELECTION 3 TURN OVER Question 9: Design a class to overload a function Sum( ) as follows: i) int Sum(int a, int b) with two integer arguments calculate all the sum of even numbers between a and b and return to the main function. ii) double Sum(double N) Calculate the product of series and return to the main function. 1.0 x 1.2 x 1.4 x 1.6 x ..x1.(N+2) [15] Question 10: Write a program using if else statement to print the following series or pattern mentioned below:if choice is 1 : Print the sum of series 16x1 + 15x2 + 14x3 .. + 1x16 If choice is 2: print the pattern ********** ********* ******** ******* ****** ***** **** *** ** * if the choice is other than 1 or 2 please print an appropriate meassage and exit the program. KCH/X/SELECTION 4 [15] END

Formatting page ...

Related ResPapers
ICSE Class X Prelims 2025 : Computer Applications (Krishnagar Academy, Nadia)
by iamtanmoy 
ICSE Class X Prelims 2025 : Computer Applications (Sri Sri Academy (SSA), Kolkata)
by priyansh08 
ICSE Class X Prelims 2025 : Computer Applications (St. Augustine's Day School, Kolkata)
by ankushkum 
ICSE Class X Prelims 2025 : Computer Applications
by gogol1 

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Ashish Mathew

(36)

Aquaman- King o...

(34)

Rg

(32)

Shreyansh Jaiswal

(8)

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 


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

 

rudra1991 chat