Trending ▼   ResFinder  

ICSE Class X Prelims 2019 : Computer Applications (Akash International School (AIS), Bangalore)

5 pages, 34 questions, 29 questions with responses, 60 total responses,    2    0
jegajeevan
Akash International School (AIS), Bangalore
8 to 10 Computer Applications
+Fave Message
 Home > jegajeevan >   F Also featured on: School Page icse

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

Formatting page ...

ICSE Java - Complete Reference PRE BOARD I EXAMINATION SUBJECT: Computer Applications Grade: X Date : Max. Marks: 100 Duration: 2 hour Answer 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 be spent in reading this 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. You are to answer 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) Answer all the questions Question 1: a) What is JVM? [2] b) What do you mean by composite data type? Give an example. [2] c) If the name of the constructor is cellphone, what would be the class name. Create an object for it. [2] d) Give two types of Java programs and state one use of each. [2] e) Write syntax for conditional operator and explain it. [2] Question 2: a) What is Coercion? Give an example. [2] b) Write a java statement for the following : [2] (a) 4+ 5 (b) To roundup the variable M then find its square root. c) Give two advantages of using methods. [2] d) Give one similarity and one difference for each of the following i) m++ and ++m ii) for loop and while loop [2] ICSE Java - Complete Reference e) Give two rules to declare a class. [2] Question 3: a) How many times does the following loop get executed. Give the output. [2] int X = 100; for (X = 45; X< 235; X +=30) { if (X % 100 !=0) continue; } System.out.println(X); b) What is an array? Write the syntax to create an array. [2] c) Convert the following into while loop: [2] short m = 1; for(int i = -5; i<=0; i++, m+=2) { System.out.println(m); } d) Consider the code given below and answer the questions: [2] public class brand { static String Channel; private void Tata (int Amt) { String C = "Sony Music"; }} i. Write the local variable(s). ii. What is the scope of the method? e) Convert the following into if else construct: [2] switch (c) case 1: System.out.println(Math.pow(2,2)); case 2: System.out.println(Math.sqrt(2)); default: System.out.println("Good Bye!"); f) Give the output data type of the following int I; char C; long L; double D; (i) I / C * D* - L (ii) D++ - L > C * I; [2] g) Write the output of the following java code: [4] ICSE Java - Complete Reference (i) String S = "ICSE Board"; System.out.println(S.substring("Preboard".compareToIgnoreCase("PreBoard"),5)); (ii) double Arr [] = {12.3, 23.4, 34.5}; int len = Arr.length; if (len < 5) { len = 5; System.out.println(Arr.length); } else System.out.println(len); h) If z = 10, find the value of the following expressions (i) (5 * ++z) % 3; (ii) d % 50; (iii) z-- / (-2); (iv) z *= 10% --z; [4] Section - B (60 Marks) 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. Answer any four questions Question 4: Write a java program to accept a sentence from keyboard and print it in reverse order [15] Question 5: Write a menu driven program to the following tasks given. (i) to print the Tribonacci series up to 10 terms . 5 10 15 20 (ii) to print the sum of series 2 + 4 + 6 + 8 + . up to n terms. [15] Appropriate message should be displayed when choice given by the user is incorrect. Question 6: Design a class overload with a methods having name area as follows: [15] ICSE Java - Complete Reference (i) Two double arguments which prints the total surface area cylinder 2 (r+h). Where = 22/7 (ii) Three double arguments which prints the area of a quadrilateral using the formula: d(h1+h2)/2. (iii) Three integer arguments which returns area of a trapezium using the formula: h (a+b) /2. Write a main method to call the above. Question 7: Write a program to accept a string. Convert the string to uppercase. Count and output the number of double letter sequences that exist in the string. [15] Sample Input: SHE WAS FEEDING THE LITTLE RABBIT WITH AN APPLE Sample Output: 4 Question 8: Design a class Entry_Cricket with following description: [15] Instance variables/data members String name long MNo int A int M int C int totalamt : : : : : : to store the name of the head person for the group to store Mobile number of the head person to store the number of persons above 12 years to store the number of persons lesser than 12 years but above 4 years to store the number of children below 5 years to store the amount to be paid after updating the original amount Member methods default constructor - to store default values of the data members. void accept () - To take the required input. void amount ()- To calculate the amount to be paid as given below above 12 years entry fee Rupees 200 person below 12 and above 4 entry fee Rupees 100 children below 5 years - No entry fee void display () - To display total number of persons, mobile number and amount to be paid. Write a main method to call the above member methods. Question 9: WAP to accept thirty names of the students and their average marks and display the congratulation message with the name of the student who scored highest average among them. [15] ICSE Java - Complete Reference

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Aquaman- King o...

(48)

Aditya Dungrani

(32)

Ansh Anand

(9)

Rg

(5)

Formatting page ...

Formatting page ...

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

Additional Info : Prelims I
Tags : https://www.youtube.com/channel/UCU0H4Rz53fG0Z2-7XiU9V_Q/videos, https://www.youtube.com/channel/UCU0H4Rz53fG0Z2-7XiU9V_Q/videos  

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

 

jegajeevan chat