Trending ▼   ResFinder  

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

4 pages, 29 questions, 28 questions with responses, 47 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 and 1 more

Formatting page ...

ICSE Java - Complete Reference PRE BOARD II 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) Explain how Java is independent to any platform. [2] b) What are primitive data types? Give one example. [2] c) What is method overloading? Which concept of OOP is this? [2] d) Say whether the following are primitive/composite data types. [2] (i) class (ii) double (iii) array (iii) boolean e) Rewrite the following java statements using ternary operator [2] int x; String Str; if (x > 99999) Str = "Weldone!"; else Str = "Try more"; Question 2: a) What is type casting? [2] ICSE Java - Complete Reference b) Write the out put of the following : [2] (a) x = Math.sqrt(Math.ceil(Math.abs(-48.1))); (b) "ICSE".compareTo("examination"); c) Is constructor needed to be called using calling statement? Give the reason. [2] d) Which loop you will prefer if number of iterations are not known. Give an example. [2] e) What are the default values of the following data type. [2] (i) char (ii) double Question 3: a) Give the output of the following Java snippet. [2] int N = 173; do { N -=30; System.out.println(N); if (N % 100 !=0) break; } while(N > 50); b) Consider the following array and mention type of searching you would prefer to search [2] an element from it. Give the reason for your answer. arr [] = {-4, -2, 0, 5, 8, 25, 49, 57, 88, 96, 102}; c) Convert the following into for loop: [2] double S = 1.9; int N =0; while (S>5) { S = S - 0.02; N++; } d) What do you call if no access specifier is used in a method. What will be the scope of it? [2] e) What are jump statements? [2] f) Give one advantage and one disadvantage of arrays. [2] g) Write the output of the following java code: [4] (i) String Str1 = "Winchester"; String Str2 = Str1.substring (0,3); String Str3 = Str2.toUpperCase(); String Str4 = Str1.substring (7); String Str5 = Str4.toUpperCase(); System.out.println(Str3.concat(Str5)); ICSE Java - Complete Reference (ii) String Arr [] = {"New Year", "Clock","Time","Watch","Stop Watch"}; System.out.println(Arr[Arr.length-1].substring(Arr.length).equals(Arr[Arr.length-2])); h) (i) Give the output for following if X = 7 and Y = 11; System.out.println( x != y : + (x != y)); System.out.println( x == y: + (x == y)); [4] 3 (ii) Write java statement: 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: Define a class salary described below: Data members: [15] Name to store the name of the employee ENo to store the employee ID number Dept to store the department of the employee Exp to store the number of years of experience of employee sal to store the current salary of the employee Member methods: To accept details of employee To increament salary as given below experience increment in percentage below 5 years 10% 5 to 9 years 15% 10 to 19 years 20% 20 and above years 20% + bonus of 2000 To print the details of employee with old salary and new incremented salary. Write a main method to create objects of the class and call the member methods. ICSE Java - Complete Reference Question 5: Write a menu driven program to the following tasks given. (i) to print the LCM of user given numbers (ii) to print the HCF of user given numbers Appropriate message should be displayed when choice given by the user is incorrect. [15] Question 6: Write a java program to check the entered word is special word. Special word is a word when first character of the word is removed and added at last and reversed it becomes the same word. (Example: banana when first letter is removed and added at last it become ananab and after reversing it, it becomes the original word) [15] Question 7: 1! 3! 5! 7! 8! Write a Java program to print the sum of series 2 2 + 2 2 + 2 . up to n terms where x and n are input by the user. Question 8: Write a program to create an array of 10 Names and print the longest name with number of characters present in that name. [15] Question 9: Write a Java program to accept a string from keyboard, count and print the number vowels and consonants present in it. [15]

Formatting page ...

Related ResPapers
ICSE Class X Prelims 2025 : Computer Applications (M. P. Birla Foundation Higher Secondary School (MPBFHSS), Kolkata)
by dimpy97 
ICSE Class X Prelims 2025 : Computer Applications (St. Xaviers Institution (SXI), Panihati, Kolkata)
by soma2295 
ICSE Class X Prelims 2025 : Computer Applications (Smt. Lilavatibai Podar High School (LPHS), Mumbai)
by tannystudiez 
ICSE Class X Prelims 2025 : Computer Applications (GS Shetty International School (GSSIS), Mumbai)
by venisha211 

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Trisha

(17)

Chandrachud Gowda

(15)

Megan Sequeira

(13)

Pepsi Pepsi

(8)

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 


Tags : https://www.youtube.com/channel/UCU0H4Rz53fG0Z2-7XiU9V_Q/videos  


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

 

jegajeevan chat