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
Sum of First n Natural Numbers in Java (Loop and Formula)
Find the sum of the first n natural numbers in Java with a for loop, a while loop and the formula n(n + 1)/2, with a dry run and the sums of even numbers, odd numbers, squares and cubes.
Prime Number Program in Java: Check a Number and Print Primes in a Range
Check whether a number is prime in Java by counting its factors, a faster square-root method with isPrime(), and a program that prints all prime numbers in a range.

Encapsulation, Access Specifiers and Scope of Variables in Java for ICSE Class 10
ICSE Class 10 Computer Applications notes on encapsulation: private, default, protected and public access, data hiding with getter and setter methods, instance vs static (class) variables, local variables and scope, with a solved BankAccount program.