ICSE Practice test 4 class X : Top Questions
ICSE Practice test 4 Class 10: ICSE Class 10 Computer Applications practice test with important questions to revise before the computer exam.
Watch Java videos
In this ICSE practice test all the topics of java for ICSE computer application has been covered.
ICSE Practice test
Question 1
1. Explain the term type casting with its types. [2]
2. Define identifier with example; mention 2 naming rules for identifier?[2]
3. What is default constructor, and parameterized constructor? [2]
4. Differentiate between constructor and method [2]
5. Identify (class name, object name, constructor and parameters from the following)
Calculator op=new Calculator(10,20); [2]
PART II (15 marks)
Question 2 [15]
Define a class student having the following description
Data members
String name-> to store name
Int roll-> to store roll no.
Int p,c,b-> to store physics, chemistry ,bio marks
Double s-> to store percentage of science marks
Member function
void Input()-> to input details of student
void Calculate()-> to calculate percentage science & marks,
void Display()-> to display name,rollno,percentage having message that the student is a ranker if the percentage is >80
Question 3 [15]
A cloth show room has announced the following festival discounts on purchase of items, based in the total cost of items purchased
Purchase Discount%
Between Rs.2001 & 5000 25%
Between Rs.5001 & 10000 35%
Above Rs.10001 50%
Write a program to input total purchase, compute and display the amount to be paid after availing discount. (use any type of user define function)
ICSE Practice test
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.