ICSE Guess > ICSE Papers > Important Questions > Class X > Computer Application > Computer Application By Mr. Arun Senapati ICSE Computer Application Class X Important Papers By Mr. Arun Senapati
Q. 1. Multiple choice: (5) (a) A program of java that can be executed from any remote machine is called:
(b) Find which one is not a character literal.
(c) Which of the following return type does a constructor have:
(d) The arguments of the function given in the function definition are called:
(e) The address of a memory location which can store a value and which may change during the program execution is known as:
Q. 2. Fill in the blanks: (5)
Q. 3. State True/False: (5)
Q. 4. Write the output: (5) (a) b) public class test public class result Q. 5.Explain the following with example. (2 x 5)
Q. 6. Answer the following.(2 x 2)
Q. 7. Differentiate between. (2 x 3)
Section – B (The answers of this section should consist of the Program in Blue J environment with Java. Each program should be written using Variable description / Mnemonic Codes such that the logic of the program is clearly depicted.) Q. 8. Write a java class to calculate the income tax by taking monthly salary of an employee based on the following conditions: (15) Annual income(Rs) Tax Upto 130000 No tax Between 130000 – 200000 15% of the amount exceeding over Rs.130000 From 200000 – 250000 Rs. 5000 + 20% of the amount exceeding over Rs. 2000000 Above 250000 30% of the amount exceeding Rs.250000 Q. 9. Write a java class to calculate and print the electricity bill to be paid by a customer. (15) Assume that the customer pays a rent of Rs. 250.00 . No. of units Charge per unit Upto 100 units Rs. 1.50 For the next 100 units Rs. 2.00 For next 50 units Rs. 2.50 Beyond 250 units Rs. 4.00 Q. 10. A ball is dropped from a certain height ( h ) and each time it bounces 0.8 % less than the previous height. The ball is at rest when the height is 0.2 cm. Write a java class using a call by value method drop ( ) to print the number of bounces occurred. (15) Q. 11. Write a class with a special member function to input a multi digit number ( max. 9 digit) and print the following: (15)
Q. 12. Write a class to print the value of ‘ n ’ by accepting ‘ p ’ as a single digit integer. (15) n = p + p2 + p3 + p4 + …… pn Q. 13. Write a class to generate the following series using a special member function. (15) 1 This Paper is divide 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) Q. 1. Multiple choice: [6] (i) The smallest element of a program that is meaningful to the compiler:
(ii) When an expression contains more than one operator then their execution is based on their:
(iii) The string class provides function to convert other objects to string objects:
(iv) The variable which is declared inside a class is :
(v) Find the odd one out :
(vi) Comments can be written
Q. 2. Fill in the blanks: [6]
Q. 3 Write the output [2 * 4 = 8 ] (i) public class test_1 ii) public class test_2 Q. 4. Answer the following:
Q. 5. Differentiate etween:
Section – B (Attempt any four questions from this section. The answers in this section should consist of the program in Blue J environment with java. Each program should be written using Variable description / Mnemonic codes such that the logic of the program is clearly depicted. Flow-charts and Algorithms are not required.) Q. 6. Digital World announces seasonal discount on the laptops in the given order. [15] Cost of the laptop Discount An additional discount of 5% on all types of laptops is given. Sales tax is calculated at 12% on the price after the discounts. Define a class to accept the cost of the laptop and print the amount payable by the customer on purchase ( use constructor).(2) Q. 7. Write a class to accept a number and check whether it is a Prime-palindrome number or Armstrong number based on user’s choice. Prime-palindrome number - a number is a prime no. and palindrome no. Eg. 101 Armstrong number - Sum of the cubes of the digits = number Eg. 153[15] Q. 8. Write a class to enter a proverbial statement and display the frequency of each alphabet presentin it. [15] Q. 9. Write a class to accept a multi digit no.(max. 8 digits) and do the following: [15]
Q. 10. Write a class to input a string (combination of letters and digits) and replace the repeated characters with dollar ($) sign. Then display both old and newly created string. [15]
|
About Us - Guest Book - Education Forum - Contact Us - Help - Links - Advertise With Us - Terms of Service - Privacy Policy
© 2003-2012, ICSEGuess.com |