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 :- Mr. Jaideep Mahalik

Write a program in java displaying the following structure

 Q. 1.     1
  //      1 0 1
  //    1 0 1 0 1
  //  1 0 1 0 1 0 1
  //    1 0 1 0 1
  //      1 0 1
  //        1

Q. 2.     1
         1 1 1
       1 1 1 1 1
         1 1 1
           1

Q. 3. /displaying the following structure
  //       A
  //     B C D
  //   E F G H I
  // J K L M N O P

Q. 4. //displaying the following structure
  //        A
  //      A B C
  //    A B C D E
  //  A B C D E F G

Q. 5. //displaying the following structure
//               a b c d e d c b a
//               a b c d   d c b a
//               a b c       c b a
//               a b            b a
//               a                  a

Q. 6.
// M
// MA
// MAD
// MADA
// MADAM

Q. 7. MADAM
     MADA
     MAD
     MA
     M

Q. 8. MADAM
           ADAM
             DAM
                AM
                  M

Q. 9. Wtite a program in Java to input a sentence and find out how many letters are starting with vowels.

Q. 10. Write a program in java to input a sentence and find out how many palindromes are there in the sentence.

Q. 11. Write a program in java to input a sentence and find out total number of blank spaces and words.

Q. 12. Write a program in java to input a sentence and find out the smallest word along with its position.

Q. 13. Write a program in java to input a sentence and convert all uppercase letters to lowercase and viceversa.

Q. 14. Write a program in java to input a sentence and find out the sum of the ASCII values of the characters.

Q. 15. Write a program in java to input a sentence and reverse each word of the sentence.

Ex, I like School.
       I ekil loohcS
       School like I.

Q. 16. Write a program in java to input a sentence replace all vowels with “*” and all consonants with “@”.

Q. 17. Write a program in java to input a sentence display how many times a particular character appear in a string.

Q. 18. Write a program in java to input a word and check whether it is Pig Latin or not.

Q. 19. Write a program in java to input a sentence and delete a particular word .

Q. 20. Write a program in java to input a sentence and add a particular word as specified by the user.

 

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