Trending ▼   ResFinder  

ICSE predic ppr2016 : Computer Applications (Professor Charles Francis Xavier Collage, New York)

4 pages, 25 questions, 17 questions with responses, 20 total responses,    0    0
Skaar
Professor Charles Francis Xavier Collage, New York
DEGREE OF DESTROY(DOD)
+Fave Message
 Home > sportysags >   F Also featured on: School Page

Formatting page ...

Computer Application/ Paper 3/Page 1 of 4 Computer Applications (2 hours) GRADE: X Max Marks: 100 Revision Paper 3 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 be spent in reading the Question Paper. The time given at the head of this Paper is the time allowed for writing the answers. ____________________________________________________________ SECTION A (40 Marks) Attempt all questions Q. 1. 1. What is the difference between Formal Parameters and Actual Parameters? 2. Why is Class known as an Object Factory? 3. State any two types of Java programs. 4. What is Byte Code? 5. Explain Encapsulation and Polymorphism. [10] Q. 2. [10] 1. What will be the output when a. value=125 b. value=200 int value, sum, n=50; sum=n-(value>150?500:1000); System.out.println(sum); 2. What do you mean by type conversion? How is implicit conversion different from explicit conversion? 3. If a = 55, find a= a++ - ++a 4. If x= 12, y=15 find the value of x, x*=++x/6 + y++ %3 5. Write the Java Expression for the following S=UT + AT2 Q. 3. Give the output of the following 1. int arr[]= {10,1,20,2,30,3}; System.out.println(arr[2] + arr.length-1); 2. boolean p = ( BLUEJ .length()> bluej .length() ? true:false); This paper consists of 4 printed sides. [20] Computer Application/ Paper 3/Page 2 of 4 System.out.println(p); 3. char ch= Z int p=30; int q= ch -30; System.out.println(q); 4. String str= RK International School ; a. System.out.println(str.length() + str.substring(0,6)); b. System.out.println(str.substring(8)); c. System.out.println(str.endsWith("ooL")); d. System.out.println(str.startsWith("INDIA".toLowerCase())); 5. String s1= Try , s2= Trying , s3= trial ; a. System.out.println(s1.equals(s2)); b. System.out.println(s2.compareTo(s1)); c. System.out.println(s1.compareTo(s2)); d. System.out.println(s2.compareToIgnoreCase(s1)); e. System.out.println(s3.compareToIgnoreCase(s2)); f. System.out.println(10 + "Ten" + 20 + 30); g. System.out.println((10 +5) + "Ten" + (20 + 30)); h. System.out.println(10 * 5 + "Ten" + 20 / 30); 6. class Mobile { String brandName, type; Mobile(String b, String t) { brandName=b; type=t; } public static void main() { Mobile objMobile = new Mobile( ABC , GSM ); }} a. Name the data members of the class. b. What is the role of new keyword? c. Name actual and formal parameters of the above program. d. Name the object of Mobile class. This paper consists of 4 printed sides. Computer Application/ Paper 3/Page 3 of 4 SECTION B (60 Marks) Attempt any four questions from this Section. The answers in this Section should consist of the Programs in either BlueJ environment or any program environment with Java as the base. Each program should be written using Variable descriptions/Mnemonic Codes such that the logic of the program is clearly depicted. Flow-Charts and Algorithms are not required. -----------------------------------------------------------------------------------------------------------Q. 4. Define a class Factorial having the following specifications: Class name : Factorial Data Members : int num, fact; Member Functions: void input() : to accept the value of num void display(): to display num and factorial value void calculate(): to calculate factorial of num and store it in fact Create main function to define the object and execute the functions Q. 5. Define a class Telephone having the following specifications: Class name : Telephone Data Members : int previous, present : to store previous and present meter reading int calls : to store the number of calls (present-previous) String name: to store name of the consumer double amt : to store the amount double total: to store the total amount to be paid Member Functions: void input() : to accept previous, present meter readings and name void display(): to display name, calls made and total amount void calculate(): to calculate amount and total amount to be paid Write a program to compute monthly bill to be paid according to the given conditions This paper consists of 4 printed sides. Computer Application/ Paper 3/Page 4 of 4 No. of Calls Upto 100 calls For the next 100 calls For the next 200 calls For the next 400 calls Rate No Charge 90 paise per call 80 paise per call 70 paise per call Q. 6. Write a class with the name volume, use function overloading to compute the volume of a cube, a sphere and a cuboid Formula Volume of a cube = s*s*s Volume of a sphere = 4/3*3.142 *r*r*r Volume of a cuboid = l*b*h Data members: void volume(int s) void volume(float r) void volume(int l, int b, int h) Q. 7. Write a program to accept 10 names of Cricketers in a string array and sort it in descending order using selection sort technique. Q. 8. Write a program to input a string and display the frequency of vowels of each word present in the string. Eg: mastering computer applications Output: No. of vowels present in mastering are: 3 No. of vowels present in computer are: 3 No. of vowels present in applications are: 5 Q. 9. Write a program to enter a number and check whether the number is Neon number. A number is said to be a neon number if sum of digits of square of a number is equal to number itself. Eg: num=9 9*9 = 81, 8+1=9 Output : 9 is a Neon number This paper consists of 4 printed sides.

Formatting page ...

Related ResPapers
ICSE Class X Prelims 2025 : Computer Applications (Krishnagar Academy, Nadia)
by iamtanmoy 
ICSE Class X Prelims 2025 : Computer Applications (La Martiniere for Boys (LMB), Kolkata)
by debadrita68 
ICSE Class X Prelims 2025 : Computer Applications (Sri Sri Academy (SSA), Kolkata)
by priyansh08 
ICSE Class X Prelims 2025 : Computer Applications
by donaldduck89 

Formatting page ...

Top Contributors
to this ResPaper
(answers/comments)


Vaidehi Mishra

(13)

Ashita Khandelwal

(8)

Subra

(2)

Skaar

(2)

Formatting page ...

 

  Print intermediate debugging step

Show debugging info


 

 


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

 

sportysags chat