Hi, Guest [ Already a member ? Login ]    [ New User Registration! ]
Thursday 09th February 2012
CBSE | IGNOU | NIOS | Find Friends
ICSE Tutor Links
  Submit Your Paper

ICSE Papers

ICSE Guess > ICSE Papers > Important Questions > Class X > 2009 > Computer Application > Computer Application By :- Mrs. Deepali Bakshi

Question 1.

  1. What is significance of abstraction in class. Explain with example. (4)
  2. What is main method ? What is its role in java program?. (3)
  3. What is Local and global variables in Java?. (3)

Question 2.

  1. Differentiate between Operator and expression0. (4)
  2. Define bytecode (2)
  3. Evaluate Math.ceil(7.8)+Math.round(6.3); (1)

Question 3.

  1. What is BufferedReader. (2)
  2. Write a syntax of nested if-else. (1)
  3. Explain the concept of wrapper class in Java.(5)
  4. What is difference between binary search and Linear search. (2)

Question 4.

  1. Distinguish break and continue statements with example. (4)
  2. What is prototype of a method ? Explain.(2)
  3. Explain exception class.(2)
  4. Define constructor and ‘static’ keyword.(2)

SECTION B [60 Marks]

Answer any FOUR questions in this section. Each program should be written in such a way that it clearly depicts the logic of the problem. This should be achieved by using mnemonics and comments in the program. Give the variable list used in the program. Flowcharts and algorithms not required.

Question 5.

  1. Primorial(p#) is defined to be a product of prime numbers less than or equal to p. (15)

For eg. 3# =2*3=6 5# =2*3*5=30 Design a class primo_numb with two methods

  1. to check whether entered number is prime number or not
  2. to print the primorial of that number.

Question 6:

(a) Write a program to print following pattern (8)
        1

        0 1

        1 0 1

        0 1 0 ….. n

(b) Write a program to enter a string and print the first character of that string at last.

For eg. “deep”    ->eepd
                    “b”-> b
                   “dv”->vd (7)

Question 7.

(a) The single dimensional arrays A and B are sorted in ascending order. Create an array C to combine them into a descending order.(10)

(b) Declare a class shop with following data members. (7)

  1. Name of the item                          ND
  2. item number                                 ITNo
  3. Balance Amount                           Bal_Amt
  4. Type of item                                TIT

Initialize all the data members.

Question 8.

  1. Write a class to enter three numbers in a function numb( ). And print the numbers entered if it is possible that the addition of any two numbers give third number.(8)

    For eg. numb(3,4,7) -> here 3+4=7
                numb(8,5,3) -> 5+3=8
                numb(8,10,2) -> 8+2=10

  2. Enter two arrays of characters named Arr1 & Arr2, in alphabetical order. Print  the count of the number of characters which appear in both arrays.
    Arr1 {"a", "c", "x"}
    Arr2 {"b", "c", "d", "x"})      → Prints 2 (7)

 

About Us - Guest Book - Education Forum - Contact Us - Help - Links - Advertise With Us - Terms of Service - Privacy Policy

© 2003-2012, ICSEGuess.com

Developed By Dreamzsop