ICSE Practice test 1 class X : Top Questions
Attempt any two programs out of three1. write a menu driven program which accepts (*,/,+,-) and does mathematical operation on the operands entered by the user[use switch case] [15]
Watch Java videos
In this ICSE practice test all the topics of java for ICSE computer application has been covered.
Attempt any two programs out of three
1. write a menu driven program which accepts (*,/,+,-) and does mathematical operation on the operands entered by the user[use switch case] [15]
2. Write a program to accept the full name of a person and print his initials followed by his surname
e.g. input: Mohandas Karamchand Gandhi
output: M.K.Gandhi [15]
3. Write a program to accept a sentence and print the largest word from it
e.g. input SNV international school
output: international [15]
String Handling
Related Posts
Continue learning with these related articles

String Methods in Java for ICSE Class 10: 25 Output Questions with Answers
ICSE Class 10 Computer Applications practice on String class methods: length, charAt, indexOf, lastIndexOf, substring, replace, trim, compareTo, equals and more, with 25 board-style output questions and step-by-step answers.

Special Number Programs in Java for ICSE: Armstrong, Spy, Neon, Disarium, Pronic and More
Every special number asked in ICSE Computer Applications – prime, perfect, Armstrong, palindrome, automorphic, neon, spy, Niven, duck, buzz, Disarium, special and pronic numbers – with definitions, examples and one complete Java program that checks them all.

Math Library Methods in Java for ICSE Class 9 (with Outputs)
ICSE Class 9 Computer Applications notes on the Java Math class: sqrt, cbrt, pow, abs, max, min, ceil, floor, round, rint and random, with return types, tricky negative-number outputs and Java expressions for formulas.