Trending ▼   ResFinder  

ICSE Prelims 2016 : (Julien Day School (JDS), Hooghly, Howrah)

2 pages, 19 questions, 0 questions with responses, 0 total responses,    0    0
Ashok Bairagi
Calcutta University (CU), Kolkata
B.Sc Biology
+Fave Message
 Home > ashokbairagi >   F Also featured on: School Page

Formatting page ...

Answers to this Paper must be written on the paper provided separately. You will not be allowed to write during the first 15 minutes. This time is to spent in reading the question paper. The time given at the head of this Paper is the time allowed for writing the answers. This Paper is divided into two Sections. Attempt all questions from Section A and any four questions from Section B. The intended marks for questions or parts of questions are given in brackets [ ] SECTION A ( 40 Marks ) Attempt all questions Question 1 a) Write an equivalent java expression :- area = (s(s a)(s b)(s c) Question 2 Question 3 (a) What does the following statement mean? Car Honda = new Car(); (b) Arrange the following primitives data type in ascending order of is memory size. int, double, char, Boolean (c) Define (i) Class (ii) Polymorphism (d) Mention any four OOPs principles. Question 4 [2] [2] [2] [2] [2] (a) (b) (c) (d) What are reserve words? Mention two reserve words used to create iterations. What are objects? Why class is called as Object factory. What the difference between coercion and type casting. Differentiate between binary operator and ternary operators. [2] [2] [2] [2] Question 5 (a) Rewrite the following using a ternary operator If(a > b) x = a ; else if( b > a ) x = b ; else x = c ; [2] (b) (c) (d) What is the difference between if else and switch-case? What is entry control-loop? Write a program segment to show the use of entry control loop. What is the speciality of JVM? SECTION B ( 60 Marks ) [2] [2] [2] Attempt any four questions from this Section. The answers 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 descriptions / Mnemonic Codes so that the logic of the program is clearly depicted. Flow-Charts and Algorithms are not required. Question 6 Write a Java program to calculate the time period of a Simple Pendulum by taking length and acceleration due to gravity (g) as inputs. The formula for time period of a Simple Interest is T=2 l g , [ = 3.142] [15] Question 7 Mr. Sajal Guha wants to deposit certain sum of money under Term Deposit scheme in Syndicate Bank. The bank has provided the tariff of the scheme, which is given below: Number of Days Rate of Interest Up to 180 days 5.5% 181 364 days 7.5% Exact 365 days 8.5% More than 365 days 9.0% Write a program to calculate the maturity amount taking the sum and number of days as inputs. [15] Question 8 Write a program to input a number and check whether it is an Armstrong number or not. [15] Question 9 Write a menu-driven program using switch-case to a) input two numbers and check whether the numbers are twin-prime or not. Display a suitable message. b) Input three numbers and check whether they are equal or not. If they are unequal then print the second largest number. [15] Question 10 Write a program to print the given pattern: [15] 12345 2345 345 45 5 Question 11 Write a menu driven program : a) To print the series : 0, 3, 8, 15, 24, up to n terms. b)To a a a find sum of the series : S = 1 +3 +5 + to n [15] 2 4 6

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 

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

 

ashokbairagi chat